GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
FindWidget.h
1
29
#pragma once
30
31
#include "ui/GpgFrontendUI.h"
32
#include "ui/widgets/PlainTextEditorPage.h"
33
34
namespace
GpgFrontend::UI
{
35
39
class
FindWidget
:
public
QWidget {
40
Q_OBJECT
41
42
public
:
48
explicit
FindWidget
(QWidget* parent,
PlainTextEditorPage
* edit);
49
50
protected
:
56
void
keyPressEvent
(QKeyEvent* e)
override
;
57
58
private
:
63
void
set_background
();
64
65
PlainTextEditorPage
*
66
m_text_page_
;
67
QLineEdit*
find_edit_
;
68
69
private
slots:
70
75
void
slot_find_next();
76
81
void
slot_find_previous();
82
87
void
slot_find();
88
93
void
slot_close();
94
};
95
96
}
// namespace GpgFrontend::UI
GpgFrontend::UI::FindWidget
Class for handling the find widget shown at buttom of a textedit-page.
Definition:
FindWidget.h:39
GpgFrontend::UI::FindWidget::set_background
void set_background()
Definition:
FindWidget.cpp:65
GpgFrontend::UI::FindWidget::m_text_page_
PlainTextEditorPage * m_text_page_
Textedit associated to the notification.
Definition:
FindWidget.h:66
GpgFrontend::UI::FindWidget::FindWidget
FindWidget(QWidget *parent, PlainTextEditorPage *edit)
Definition:
FindWidget.cpp:33
GpgFrontend::UI::FindWidget::keyPressEvent
void keyPressEvent(QKeyEvent *e) override
Definition:
FindWidget.cpp:135
GpgFrontend::UI::FindWidget::find_edit_
QLineEdit * find_edit_
Label holding the text shown in infoBoard.
Definition:
FindWidget.h:67
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition:
PlainTextEditorPage.h:39
GpgFrontend::UI
Definition:
FileReadTask.cpp:31
src
ui
widgets
FindWidget.h
Generated by
1.9.1