swift
|
Font settings. More...
Public Types | |
enum | Mode { DirectUpdate , GenerateQssOnly } |
How to update. More... | |
Signals | |
void | accept () |
To be used with dialogs. | |
void | reject () |
To be used with dialogs. | |
Public Member Functions | |
CSettingsFontComponent (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CSettingsFontComponent () |
Destructor. | |
void | setMode (Mode m) |
Set mode. | |
const QString & | getQss () const |
Get the stylesheet. | |
void | setFont (const QFont &font) |
Set the current font. | |
QFont | getFont () const |
Get font selection. | |
QStringList | getFamilySizeStyle () const |
Strings such as. | |
void | setWithColorSelection (bool withColor) |
With color selection. | |
void | setStyleSheetDefaultColor () |
Set the default color from style sheet. | |
Font settings.
Definition at line 20 of file settingsfontcomponent.h.
How to update.
Enumerator | |
---|---|
DirectUpdate | directly updating a font qss file |
GenerateQssOnly | builds a qss style string |
Definition at line 26 of file settingsfontcomponent.h.