Ref T30, font menu class

* font dialog
* shortcuts CTRL+/- to increase/decrease font size
This commit is contained in:
Klaus Basan
2017-07-05 02:40:10 +02:00
committed by Mathew Sutcliffe
parent be3c8b0bdd
commit 3c9435c1cf
3 changed files with 171 additions and 6 deletions

View File

@@ -143,6 +143,9 @@ namespace BlackGui
//! Log functionality
static const QString &pathLog() { static const QString p("Custom15.Log"); return p; }
//! Font menus (font size etc.)
static const QString &pathFont() { static const QString p("Custom20.Font"); return p; }
// ---- client ----
//! Client COM related
@@ -200,12 +203,12 @@ namespace BlackGui
//! @}
private:
QAction *m_action = nullptr; //!< the action
QIcon m_icon; //!< icon
QString m_title; //!< title
QString m_path; //!< path in menu
bool m_separator = false; //!< separator
bool m_isMenu = false; //!< is menu?
QAction *m_action = nullptr; //!< the action
QIcon m_icon; //!< icon
QString m_title; //!< title
QString m_path; //!< path in menu
bool m_separator = false; //!< separator
bool m_isMenu = false; //!< is menu?
};
/*!