#ifndef FINDWIDGET_H #define FINDWIDGET_H #include "editorpage.h" #include /** * @brief Class for handling the find widget shown at buttom of a textedit-page */ class FindWidget : public QWidget { Q_OBJECT public: /** * @brief * * @param parent The parent widget */ explicit FindWidget(QWidget *parent, QTextEdit *edit); private: void keyPressEvent( QKeyEvent* e ); QTextEdit *mTextpage; /** Textedit associated to the notification */ QLineEdit *findEdit; /** Label holding the text shown in verifyNotification */ QTextCursor cursor; QTextCharFormat cursorFormat; QPushButton *closeButton; private slots: void findNext(); void find(); void closeSlot(); }; #endif // FINDWIDGET_H