aboutsummaryrefslogtreecommitdiff
path: root/desktop-utilities/lumina-textedit/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-04-19 13:53:17 -0400
committerKen Moore <moorekou@gmail.com>2016-04-19 13:53:17 -0400
commit2ac52279a091b1e4a81df199d302e12c8e2cad3e (patch)
tree5c6bf9cd643cb9379c14dd69f12389fbe27c2685 /desktop-utilities/lumina-textedit/MainUI.h
parentSome more work on lumina-textedit. (diff)
downloadlumina-2ac52279a091b1e4a81df199d302e12c8e2cad3e.tar.gz
lumina-2ac52279a091b1e4a81df199d302e12c8e2cad3e.tar.bz2
lumina-2ac52279a091b1e4a81df199d302e12c8e2cad3e.zip
Get find/replace support fully implemented.
Diffstat (limited to 'desktop-utilities/lumina-textedit/MainUI.h')
-rw-r--r--desktop-utilities/lumina-textedit/MainUI.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop-utilities/lumina-textedit/MainUI.h b/desktop-utilities/lumina-textedit/MainUI.h
index 64b4de3d..e040591a 100644
--- a/desktop-utilities/lumina-textedit/MainUI.h
+++ b/desktop-utilities/lumina-textedit/MainUI.h
@@ -10,6 +10,7 @@
#include <QMainWindow>
#include <QStringList>
#include <QSettings>
+#include <QShortcut>
#include "PlainTextEditor.h"
@@ -31,6 +32,7 @@ public slots:
private:
Ui::MainUI *ui;
QSettings *settings;
+ QShortcut *closeFindS;
//Simplification functions
PlainTextEditor* currentEditor();
@@ -55,6 +57,16 @@ private slots:
void tabChanged();
void tabClosed(int);
+ //Find/Replace functions
+ void closeFindReplace();
+ void openFind();
+ void openReplace();
+
+ void findNext();
+ void findPrev();
+ void replaceOne();
+ void replaceAll();
+
protected:
void resizeEvent(QResizeEvent *ev){
settings->setValue("lastSize", ev->size());
bgstack15