digiKam
showfotosetupmisc.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-04-02
7  * Description : setup Misc 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 SHOW_FOTO_SETUP_MISC_H
25 #define SHOW_FOTO_SETUP_MISC_H
26 
27 // Qt includes
28 
29 #include <QScrollArea>
30 
31 namespace ShowFoto
32 {
33 
34 class ShowfotoSetupMisc : public QScrollArea
35 {
36  Q_OBJECT
37 
38 public:
39 
40  enum SortOrder
41  {
45  };
46 
47  enum MiscTab
48  {
49  Behaviour = 0,
51  System
52  };
53 
54 public:
55 
56  explicit ShowfotoSetupMisc(QWidget* const parent = nullptr);
57  ~ShowfotoSetupMisc() override;
58 
59  bool checkSettings();
60  void applySettings();
61 
62 private:
63 
64  void readSettings();
65 
66 private:
67 
68  class Private;
69  Private* const d;
70 };
71 
72 } // namespace ShowFoto
73 
74 #endif // SHOW_FOTO_SETUP_MISC_H
Definition: showfotosetupmisc.h:35
void applySettings()
Definition: showfotosetupmisc.cpp:391
MiscTab
Definition: showfotosetupmisc.h:48
@ System
Definition: showfotosetupmisc.h:51
@ Appearance
Definition: showfotosetupmisc.h:50
@ Behaviour
Definition: showfotosetupmisc.h:49
~ShowfotoSetupMisc() override
Definition: showfotosetupmisc.cpp:334
ShowfotoSetupMisc(QWidget *const parent=nullptr)
Definition: showfotosetupmisc.cpp:122
SortOrder
Definition: showfotosetupmisc.h:41
@ SortByDate
Definition: showfotosetupmisc.h:42
@ SortByName
Definition: showfotosetupmisc.h:43
@ SortByFileSize
Definition: showfotosetupmisc.h:44
bool checkSettings()
Definition: showfotosetupmisc.cpp:339
Definition: showfotofolderviewbar.cpp:52