digiKam
texturesettings.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-03-10
7  * Description : Texture settings view.
8  *
9  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2006-2010 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_TEXTURE_SETTINGS_H
26 #define DIGIKAM_TEXTURE_SETTINGS_H
27 
28 // Local includes
29 
30 #include <QWidget>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 #include "texturecontainer.h"
36 
37 class KConfigGroup;
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_EXPORT TextureSettings : public QWidget
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit TextureSettings(QWidget* const parent);
49  ~TextureSettings() override;
50 
51  TextureContainer defaultSettings() const;
52  void resetToDefault();
53 
54  TextureContainer settings() const;
55  void setSettings(const TextureContainer& settings);
56 
57  void readSettings(KConfigGroup& group);
58  void writeSettings(KConfigGroup& group);
59 
60 Q_SIGNALS:
61 
63 
64 private Q_SLOTS:
65 
66 private:
67 
68  class Private;
69  Private* const d;
70 };
71 
72 } // namespace Digikam
73 
74 #endif // DIGIKAM_TEXTURE_SETTINGS_H
Definition: texturecontainer.h:41
Definition: texturesettings.h:43
Definition: datefolderview.cpp:43