Ref T369, font setting improvements

- color can be hidden
- access to QFont value/getter for family/style/size
- renaming
This commit is contained in:
Klaus Basan
2018-09-23 03:28:35 +02:00
parent 527f666d1f
commit 0bb56fedfb
5 changed files with 63 additions and 6 deletions

View File

@@ -47,7 +47,16 @@ namespace BlackGui
const QString &getQss() const { return m_qss; }
//! Set the current font
void setCurrentFont(const QFont &font);
void setFont(const QFont &font);
//! Get font selection
QFont getFont() const;
//! Strings such as
QStringList getFamilySizeStyle() const;
//! With color selection
void setWithColorSelection(bool withColor);
signals:
//! To be used with dialogs