digiKam
infodlg.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 : 2008-07-11
7  * Description : general info list dialog
8  *
9  * Copyright (C) 2008-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2009 by Andi Clemens <andi dot clemens at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_INFO_DLG_H
26 #define DIGIKAM_INFO_DLG_H
27 
28 // Qt includes
29 
30 #include <QWidget>
31 #include <QTreeWidget>
32 #include <QDialogButtonBox>
33 #include <QTabWidget>
34 #include <QDialog>
35 
36 // Local includes
37 
38 #include "digikam_export.h"
39 
40 namespace Digikam
41 {
42 
43 class DIGIKAM_EXPORT InfoDlg : public QDialog
44 {
45  Q_OBJECT
46 
47 public:
48 
49  explicit InfoDlg(QWidget* const parent);
50  ~InfoDlg();
51 
52  virtual void setInfoMap(const QMap<QString, QString>& list);
53 
54  QTabWidget* tabView() const;
55  QTreeWidget* listView() const;
56  QWidget* mainWidget() const;
57  QDialogButtonBox* buttonBox() const;
58 
59 private Q_SLOTS:
60 
61  void slotHelp();
62  virtual void slotCopy2ClipBoard();
63 
64 private:
65 
66  class Private;
67  Private* const d;
68 };
69 
70 } // namespace Digikam
71 
72 #endif // DIGIKAM_INFO_DLG_H
Definition: infodlg.h:44
Definition: datefolderview.cpp:43