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 namespace GpgFrontend::UI {
35 
36 class AppearanceTab : public QWidget {
37  Q_OBJECT
38 
39  public:
45  explicit AppearanceTab(QWidget* parent = nullptr);
46 
51  void SetSettings();
52 
57  void ApplySettings();
58 
59  private:
60  QButtonGroup* icon_style_group_;
61  QRadioButton* icon_size_small_;
62  QRadioButton* icon_size_medium_;
63  QRadioButton* icon_size_large_;
64  QButtonGroup* icon_size_group_;
65  QRadioButton* icon_text_button_;
66  QRadioButton* icon_icons_button_;
67  QRadioButton* icon_all_button_;
68  QSpinBox* info_board_font_size_spin_;
69  QCheckBox* window_size_check_box_;
70 
71  signals:
72 
78  void signalRestartNeeded(bool needed);
79 };
80 
81 } // namespace GpgFrontend::UI
82 
83 #endif // GPGFRONTEND_SETTINGSAPPEARANCE_H
Definition: SettingsAppearance.h:36
void SetSettings()
Set the Settings object.
Definition: SettingsAppearance.cpp:116
AppearanceTab(QWidget *parent=nullptr)
Construct a new Appearance Tab object.
Definition: SettingsAppearance.cpp:36
void signalRestartNeeded(bool needed)
Definition: FileReadTask.cpp:31