Debian Codegraph @

core/libs/album/widgets/albumselectdialog.h

raw
1 /* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2005-06-16
7 * Description : a dialog to select a target album to download
8 * pictures from camera
9 *
10 * SPDX-FileCopyrightText: 2005 by Renchi Raju <renchi dot raju at gmail dot com>
11 * SPDX-FileCopyrightText: 2006-2026 by Gilles Caulier <caulier dot gilles at gmail dot com>
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 *
15 * ============================================================ */
16
17 #pragma once
18
19 // Qt includes
20
21 #include <QString>
22 #include <QDialog>
23
24 // Local includes
25
26 #include "searchtextbar.h"
27
28 namespace Digikam
29 {
30
31 class PAlbum;
32
33 class AlbumSelectDialog : public QDialog
34 {
35 Q_OBJECT
36
37 public:
38
39 explicit AlbumSelectDialog(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString());
40 ~AlbumSelectDialog() override;
41
42 static PAlbum* selectAlbum(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString());
43
44 private Q_SLOTS:
45
46 void slotSelectionChanged();
47 void slotHelp();
48
49 protected:
50
51 void showEvent(QShowEvent*) override;
52
53 private:
54
55 class Private;
56 Private* const d = nullptr;
57 };
58
59 } // namespace Digikam