GpgFrontend-Doxygen/docs/latex/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.tex

341 lines
21 KiB
TeX
Raw Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{}\doxysection{Gpg\+Frontend\+::UI\+::Plain\+Text\+Editor\+Page Class Reference}
\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
Class for handling a single tab of the tabwidget.
{\ttfamily \#include $<$Plain\+Text\+Editor\+Page.\+h$>$}
Inheritance diagram for Gpg\+Frontend\+::UI\+::Plain\+Text\+Editor\+Page\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=232pt]{classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph}
\end{center}
\end{figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+Frontend\+::UI\+::Plain\+Text\+Editor\+Page\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Signals}
\begin{DoxyCompactItemize}
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_afd3749488fdd3d1c53446fb8c833f3f4}{Signal\+U\+I\+Bytes\+Displayed}} ()
\begin{DoxyCompactList}\small\item\em this signal is emitted when the bytes has been append in texteditor. \end{DoxyCompactList}\end{DoxyCompactItemize}
2022-05-08 19:59:26 +00:00
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a8759224e57d4c322933ed3df6d96e5f1}{Plain\+Text\+Editor\+Page}} (Q\+String file\+\_\+path=\{\}, Q\+Widget $\ast$parent=nullptr)
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
const Q\+String \& \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aff81f0f98a399fa55b6b0ebf2230d4cf}{Get\+File\+Path}} () const
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aa9e82690824c82e7628ba4ace9d6e2fe}{Set\+File\+Path}} (const Q\+String \&file\+Path)
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
Q\+Plain\+Text\+Edit $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a6218e6e12bdba0228e4ab4276f7fed7a}{Get\+Text\+Page}} ()
2022-05-08 19:59:26 +00:00
\item
2022-05-08 22:01:23 +00:00
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af5dfdfd48ef64cc46e524ec70a22fe3a}{Show\+Notification\+Widget}} (Q\+Widget $\ast$widget, const char $\ast$class\+Name)
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aee4f46e54f29da671838ed232e526700}{Close\+Note\+By\+Class}} (const char $\ast$class\+Name)
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ac3404f71f0f93cd7f5cb64d5d56624d7}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ac3404f71f0f93cd7f5cb64d5d56624d7}}
void {\bfseries Read\+File} ()
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ac1902b063decfeebe7f0908cbfe618ce}{Read\+Done}} () const
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a1c1c0174ed1ed9c5a90739eafc5c3267}{Will\+Charset\+Change}} () const
\begin{DoxyCompactList}\small\item\em detect if the charset of the file will change \end{DoxyCompactList}\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a29b3d63ba9590e775f42c779c76102e5}{Notify\+File\+Saved}} ()
\begin{DoxyCompactList}\small\item\em notify the user that the file has been saved. \end{DoxyCompactList}\end{DoxyCompactItemize}
2022-05-08 19:59:26 +00:00
\doxysubsection*{Private Slots}
\begin{DoxyCompactItemize}
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a45267bcfc8fc83851894061c0fe2a9c2}{slot\+\_\+format\+\_\+gpg\+\_\+header}} ()
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a184985104f23da8fdf2b9aaf7b27405b}{slot\+\_\+insert\+\_\+text}} (Q\+Byte\+Array bytes\+\_\+data)
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a14b7431a786ce59e98576e3680cb9a58}{detect\+\_\+encoding}} (const std\+::string \&data)
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af08be6a1eaec76403b12dc6e42df546c}{detect\+\_\+cr\+\_\+lf}} (const std\+::string \&data)
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a0e0a36396ea55f5dbe6197284cf98192}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a0e0a36396ea55f5dbe6197284cf98192}}
std\+::shared\+\_\+ptr$<$ Ui\+\_\+\+Plain\+Text\+Editor $>$ {\bfseries ui\+\_\+}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ae867b6329fcb1978479a9d70f7b017db}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ae867b6329fcb1978479a9d70f7b017db}}
2022-05-08 22:01:23 +00:00
Q\+String \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ae867b6329fcb1978479a9d70f7b017db}{full\+\_\+file\+\_\+path\+\_\+}}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em The path to the file handled in the tab. \end{DoxyCompactList}\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a4f94e9ef7889a169bda5a47b7f657358}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a4f94e9ef7889a169bda5a47b7f657358}}
2022-05-08 22:01:23 +00:00
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a4f94e9ef7889a169bda5a47b7f657358}{sign\+\_\+marked\+\_\+}} \{\}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em true, if the signed header is marked, false if not \end{DoxyCompactList}\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a5b8ce290e1b949b56734227e8d42adba}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a5b8ce290e1b949b56734227e8d42adba}}
bool {\bfseries read\+\_\+done\+\_\+} = false
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a43d23c1bcac73b772aa0154151538bbf}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a43d23c1bcac73b772aa0154151538bbf}}
bool {\bfseries binary\+\_\+mode\+\_\+} = false
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a010bae8d8d967c8cc81cd42547de5dcb}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a010bae8d8d967c8cc81cd42547de5dcb}}
size\+\_\+t {\bfseries read\+\_\+bytes\+\_\+} = 0
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aec4ec03dbf1363d1517aa37d160c31e7}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aec4ec03dbf1363d1517aa37d160c31e7}}
std\+::string {\bfseries charset\+\_\+name\+\_\+}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ab1108b77925647d1a930e5252fa956b8}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ab1108b77925647d1a930e5252fa956b8}}
std\+::string {\bfseries language\+\_\+name\+\_\+}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ae756fc49724212d8d9937601a48b436b}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ae756fc49724212d8d9937601a48b436b}}
int32\+\_\+t {\bfseries charset\+\_\+confidence\+\_\+}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a0e64bcd36cf90b0eec2f05361c6c6fb3}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a0e64bcd36cf90b0eec2f05361c6c6fb3}}
bool {\bfseries is\+\_\+crlf\+\_\+} = false
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
Class for handling a single tab of the tabwidget.
2022-05-08 22:01:23 +00:00
2022-05-08 19:59:26 +00:00
\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a8759224e57d4c322933ed3df6d96e5f1}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a8759224e57d4c322933ed3df6d96e5f1}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!PlainTextEditorPage@{PlainTextEditorPage}}
\index{PlainTextEditorPage@{PlainTextEditorPage}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{PlainTextEditorPage()}{PlainTextEditorPage()}}
{\footnotesize\ttfamily Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Plain\+Text\+Editor\+Page (\begin{DoxyParamCaption}\item[{Q\+String}]{file\+\_\+path = {\ttfamily \{\}}, }\item[{Q\+Widget $\ast$}]{parent = {\ttfamily nullptr} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}
2022-05-08 19:59:26 +00:00
Add layout and add plaintextedit
\begin{DoxyParams}{Parameters}
{\em file\+\_\+path} & Path of the file handled in this tab \\
\hline
{\em parent} & Pointer to the parent widget \\
\hline
\end{DoxyParams}
2022-05-08 22:01:23 +00:00
References full\+\_\+file\+\_\+path\+\_\+.
2022-05-08 19:59:26 +00:00
\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aee4f46e54f29da671838ed232e526700}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aee4f46e54f29da671838ed232e526700}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!CloseNoteByClass@{CloseNoteByClass}}
\index{CloseNoteByClass@{CloseNoteByClass}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{CloseNoteByClass()}{CloseNoteByClass()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Close\+Note\+By\+Class (\begin{DoxyParamCaption}\item[{const char $\ast$}]{class\+Name }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Hide all widgets with the given class\+Name
\begin{DoxyParams}{Parameters}
{\em class\+Name} & The classname of the widgets to hide \\
\hline
\end{DoxyParams}
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+find().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af08be6a1eaec76403b12dc6e42df546c}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af08be6a1eaec76403b12dc6e42df546c}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!detect\_cr\_lf@{detect\_cr\_lf}}
\index{detect\_cr\_lf@{detect\_cr\_lf}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{detect\_cr\_lf()}{detect\_cr\_lf()}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::detect\+\_\+cr\+\_\+lf (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
\begin{DoxyParams}{Parameters}
{\em data} & \\
\hline
\end{DoxyParams}
2022-05-08 22:01:23 +00:00
Referenced by slot\+\_\+insert\+\_\+text().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a14b7431a786ce59e98576e3680cb9a58}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a14b7431a786ce59e98576e3680cb9a58}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!detect\_encoding@{detect\_encoding}}
\index{detect\_encoding@{detect\_encoding}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{detect\_encoding()}{detect\_encoding()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::detect\+\_\+encoding (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
\begin{DoxyParams}{Parameters}
{\em data} & \\
\hline
\end{DoxyParams}
References Gpg\+Frontend\+::\+Charset\+Operator\+::\+Detect().
2022-05-08 22:01:23 +00:00
Referenced by slot\+\_\+insert\+\_\+text().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aff81f0f98a399fa55b6b0ebf2230d4cf}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aff81f0f98a399fa55b6b0ebf2230d4cf}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!GetFilePath@{GetFilePath}}
\index{GetFilePath@{GetFilePath}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{GetFilePath()}{GetFilePath()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily const Q\+String \& Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+File\+Path (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
2022-05-08 19:59:26 +00:00
Get the filepath of the currently activated tab.
2022-05-08 22:01:23 +00:00
References full\+\_\+file\+\_\+path\+\_\+.
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::maybe\+\_\+save\+\_\+current\+\_\+tab(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Save(), and Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Save\+As().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a6218e6e12bdba0228e4ab4276f7fed7a}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a6218e6e12bdba0228e4ab4276f7fed7a}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!GetTextPage@{GetTextPage}}
\index{GetTextPage@{GetTextPage}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{GetTextPage()}{GetTextPage()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily Q\+Plain\+Text\+Edit $\ast$ Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+Text\+Page (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Return pointer tp the textedit of the currently activated tab.
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Load\+File(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::maybe\+\_\+save\+\_\+current\+\_\+tab(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::save\+\_\+file(), Gpg\+Frontend\+::\+U\+I\+::\+Find\+Widget\+::set\+\_\+background(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+add\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+append\+\_\+selected\+\_\+keys(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+clean\+\_\+double\+\_\+line\+\_\+breaks(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+cut\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+decrypt(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+decrypt\+\_\+verify(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+import\+\_\+key\+\_\+from\+\_\+edit(), slot\+\_\+insert\+\_\+text(), Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+verify(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Close\+Tab(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Copy(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Cut(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Fill\+Text\+Edit\+With\+Text(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Paste(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Print(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Redo(), Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Select\+All(), and Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Slot\+Undo().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a29b3d63ba9590e775f42c779c76102e5}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a29b3d63ba9590e775f42c779c76102e5}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!NotifyFileSaved@{NotifyFileSaved}}
\index{NotifyFileSaved@{NotifyFileSaved}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{NotifyFileSaved()}{NotifyFileSaved()}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Notify\+File\+Saved (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
notify the user that the file has been saved.
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::save\+\_\+file().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ac1902b063decfeebe7f0908cbfe618ce}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_ac1902b063decfeebe7f0908cbfe618ce}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!ReadDone@{ReadDone}}
\index{ReadDone@{ReadDone}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{ReadDone()}{ReadDone()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily bool Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Read\+Done (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
2022-05-08 19:59:26 +00:00
\begin{DoxyReturn}{Returns}
true
false
\end{DoxyReturn}
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::maybe\+\_\+save\+\_\+current\+\_\+tab().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aa9e82690824c82e7628ba4ace9d6e2fe}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_aa9e82690824c82e7628ba4ace9d6e2fe}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!SetFilePath@{SetFilePath}}
\index{SetFilePath@{SetFilePath}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{SetFilePath()}{SetFilePath()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Set\+File\+Path (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{file\+Path }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Set filepath of currently activated tab.
\begin{DoxyParams}{Parameters}
{\em file\+Path} & The path to be set \\
\hline
\end{DoxyParams}
2022-05-08 22:01:23 +00:00
References full\+\_\+file\+\_\+path\+\_\+.
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::\+Load\+File(), and Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::save\+\_\+file().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af5dfdfd48ef64cc46e524ec70a22fe3a}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_af5dfdfd48ef64cc46e524ec70a22fe3a}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!ShowNotificationWidget@{ShowNotificationWidget}}
\index{ShowNotificationWidget@{ShowNotificationWidget}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{ShowNotificationWidget()}{ShowNotificationWidget()}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Show\+Notification\+Widget (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{widget, }\item[{const char $\ast$}]{class\+Name }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Show additional widget at buttom of currently active tab
\begin{DoxyParams}{Parameters}
{\em widget} & The widget to be added \\
\hline
{\em class\+Name} & The name to handle the added widget \\
\hline
\end{DoxyParams}
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Main\+Window\+::slot\+\_\+find().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_afd3749488fdd3d1c53446fb8c833f3f4}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_afd3749488fdd3d1c53446fb8c833f3f4}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!SignalUIBytesDisplayed@{SignalUIBytesDisplayed}}
\index{SignalUIBytesDisplayed@{SignalUIBytesDisplayed}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{SignalUIBytesDisplayed}{SignalUIBytesDisplayed}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Signal\+U\+I\+Bytes\+Displayed (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}
this signal is emitted when the bytes has been append in texteditor.
Referenced by slot\+\_\+insert\+\_\+text().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a45267bcfc8fc83851894061c0fe2a9c2}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a45267bcfc8fc83851894061c0fe2a9c2}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!slot\_format\_gpg\_header@{slot\_format\_gpg\_header}}
\index{slot\_format\_gpg\_header@{slot\_format\_gpg\_header}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{slot\_format\_gpg\_header}{slot\_format\_gpg\_header}}
2022-05-08 22:01:23 +00:00
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::slot\+\_\+format\+\_\+gpg\+\_\+header (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Format the gpg header in another font-\/style
2022-05-08 22:01:23 +00:00
References sign\+\_\+marked\+\_\+.
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a184985104f23da8fdf2b9aaf7b27405b}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a184985104f23da8fdf2b9aaf7b27405b}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!slot\_insert\_text@{slot\_insert\_text}}
\index{slot\_insert\_text@{slot\_insert\_text}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{slot\_insert\_text}{slot\_insert\_text}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::slot\+\_\+insert\+\_\+text (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array}]{bytes\+\_\+data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
\begin{DoxyParams}{Parameters}
{\em data} & \\
\hline
\end{DoxyParams}
References detect\+\_\+cr\+\_\+lf(), detect\+\_\+encoding(), Get\+Text\+Page(), and Signal\+U\+I\+Bytes\+Displayed().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a1c1c0174ed1ed9c5a90739eafc5c3267}\label{classGpgFrontend_1_1UI_1_1PlainTextEditorPage_a1c1c0174ed1ed9c5a90739eafc5c3267}}
\index{GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}!WillCharsetChange@{WillCharsetChange}}
\index{WillCharsetChange@{WillCharsetChange}!GpgFrontend::UI::PlainTextEditorPage@{GpgFrontend::UI::PlainTextEditorPage}}
\doxysubsubsection{\texorpdfstring{WillCharsetChange()}{WillCharsetChange()}}
{\footnotesize\ttfamily bool Gpg\+Frontend\+::\+U\+I\+::\+Plain\+Text\+Editor\+Page\+::\+Will\+Charset\+Change (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
detect if the charset of the file will change
Referenced by Gpg\+Frontend\+::\+U\+I\+::\+Text\+Edit\+::save\+\_\+file().
2022-05-08 19:59:26 +00:00
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
src/ui/widgets/Plain\+Text\+Editor\+Page.\+h\item
src/ui/widgets/Plain\+Text\+Editor\+Page.\+cpp\end{DoxyCompactItemize}