digiKam
setupalbumview.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 : 2003-02-01
7  * Description : album view configuration setup tab
8  *
9  * Copyright (C) 2003-2004 by Renchi Raju <renchi dot raju at gmail dot com>
10  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
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_SETUP_ALBUM_VIEW_H
26 #define DIGIKAM_SETUP_ALBUM_VIEW_H
27 
28 // Qt includes
29 
30 #include <QScrollArea>
31 
32 namespace Digikam
33 {
34 
35 class SetupAlbumView : public QScrollArea
36 {
37  Q_OBJECT
38 
39 public:
40 
41  enum AlbumTab
42  {
43  IconView = 0,
48  Category
49  };
50 
51 public:
52 
53  explicit SetupAlbumView(QWidget* const parent = nullptr);
54  ~SetupAlbumView() override;
55 
56  void applySettings();
57 
58  bool useLargeThumbsHasChanged() const;
59 
60 private:
61 
62  void readSettings();
63 
64 private Q_SLOTS:
65 
66  void slotUseLargeThumbsToggled(bool);
67 
68 private:
69 
70  class Private;
71  Private* const d;
72 };
73 
74 } // namespace Digikam
75 
76 #endif // DIGIKAM_SETUP_ALBUM_VIEW_H
Definition: setupalbumview.h:36
bool useLargeThumbsHasChanged() const
Definition: setupalbumview.cpp:499
SetupAlbumView(QWidget *const parent=nullptr)
Definition: setupalbumview.cpp:142
void applySettings()
Definition: setupalbumview.cpp:385
AlbumTab
Definition: setupalbumview.h:42
@ MimeType
Definition: setupalbumview.h:47
@ Preview
Definition: setupalbumview.h:45
@ Category
Definition: setupalbumview.h:48
@ FolderView
Definition: setupalbumview.h:44
@ IconView
Definition: setupalbumview.h:43
@ FullScreen
Definition: setupalbumview.h:46
~SetupAlbumView() override
Definition: setupalbumview.cpp:380
Definition: datefolderview.cpp:43