diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-12 10:16:09 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-12 10:16:09 -0400 |
commit | ccc621aed0fe8674dacfcdab18e42559ad3218c4 (patch) | |
tree | a6e06a4c56d302300a124cfae1a5829c602292e2 /src-qt5/desktop-utils/lumina-textedit/MainUI.h | |
parent | Cleanup a couple syntax highlighting rules for .rst files. (diff) | |
download | lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.tar.gz lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.tar.bz2 lumina-ccc621aed0fe8674dacfcdab18e42559ad3218c4.zip |
Add a font selector option to LTE, so monospaced fonts can be used as needed for particular users.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/MainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/MainUI.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.h b/src-qt5/desktop-utils/lumina-textedit/MainUI.h index a090cde5..fd42428c 100644 --- a/src-qt5/desktop-utils/lumina-textedit/MainUI.h +++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.h @@ -11,6 +11,7 @@ #include <QStringList> #include <QSettings> #include <QShortcut> +#include <QFontComboBox> #include "PlainTextEditor.h" #include "ColorDialog.h" @@ -32,6 +33,7 @@ public slots: private: Ui::MainUI *ui; + QFontComboBox *fontbox; ColorDialog *colorDLG; QSettings *settings; QShortcut *closeFindS; @@ -47,6 +49,7 @@ private slots: void CloseFile(); //current file only void SaveFile(); void SaveFileAs(); + void fontChanged(const QFont &font); //Other Menu Actions void UpdateHighlighting(QAction *act = 0); @@ -74,4 +77,4 @@ protected: settings->setValue("lastSize", ev->size()); } }; -#endif
\ No newline at end of file +#endif |