2022-05-08 19:59:26 +00:00
|
|
|
\hypertarget{classGpgFrontend_1_1UI_1_1FindWidget}{}\doxysection{Gpg\+Frontend\+::UI\+::Find\+Widget Class Reference}
|
|
|
|
\label{classGpgFrontend_1_1UI_1_1FindWidget}\index{GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}}
|
|
|
|
|
|
|
|
|
|
|
|
Class for handling the find widget shown at buttom of a textedit-\/page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$Find\+Widget.\+h$>$}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inheritance diagram for Gpg\+Frontend\+::UI\+::Find\+Widget\+:
|
2022-05-08 22:01:23 +00:00
|
|
|
\nopagebreak
|
|
|
|
\begin{figure}[H]
|
|
|
|
\begin{center}
|
|
|
|
\leavevmode
|
|
|
|
\includegraphics[width=236pt]{classGpgFrontend_1_1UI_1_1FindWidget__inherit__graph}
|
|
|
|
\end{center}
|
|
|
|
\end{figure}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
Collaboration diagram for Gpg\+Frontend\+::UI\+::Find\+Widget\+:
|
2022-05-08 22:01:23 +00:00
|
|
|
\nopagebreak
|
|
|
|
\begin{figure}[H]
|
|
|
|
\begin{center}
|
|
|
|
\leavevmode
|
|
|
|
\includegraphics[height=550pt]{classGpgFrontend_1_1UI_1_1FindWidget__coll__graph}
|
|
|
|
\end{center}
|
|
|
|
\end{figure}
|
2022-05-08 19:59:26 +00:00
|
|
|
\doxysubsection*{Public Member Functions}
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
2022-11-26 18:19:17 +00:00
|
|
|
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a495f281e72e5ddc10c8e944183b96dd9}{Find\+Widget}} (QWidget $\ast$parent, \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$edit)
|
2022-05-08 19:59:26 +00:00
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
\doxysubsection*{Protected Member Functions}
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
2022-11-26 18:19:17 +00:00
|
|
|
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a6e2264a989c2bb2db6bc8980b43e65f0}{key\+Press\+Event}} (QKey\+Event $\ast$e) override
|
2022-05-08 19:59:26 +00:00
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
\doxysubsection*{Private Slots}
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a6f28757eafd39ee0b1f8fe977bfee8b1}\label{classGpgFrontend_1_1UI_1_1FindWidget_a6f28757eafd39ee0b1f8fe977bfee8b1}}
|
|
|
|
void {\bfseries slot\+\_\+find\+\_\+next} ()
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a36ac2ccdd4e59cfdb790c73042dce532}\label{classGpgFrontend_1_1UI_1_1FindWidget_a36ac2ccdd4e59cfdb790c73042dce532}}
|
|
|
|
void {\bfseries slot\+\_\+find\+\_\+previous} ()
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_aa019bd8b63ad1e79050e4428cfee62cf}\label{classGpgFrontend_1_1UI_1_1FindWidget_aa019bd8b63ad1e79050e4428cfee62cf}}
|
|
|
|
void {\bfseries slot\+\_\+find} ()
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a8188c030936fbda27ac400a7ab59e61c}\label{classGpgFrontend_1_1UI_1_1FindWidget_a8188c030936fbda27ac400a7ab59e61c}}
|
|
|
|
void {\bfseries slot\+\_\+close} ()
|
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
\doxysubsection*{Private Member Functions}
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
|
|
|
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a0c531f2c673caed29225a323e750205f}{set\+\_\+background}} ()
|
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
\doxysubsection*{Private Attributes}
|
|
|
|
\begin{DoxyCompactItemize}
|
|
|
|
\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a11f9d0f07b704539ad1df15a5c15dca9}\label{classGpgFrontend_1_1UI_1_1FindWidget_a11f9d0f07b704539ad1df15a5c15dca9}}
|
2022-05-08 22:01:23 +00:00
|
|
|
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a11f9d0f07b704539ad1df15a5c15dca9}{m\+\_\+text\+\_\+page\+\_\+}}
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em Textedit associated to the notification. \end{DoxyCompactList}\item
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_af420832720942dd1e7cb3f3841c7cbfe}\label{classGpgFrontend_1_1UI_1_1FindWidget_af420832720942dd1e7cb3f3841c7cbfe}}
|
2022-11-26 18:19:17 +00:00
|
|
|
QLine\+Edit $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_af420832720942dd1e7cb3f3841c7cbfe}{find\+\_\+edit\+\_\+}}
|
2022-05-08 19:59:26 +00:00
|
|
|
\begin{DoxyCompactList}\small\item\em Label holding the text shown in info\+Board. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
|
|
Class for handling the find widget shown at buttom of a textedit-\/page.
|
|
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a495f281e72e5ddc10c8e944183b96dd9}\label{classGpgFrontend_1_1UI_1_1FindWidget_a495f281e72e5ddc10c8e944183b96dd9}}
|
|
|
|
\index{GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}!FindWidget@{FindWidget}}
|
|
|
|
\index{FindWidget@{FindWidget}!GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}}
|
|
|
|
\doxysubsubsection{\texorpdfstring{FindWidget()}{FindWidget()}}
|
2022-11-26 18:19:17 +00:00
|
|
|
{\footnotesize\ttfamily Gpg\+Frontend\+::\+UI\+::\+Find\+Widget\+::\+Find\+Widget (\begin{DoxyParamCaption}\item[{QWidget $\ast$}]{parent, }\item[{\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$}]{edit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
|
|
{\em parent} & The parent widget \\
|
|
|
|
\hline
|
|
|
|
\end{DoxyParams}
|
|
|
|
|
|
|
|
|
2022-05-08 22:01:23 +00:00
|
|
|
References find\+\_\+edit\+\_\+.
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a6e2264a989c2bb2db6bc8980b43e65f0}\label{classGpgFrontend_1_1UI_1_1FindWidget_a6e2264a989c2bb2db6bc8980b43e65f0}}
|
|
|
|
\index{GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}!keyPressEvent@{keyPressEvent}}
|
|
|
|
\index{keyPressEvent@{keyPressEvent}!GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}}
|
|
|
|
\doxysubsubsection{\texorpdfstring{keyPressEvent()}{keyPressEvent()}}
|
2022-11-26 18:19:17 +00:00
|
|
|
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Find\+Widget\+::key\+Press\+Event (\begin{DoxyParamCaption}\item[{QKey\+Event $\ast$}]{e }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
|
|
{\em e} & \\
|
|
|
|
\hline
|
|
|
|
\end{DoxyParams}
|
|
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1FindWidget_a0c531f2c673caed29225a323e750205f}\label{classGpgFrontend_1_1UI_1_1FindWidget_a0c531f2c673caed29225a323e750205f}}
|
|
|
|
\index{GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}!set\_background@{set\_background}}
|
|
|
|
\index{set\_background@{set\_background}!GpgFrontend::UI::FindWidget@{GpgFrontend::UI::FindWidget}}
|
|
|
|
\doxysubsubsection{\texorpdfstring{set\_background()}{set\_background()}}
|
2022-11-26 18:19:17 +00:00
|
|
|
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Find\+Widget\+::set\+\_\+background (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
|
2022-05-08 19:59:26 +00:00
|
|
|
|
|
|
|
Set background of find\+Edit to red, if no match is found (Documents textcursor position equals -\/1), otherwise set it to white.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
|
|
|
\item
|
|
|
|
src/ui/widgets/Find\+Widget.\+h\item
|
|
|
|
src/ui/widgets/Find\+Widget.\+cpp\end{DoxyCompactItemize}
|