digiKam
setupcollections.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 : 2005-02-01
7  * Description : collections setup tab
8  *
9  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles 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_SETUP_COLLECTIONS_H
25 #define DIGIKAM_SETUP_COLLECTIONS_H
26 
27 // Qt includes
28 
29 #include <QScrollArea>
30 
31 // Local includes
32 
33 #include "digikam_export.h"
34 
35 namespace Digikam
36 {
37 
38 class DIGIKAM_GUI_EXPORT SetupCollections : public QScrollArea
39 {
40  Q_OBJECT
41 
42 public:
43 
45  {
46  Collections = 0,
47  IgnoreDirs
48  };
49 
50 public:
51 
52  explicit SetupCollections(QWidget* const parent = nullptr);
53  ~SetupCollections() override;
54 
55  void applySettings();
56 
57 private:
58 
59  void readSettings();
60 
61 private Q_SLOTS:
62 
63  void slotShowCurrentIgnoredDirectoriesSettings() const;
64 
65 private:
66 
67  class Private;
68  Private* const d;
69 };
70 
71 } // namespace Digikam
72 
73 #endif // DIGIKAM_SETUP_COLLECTIONS_H
Definition: setupcollections.h:39
CollectionsTab
Definition: setupcollections.h:45
Definition: datefolderview.cpp:43