GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
Class for handling the find widget shown at buttom of a textedit-page. More...
#include <FindWidget.h>
Public Member Functions | |
FindWidget (QWidget *parent, PlainTextEditorPage *edit) | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) override |
Private Slots | |
void | slot_find_next () |
void | slot_find_previous () |
void | slot_find () |
void | slot_close () |
Private Member Functions | |
void | set_background () |
Private Attributes | |
PlainTextEditorPage * | m_text_page_ |
Textedit associated to the notification. | |
QLineEdit * | find_edit_ |
Label holding the text shown in infoBoard. | |
Class for handling the find widget shown at buttom of a textedit-page.
|
explicit |
parent | The parent widget |
References find_edit_.
|
overrideprotected |
e |
|
private |
Set background of findEdit to red, if no match is found (Documents textcursor position equals -1), otherwise set it to white.
References find_edit_, GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), and m_text_page_.