GpgFrontend-Doxygen/docs/latex/classGpgFrontend_1_1UI_1_1FindWidget.tex

122 lines
6.4 KiB
TeX

\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\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=236pt]{classGpgFrontend_1_1UI_1_1FindWidget__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Gpg\+Frontend\+::UI\+::Find\+Widget\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1UI_1_1FindWidget__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\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)
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a6e2264a989c2bb2db6bc8980b43e65f0}{key\+Press\+Event}} (QKey\+Event $\ast$e) override
\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}}
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_a11f9d0f07b704539ad1df15a5c15dca9}{m\+\_\+text\+\_\+page\+\_\+}}
\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}}
QLine\+Edit $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FindWidget_af420832720942dd1e7cb3f3841c7cbfe}{find\+\_\+edit\+\_\+}}
\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()}}
{\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]}}
\begin{DoxyParams}{Parameters}
{\em parent} & The parent widget \\
\hline
\end{DoxyParams}
References find\+\_\+edit\+\_\+.
\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()}}
{\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]}}
\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()}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Find\+Widget\+::set\+\_\+background (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
Set background of find\+Edit to red, if no match is found (Documents textcursor position equals -\/1), otherwise set it to white.
References find\+\_\+edit\+\_\+, Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+Text\+Page(), and m\+\_\+text\+\_\+page\+\_\+.
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}