20 #ifndef GUI_FONTCONFIG_H 21 #define GUI_FONTCONFIG_H 23 #include "Interfaces/PreferenceDialog/PreferenceWidget.h" 24 #include "Utils/Pimpl.h" 54 void default_clicked();
55 void combo_fonts_changed(
const QFont& font);
56 void skin_changed()
override;
59 QStringList get_available_font_sizes(
const QString& font_name,
const QString& style=QString());
60 QStringList get_available_font_sizes(
const QFont& font);
62 void fill_sizes(
const QStringList& sizes);
65 #endif // FONTCONFIG_H void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
QString action_name() const override
has to be implemented and should return the translated action text
Definition: GUI_FontConfig.h:31
void retranslate_ui() override
call the Qt retranslateUi method here
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:41
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there...