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