swift
Public Types | Signals | Public Member Functions | List of all members
swift::gui::components::CSettingsFontComponent Class Reference

Font settings. More...

Inheritance diagram for swift::gui::components::CSettingsFontComponent:
[legend]

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.
 

Detailed Description

Font settings.

Definition at line 20 of file settingsfontcomponent.h.

Member Enumeration Documentation

◆ Mode

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.


The documentation for this class was generated from the following files: