digiKam
setuptooltip.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 : 2006-07-09
7  * Description : item tool tip configuration setup tab
8  *
9  * Copyright (C) 2006-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_TOOLTIP_H
25 #define DIGIKAM_SETUP_TOOLTIP_H
26 
27 // Qt includes
28 
29 #include <QScrollArea>
30 
31 namespace Digikam
32 {
33 
34 class SetupToolTip : public QScrollArea
35 {
36  Q_OBJECT
37 
38 public:
39 
40  explicit SetupToolTip(QWidget* const parent = nullptr);
41  ~SetupToolTip() override;
42 
43  void applySettings();
44 
45 public Q_SLOTS:
46 
47  void slotUseFileMetadataChanged(bool);
48 
49 private Q_SLOTS:
50 
51  void slotImportToolTipsChanged();
52 
53 private:
54 
55  void readSettings();
56  void refreshCameraOptions();
57 
58 private:
59 
60  class Private;
61  Private* const d;
62 };
63 
64 } // namespace Digikam
65 
66 #endif // DIGIKAM_SETUP_TOOLTIP_H
Definition: setuptooltip.h:35
~SetupToolTip() override
Definition: setuptooltip.cpp:507
void slotUseFileMetadataChanged(bool)
Definition: setuptooltip.cpp:671
void applySettings()
Definition: setuptooltip.cpp:512
SetupToolTip(QWidget *const parent=nullptr)
Definition: setuptooltip.cpp:183
Definition: datefolderview.cpp:43