SettingsAppearance.h
#ifndef GPGFRONTEND_SETTINGSAPPEARANCE_H
#define GPGFRONTEND_SETTINGSAPPEARANCE_H
#include "ui/GpgFrontendUI.h"
namespace GpgFrontend::UI {
class AppearanceTab : public QWidget {
Q_OBJECT
public:
explicit AppearanceTab(QWidget* parent = nullptr);
void SetSettings();
void ApplySettings();
private:
QButtonGroup* icon_style_group_;
QRadioButton* icon_size_small_;
QRadioButton* icon_size_medium_;
QRadioButton* icon_size_large_;
QButtonGroup* icon_size_group_;
QRadioButton* icon_text_button_;
QRadioButton* icon_icons_button_;
QRadioButton* icon_all_button_;
QSpinBox* info_board_font_size_spin_;
QCheckBox* window_size_check_box_;
signals:
void signalRestartNeeded(bool needed);
};
} // namespace GpgFrontend::UI
#endif // GPGFRONTEND_SETTINGSAPPEARANCE_H
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::AppearanceTab::SetSettings
void SetSettings()
Set the Settings object.
Definition: SettingsAppearance.cpp:116
GpgFrontend::UI::AppearanceTab
Definition: SettingsAppearance.h:36
GpgFrontend::UI::AppearanceTab::AppearanceTab
AppearanceTab(QWidget *parent=nullptr)
Construct a new Appearance Tab object.
Definition: SettingsAppearance.cpp:36
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
GpgFrontend::UI::AppearanceTab::signalRestartNeeded
void signalRestartNeeded(bool needed)