GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
SettingsAppearance.h
1 
29 #ifndef GPGFRONTEND_SETTINGSAPPEARANCE_H
30 #define GPGFRONTEND_SETTINGSAPPEARANCE_H
31 
32 #include "ui/GpgFrontendUI.h"
33 
34 class Ui_AppearanceSettings;
35 
36 namespace GpgFrontend::UI {
37 
38 class AppearanceTab : public QWidget {
39  Q_OBJECT
40 
41  public:
47  explicit AppearanceTab(QWidget* parent = nullptr);
48 
53  void SetSettings();
54 
59  void ApplySettings();
60 
61  private:
62  std::shared_ptr<Ui_AppearanceSettings> ui_;
63 
64  QButtonGroup* icon_style_group_;
65  QButtonGroup* icon_size_group_;
66 
67  signals:
68 
74  void signalRestartNeeded(bool needed);
75 };
76 
77 } // namespace GpgFrontend::UI
78 
79 #endif // GPGFRONTEND_SETTINGSAPPEARANCE_H
Definition: SettingsAppearance.h:38
void SetSettings()
Set the Settings object.
Definition: SettingsAppearance.cpp:75
AppearanceTab(QWidget *parent=nullptr)
Construct a new Appearance Tab object.
Definition: SettingsAppearance.cpp:37
void signalRestartNeeded(bool needed)
Definition: FileReadTask.cpp:31