digiKam
itemselectionpropertiestab.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 : 2020-04-11
7  * Description : A tab to display information about the current selection.
8  *
9  * Copyright (C) 2020 by Kartik Ramesh <kartikx2000 at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H
25 #define DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H
26 
27 // Qt includes
28 
29 #include <QUrl>
30 
31 // Local includes
32 
33 #include "dexpanderbox.h"
34 #include "digikam_export.h"
35 
36 namespace Digikam
37 {
38 
39 class ItemInfoList;
40 
41 class DIGIKAM_EXPORT ItemSelectionPropertiesTab : public DExpanderBox
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit ItemSelectionPropertiesTab(QWidget* const parent);
48  ~ItemSelectionPropertiesTab() override;
49 
50  void setCurrentURL(const QUrl& url = QUrl());
51 
52  void setSelectionCount(const QString& str);
53  void setSelectionSize(const QString& str);
54  void setTotalCount(const QString& str);
55  void setTotalSize(const QString& str);
56 
57 private:
58 
59  class Private;
60  Private* const d;
61 };
62 
63 } // namespace Digikam
64 
65 #endif // DIGIKAM_ITEM_SELECTION_PROPERTIES_TAB_H
Definition: dexpanderbox.h:244
Definition: itemselectionpropertiestab.h:42
Definition: datefolderview.cpp:43