File indexing completed on 2025-01-19 03:53:52
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2008-07-11 0007 * Description : general info list dialog 0008 * 0009 * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * SPDX-FileCopyrightText: 2009 by Andi Clemens <andi dot clemens at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_INFO_DLG_H 0017 #define DIGIKAM_INFO_DLG_H 0018 0019 // Qt includes 0020 0021 #include <QWidget> 0022 #include <QTreeWidget> 0023 #include <QDialogButtonBox> 0024 #include <QTabWidget> 0025 #include <QDialog> 0026 0027 // Local includes 0028 0029 #include "digikam_export.h" 0030 0031 namespace Digikam 0032 { 0033 0034 class DIGIKAM_EXPORT InfoDlg : public QDialog 0035 { 0036 Q_OBJECT 0037 0038 public: 0039 0040 explicit InfoDlg(QWidget* const parent); 0041 ~InfoDlg(); 0042 0043 virtual void setInfoMap(const QMap<QString, QString>& list); 0044 0045 QTabWidget* tabView() const; 0046 QTreeWidget* listView() const; 0047 QWidget* mainWidget() const; 0048 QDialogButtonBox* buttonBox() const; 0049 0050 private Q_SLOTS: 0051 0052 virtual void slotHelp(); 0053 virtual void slotCopy2ClipBoard(); 0054 0055 private: 0056 0057 class Private; 0058 Private* const d; 0059 }; 0060 0061 } // namespace Digikam 0062 0063 #endif // DIGIKAM_INFO_DLG_H