FindWidget.h
#ifndef FINDWIDGET_H
#define FINDWIDGET_H
#include "ui/GpgFrontendUI.h"
#include "ui/widgets/PlainTextEditorPage.h"
namespace GpgFrontend::UI {
class FindWidget : public QWidget {
Q_OBJECT
public:
explicit FindWidget(QWidget* parent, PlainTextEditorPage* edit);
protected:
void keyPressEvent(QKeyEvent* e) override;
private:
void set_background();
PlainTextEditorPage*
m_text_page_;
QLineEdit* find_edit_;
private slots:
void slot_find_next();
void slot_find_previous();
void slot_find();
void slot_close();
};
} // namespace GpgFrontend::UI
#endif // FINDWIDGET_H
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::FindWidget::find_edit_
QLineEdit * find_edit_
Label holding the text shown in infoBoard.
Definition: FindWidget.h:68
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
GpgFrontend::UI::FindWidget::keyPressEvent
void keyPressEvent(QKeyEvent *e) override
Definition: FindWidget.cpp:147
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:81
GpgFrontend::UI::FindWidget
Class for handling the find widget shown at buttom of a textedit-page.
Definition: FindWidget.h:40
GpgFrontend::UI::FindWidget::FindWidget
FindWidget(QWidget *parent, PlainTextEditorPage *edit)
Definition: FindWidget.cpp:33
GpgFrontend::UI::FindWidget::set_background
void set_background()
Definition: FindWidget.cpp:63
GpgFrontend::UI::FindWidget::m_text_page_
PlainTextEditorPage * m_text_page_
Textedit associated to the notification.
Definition: FindWidget.h:67