aboutsummaryrefslogtreecommitdiffstats
path: root/findwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'findwidget.h')
-rw-r--r--findwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/findwidget.h b/findwidget.h
index 31a7a9d..2e95d89 100644
--- a/findwidget.h
+++ b/findwidget.h
@@ -23,6 +23,11 @@ public:
private:
void keyPressEvent( QKeyEvent* e );
+ /**
+ * @details Set background of findEdit to red, if no match is found (Documents textcursor position equals -1),
+ * otherwise set it to white.
+ */
+ void setBackground();
QTextEdit *mTextpage; /** Textedit associated to the notification */
QLineEdit *findEdit; /** Label holding the text shown in verifyNotification */