digiKam
setupeditoriface.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 : 2004-08-03
7  * Description : setup Image Editor interface.
8  *
9  * Copyright (C) 2004-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_EDITOR_IFACE_H
25 #define DIGIKAM_SETUP_EDITOR_IFACE_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_EXPORT SetupEditorIface : public QScrollArea
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit SetupEditorIface(QWidget* const parent = nullptr);
45  ~SetupEditorIface() override;
46 
47  void applySettings();
48 
49 private Q_SLOTS:
50 
51  void slotThemeBackgroundColor(bool);
52  void slotExpoSettingsChanged();
53  void slotShowOverExpoHistogramGuide(double);
54  void slotShowUnderExpoHistogramGuide(double);
55 
56 private:
57 
58  void readSettings();
59 
60 private:
61 
62  class Private;
63  Private* const d;
64 };
65 
66 } // namespace Digikam
67 
68 #endif // DIGIKAM_SETUP_EDITOR_IFACE_H
Definition: setupeditoriface.h:39
Definition: datefolderview.cpp:43