aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2016-09-12 10:16:09 -0400
committerKen Moore <ken@pcbsd.org>2016-09-12 10:16:09 -0400
commitccc621aed0fe8674dacfcdab18e42559ad3218c4 (patch)
treea6e06a4c56d302300a124cfae1a5829c602292e2 /src-qt5/desktop-utils/lumina-textedit/MainUI.h
parentCleanup a couple syntax highlighting rules for .rst files. (diff)
downloadlumina-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.h5
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
bgstack15