File indexing completed on 2025-01-05 03:56:45
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2020-04-11 0007 * Description : A tab to display information about the current selection. 0008 * 0009 * SPDX-FileCopyrightText: 2020 by Kartik Ramesh <kartikx2000 at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H 0016 #define DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H 0017 0018 // Qt includes 0019 0020 #include <QUrl> 0021 0022 // Local includes 0023 0024 #include "dexpanderbox.h" 0025 #include "digikam_export.h" 0026 0027 namespace Digikam 0028 { 0029 0030 class ItemInfoList; 0031 0032 class DIGIKAM_EXPORT ItemSelectionPropertiesTab : public DExpanderBox 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 0038 explicit ItemSelectionPropertiesTab(QWidget* const parent); 0039 ~ItemSelectionPropertiesTab() override; 0040 0041 void setCurrentURL(const QUrl& url = QUrl()); 0042 0043 void setSelectionCount(const QString& str); 0044 void setSelectionSize(const QString& str); 0045 void setTotalCount(const QString& str); 0046 void setTotalSize(const QString& str); 0047 0048 private: 0049 0050 class Private; 0051 Private* const d; 0052 }; 0053 0054 } // namespace Digikam 0055 0056 #endif // DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H