6 #ifndef SWIFT_GUI_COMPONENTS_SETTINGSFONTCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_SETTINGSFONTCOMPONENT_H
13 class CSettingsFontComponent;
72 bool m_noColorDefault =
true;
77 void resetFontAndReject();
78 void clearQssAndResetFont();
79 void fontColorDialog();
CSettingsFontComponent(QWidget *parent=nullptr)
Constructor.
void reject()
To be used with dialogs.
void setFont(const QFont &font)
Set the current font.
const QString & getQss() const
Get the stylesheet.
void accept()
To be used with dialogs.
void setMode(Mode m)
Set mode.
void setWithColorSelection(bool withColor)
With color selection.
QStringList getFamilySizeStyle() const
Strings such as.
@ GenerateQssOnly
builds a qss style string
@ DirectUpdate
directly updating a font qss file
virtual ~CSettingsFontComponent()
Destructor.
QFont getFont() const
Get font selection.
void setStyleSheetDefaultColor()
Set the default color from style sheet.
High level reusable GUI components.
QObject * parent() const const