digiKam
Loading...
Searching...
No Matches
albumselectdialog.h
Go to the documentation of this file.
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-2024 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
28namespace Digikam
29{
30
31class PAlbum;
32
33class AlbumSelectDialog : public QDialog
34{
35 Q_OBJECT
36
37public:
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
44private Q_SLOTS:
45
46 void slotSelectionChanged();
47 void slotHelp();
48
49protected:
50
51 void showEvent(QShowEvent*) override;
52
53private:
54
55 class Private;
56 Private* const d = nullptr;
57};
58
59} // namespace Digikam
Definition albumselectdialog.h:34
static PAlbum * selectAlbum(QWidget *const parent, PAlbum *const albumToSelect, const QString &header=QString())
Definition albumselectdialog.cpp:153
~AlbumSelectDialog() override
Definition albumselectdialog.cpp:135
void showEvent(QShowEvent *) override
Definition albumselectdialog.cpp:182
Definition album.h:357
Definition datefolderview.cpp:34