File indexing completed on 2025-01-05 03:56:43

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2006-02-08
0007  * Description : A tab to display import item information
0008  *
0009  * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_IMPORT_ITEM_PROPERTIES_TAB_H
0016 #define DIGIKAM_IMPORT_ITEM_PROPERTIES_TAB_H
0017 
0018 // Qt includes
0019 
0020 #include <QString>
0021 #include <QUrl>
0022 
0023 // Local includes
0024 
0025 #include "digikam_export.h"
0026 #include "dmetadata.h"
0027 #include "camiteminfo.h"
0028 #include "dexpanderbox.h"
0029 
0030 namespace Digikam
0031 {
0032 
0033 class ImportItemPropertiesTab : public DExpanderBox
0034 {
0035     Q_OBJECT
0036 
0037 public:
0038 
0039     explicit ImportItemPropertiesTab(QWidget* const parent);
0040     ~ImportItemPropertiesTab() override;
0041 
0042     void setCurrentItem(const CamItemInfo& itemInfo = CamItemInfo(),
0043                         DMetadata* const meta = nullptr);
0044 
0045 private:
0046 
0047     class Private;
0048     Private* const d;
0049 };
0050 
0051 } // namespace Digikam
0052 
0053 #endif // DIGIKAM_IMPORT_ITEM_PROPERTIES_TAB_H