GpgFrontend-Doxygen/docs/latex/classGpgFrontend_1_1UI_1_1TextEdit.tex

547 lines
37 KiB
TeX
Raw Permalink Normal View History

2022-05-08 19:59:26 +00:00
\hypertarget{classGpgFrontend_1_1UI_1_1TextEdit}{}\doxysection{Gpg\+Frontend\+::UI\+::Text\+Edit Class Reference}
\label{classGpgFrontend_1_1UI_1_1TextEdit}\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit}{Text\+Edit}} class.
{\ttfamily \#include $<$Text\+Edit.\+h$>$}
Inheritance diagram for Gpg\+Frontend\+::UI\+::Text\+Edit\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1UI_1_1TextEdit__inherit__graph}
2022-05-08 22:01:23 +00:00
\end{center}
\end{figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+Frontend\+::UI\+::Text\+Edit\+:
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classGpgFrontend_1_1UI_1_1TextEdit__coll__graph}
2022-05-08 22:01:23 +00:00
\end{center}
\end{figure}
2022-05-08 19:59:26 +00:00
\doxysubsection*{Public Slots}
\begin{DoxyCompactItemize}
\item
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a48351dc1529da3b8da311f65b735b5f1}{Slot\+Cur\+Page\+Text\+Edit}} () const
\item
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FilePage}{File\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a72014409d407c161b048e07c061b4cf9}{Slot\+Cur\+Page\+File\+Tree\+View}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a6a02fce9dc4039c982d6dd19231517ee}{Slot\+Quote}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_af466ec2b8ab3f695d206efc0574bbe20}{Slot\+Fill\+Text\+Edit\+With\+Text}} (const QString \&text) const
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_ace0b8f4c161db9f4f5db5ecbfd7a91c0}{Slot\+Save}} ()
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a306999df608947dc0728d651893b20f6}{Slot\+Save\+As}} ()
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a15335d38187ddf580b7200d856768cfb}{Slot\+Open}} ()
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_adca2bbfa746b5598f2a4f74026b84224}{Slot\+Print}} ()
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a57a46ab5595622ae0b7bceef7d56bd7c}{Slot\+New\+Tab}} ()
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a965cf0edc3030ca5a88a490051a3d8ec}\label{classGpgFrontend_1_1UI_1_1TextEdit_a965cf0edc3030ca5a88a490051a3d8ec}}
void {\bfseries Slot\+New\+Tab\+With\+Content} (QString title, const QString \&content)
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a60c73cc66a48a38c13e7890de49e86c3}{Slot\+Open\+File}} (const QString \&path)
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4}{slot\+New\+Help\+Tab}} (const QString \&title, const QString \&path) const
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a1859df6906160400710accb0481d6b0c}{Slot\+New\+File\+Tab}} ()
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_ab24adc1adb3b9b29469992e4c444436e}{Slot\+Show\+Modified}} (bool) const
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_aa21659aa7acba98dfd6286d69e00ab9b}{Slot\+Close\+Tab}} ()
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_af1e364b513f566c743a5d36c19098762}{Slot\+Switch\+Tab\+Up}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a576e06390e65576465297d2ab8d7d474}{Slot\+Switch\+Tab\+Down}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_ae1e710c6722910b8d35df97aaabb3162}{Slot\+Cut}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a3599bd01636a873cf3437ab6b9d38780}{Slot\+Copy}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_aa2230418dc8f72c400f5a90082a983c9}{Slot\+Paste}} () const
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a4a81e69f6dc74ea649ca9a2358342fd5}{Slot\+Undo}} () const
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ae2b3bf422789d56087face98b6a9e929}\label{classGpgFrontend_1_1UI_1_1TextEdit_ae2b3bf422789d56087face98b6a9e929}}
2022-05-08 22:01:23 +00:00
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_ae2b3bf422789d56087face98b6a9e929}{Slot\+Redo}} () const
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em redo last change in current text page \end{DoxyCompactList}\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ac9e2fb3d6ebb721f03416aa2da5e1fd1}\label{classGpgFrontend_1_1UI_1_1TextEdit_ac9e2fb3d6ebb721f03416aa2da5e1fd1}}
void {\bfseries Slot\+Zoom\+In} () const
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a32327f592965d8922eb7095af117336d}\label{classGpgFrontend_1_1UI_1_1TextEdit_a32327f592965d8922eb7095af117336d}}
void {\bfseries Slot\+Zoom\+Out} () const
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a6c814253dfc061bfdae0fa71c6196c55}\label{classGpgFrontend_1_1UI_1_1TextEdit_a6c814253dfc061bfdae0fa71c6196c55}}
2022-05-08 22:01:23 +00:00
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a6c814253dfc061bfdae0fa71c6196c55}{Slot\+Select\+All}} () const
\begin{DoxyCompactList}\small\item\em select all in current text page \end{DoxyCompactList}\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_ae9ffb1f027ce05737e77add66bd1540f}{Slot\+Append\+Text2\+Cur\+Text\+Page}} (const QString \&text)
\end{DoxyCompactItemize}
2022-05-08 19:59:26 +00:00
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a0f1c7997b1cd56045091e5c9677f5d0e}\label{classGpgFrontend_1_1UI_1_1TextEdit_a0f1c7997b1cd56045091e5c9677f5d0e}}
{\bfseries Text\+Edit} (QWidget $\ast$parent)
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a72ed46454c833adb038c36d8d4322d18}{Load\+File}} (const QString \&file\+Name)
2022-05-08 19:59:26 +00:00
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a2ef7669b3b92d4a8c2b0782787653555}{Maybe\+Save\+Any\+Tab}} ()
2022-05-08 19:59:26 +00:00
\item
int \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a05c54658597b04c3976c72d3a5f9add9}{Tab\+Count}} () const
\item
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a7aa1230fbf796225bd6b83d381e11a3b}{Cur\+Text\+Page}} () const
\item
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FilePage}{File\+Page}} $\ast$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_aa30daf558cb85bbdcad55a805a106109}{Cur\+File\+Page}} () const
\item
QHash$<$ int, QString $>$ \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a82fe98d45f54909ebea933b540367c39}{Unsaved\+Documents}} () const
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a725048d1c6de8ed7ba29062afa72767b}\label{classGpgFrontend_1_1UI_1_1TextEdit_a725048d1c6de8ed7ba29062afa72767b}}
QTab\+Widget $\ast$ {\bfseries tab\+\_\+widget\+\_\+}
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a66b6f6633e7ac71e5fe8b7814a81cadf}{save\+\_\+file}} (const QString \&file\+Name)
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em Saves the content of current\+Tab to the file filename. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Private Slots}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_aeb2048d8028907d521f5f35c077832c2}\label{classGpgFrontend_1_1UI_1_1TextEdit_aeb2048d8028907d521f5f35c077832c2}}
void {\bfseries slot\+\_\+file\+\_\+page\+\_\+path\+\_\+changed} (const QString \&path) const
2022-05-08 19:59:26 +00:00
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a12f65fbc4984c266a5df4505ecde7c42}{slot\+\_\+remove\+\_\+tab}} (int index)
\item
void \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a1bf57ebe1e32b12c48bb633b7dd7a4f1}{slot\+\_\+save\+\_\+status\+\_\+to\+\_\+cache\+\_\+for\+\_\+revovery}} ()
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item
bool \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a8fad090a19479a9fe89432300cca2b6c}{maybe\+\_\+save\+\_\+current\+\_\+tab}} (bool ask\+To\+Save)
\end{DoxyCompactItemize}
\doxysubsection*{Static Private Member Functions}
\begin{DoxyCompactItemize}
\item
static QString \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_afb9b7a7d88154d774b3d727d8e640cbb}{stripped\+\_\+name}} (const QString \&full\+\_\+file\+\_\+name)
2022-05-08 19:59:26 +00:00
\end{DoxyCompactItemize}
\doxysubsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a1d8948316e9231f50809e6fb9b337546}\label{classGpgFrontend_1_1UI_1_1TextEdit_a1d8948316e9231f50809e6fb9b337546}}
uint {\bfseries text\+\_\+page\+\_\+data\+\_\+modified\+\_\+count\+\_\+} = 0
\item
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a747d3740a88295e6c9565788d4cf56ec}\label{classGpgFrontend_1_1UI_1_1TextEdit_a747d3740a88295e6c9565788d4cf56ec}}
2022-05-08 22:01:23 +00:00
int \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit_a747d3740a88295e6c9565788d4cf56ec}{count\+\_\+page\+\_\+}}
2022-05-08 19:59:26 +00:00
\begin{DoxyCompactList}\small\item\em int containing the number of added tabs \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1TextEdit}{Text\+Edit}} class.
\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_aa30daf558cb85bbdcad55a805a106109}\label{classGpgFrontend_1_1UI_1_1TextEdit_aa30daf558cb85bbdcad55a805a106109}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!CurFilePage@{CurFilePage}}
\index{CurFilePage@{CurFilePage}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{CurFilePage()}{CurFilePage()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FilePage}{File\+Page}} $\ast$ Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Cur\+File\+Page (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
2022-05-08 19:59:26 +00:00
\begin{DoxyReturn}{Returns}
File\+Page$\ast$
\end{DoxyReturn}
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+disable\+\_\+tab\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a7aa1230fbf796225bd6b83d381e11a3b}\label{classGpgFrontend_1_1UI_1_1TextEdit_a7aa1230fbf796225bd6b83d381e11a3b}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!CurTextPage@{CurTextPage}}
\index{CurTextPage@{CurTextPage}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{CurTextPage()}{CurTextPage()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Cur\+Text\+Page (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
2022-05-08 19:59:26 +00:00
textpage of the currently activated tab \begin{DoxyReturn}{Returns}
\begin{DoxyItemize}
\item reference to QText\+Edit if tab has one \item 0 otherwise (e.\+g. if helppage) \end{DoxyItemize}
2022-05-08 19:59:26 +00:00
\end{DoxyReturn}
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+add\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+clean\+\_\+double\+\_\+line\+\_\+breaks(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+cut\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+find(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+import\+\_\+key\+\_\+from\+\_\+edit(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt\+Verify(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt\+Sign(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Sign(), and Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Verify().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a72ed46454c833adb038c36d8d4322d18}\label{classGpgFrontend_1_1UI_1_1TextEdit_a72ed46454c833adb038c36d8d4322d18}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!LoadFile@{LoadFile}}
\index{LoadFile@{LoadFile}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{LoadFile()}{LoadFile()}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Load\+File (\begin{DoxyParamCaption}\item[{const QString \&}]{file\+Name }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Load the content of file into the current textpage
\begin{DoxyParams}{Parameters}
{\em file\+Name} & QString containing the filename to load \\
2022-05-08 19:59:26 +00:00
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
nothing
\end{DoxyReturn}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a8fad090a19479a9fe89432300cca2b6c}\label{classGpgFrontend_1_1UI_1_1TextEdit_a8fad090a19479a9fe89432300cca2b6c}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!maybe\_save\_current\_tab@{maybe\_save\_current\_tab}}
\index{maybe\_save\_current\_tab@{maybe\_save\_current\_tab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{maybe\_save\_current\_tab()}{maybe\_save\_current\_tab()}}
{\footnotesize\ttfamily bool Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::maybe\+\_\+save\+\_\+current\+\_\+tab (\begin{DoxyParamCaption}\item[{bool}]{ask\+To\+Save }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
\begin{DoxyParams}{Parameters}
2022-05-08 22:01:23 +00:00
{\em ask\+To\+Save} & Check if current may need to be saved. Call this function before closing the currently active tab-\/\\
2022-05-08 19:59:26 +00:00
\hline
\end{DoxyParams}
If it returns false, the close event should be aborted.
References Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+File\+Path(), Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+Text\+Page(), and Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Read\+Done().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a2ef7669b3b92d4a8c2b0782787653555}\label{classGpgFrontend_1_1UI_1_1TextEdit_a2ef7669b3b92d4a8c2b0782787653555}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!MaybeSaveAnyTab@{MaybeSaveAnyTab}}
\index{MaybeSaveAnyTab@{MaybeSaveAnyTab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{MaybeSaveAnyTab()}{MaybeSaveAnyTab()}}
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Maybe\+Save\+Any\+Tab (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
2022-05-08 19:59:26 +00:00
Checks if there are unsaved documents in any tab, which may need to be saved. Call this function before closing the programme or all tabs. \begin{DoxyReturn}{Returns}
\begin{DoxyItemize}
\item false, if the close event should be aborted. \item true, otherwise \end{DoxyItemize}
\end{DoxyReturn}
References Gpg\+Frontend\+::\+UI\+::\+Quit\+Dialog\+::\+Get\+Tab\+Ids\+To\+Save(), and Gpg\+Frontend\+::\+UI\+::\+Quit\+Dialog\+::\+Is\+Discarded().
2022-05-08 19:59:26 +00:00
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+open\+\_\+settings\+\_\+dialog().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a66b6f6633e7ac71e5fe8b7814a81cadf}\label{classGpgFrontend_1_1UI_1_1TextEdit_a66b6f6633e7ac71e5fe8b7814a81cadf}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!save\_file@{save\_file}}
\index{save\_file@{save\_file}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{save\_file()}{save\_file()}}
{\footnotesize\ttfamily bool Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::save\+\_\+file (\begin{DoxyParamCaption}\item[{const QString \&}]{file\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}
2022-05-08 19:59:26 +00:00
Saves the content of current\+Tab to the file filename.
\begin{DoxyParams}{Parameters}
{\em file\+Name} & \\
\hline
\end{DoxyParams}
References Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+Text\+Page(), Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Notify\+File\+Saved(), and Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Set\+File\+Path().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a12f65fbc4984c266a5df4505ecde7c42}\label{classGpgFrontend_1_1UI_1_1TextEdit_a12f65fbc4984c266a5df4505ecde7c42}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!slot\_remove\_tab@{slot\_remove\_tab}}
\index{slot\_remove\_tab@{slot\_remove\_tab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{slot\_remove\_tab}{slot\_remove\_tab}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::slot\+\_\+remove\+\_\+tab (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Remove the tab with given index
\begin{DoxyParams}{Parameters}
{\em index} & Tab-\/number to remove \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a1bf57ebe1e32b12c48bb633b7dd7a4f1}\label{classGpgFrontend_1_1UI_1_1TextEdit_a1bf57ebe1e32b12c48bb633b7dd7a4f1}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!slot\_save\_status\_to\_cache\_for\_revovery@{slot\_save\_status\_to\_cache\_for\_revovery}}
\index{slot\_save\_status\_to\_cache\_for\_revovery@{slot\_save\_status\_to\_cache\_for\_revovery}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{slot\_save\_status\_to\_cache\_for\_revovery}{slot\_save\_status\_to\_cache\_for\_revovery}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::slot\+\_\+save\+\_\+status\+\_\+to\+\_\+cache\+\_\+for\+\_\+revovery (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}
\begin{DoxyParams}{Parameters}
{\em index} & \\
\hline
\end{DoxyParams}
References Gpg\+Frontend\+::\+Singleton\+Function\+Object$<$ Global\+Setting\+Station $>$\+::\+Get\+Instance().
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ae9ffb1f027ce05737e77add66bd1540f}\label{classGpgFrontend_1_1UI_1_1TextEdit_ae9ffb1f027ce05737e77add66bd1540f}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotAppendText2CurTextPage@{SlotAppendText2CurTextPage}}
\index{SlotAppendText2CurTextPage@{SlotAppendText2CurTextPage}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotAppendText2CurTextPage}{SlotAppendText2CurTextPage}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Append\+Text2\+Cur\+Text\+Page (\begin{DoxyParamCaption}\item[{const QString \&}]{text }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
\begin{DoxyParams}{Parameters}
{\em text} & \\
\hline
\end{DoxyParams}
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+append\+\_\+selected\+\_\+keys().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_aa21659aa7acba98dfd6286d69e00ab9b}\label{classGpgFrontend_1_1UI_1_1TextEdit_aa21659aa7acba98dfd6286d69e00ab9b}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotCloseTab@{SlotCloseTab}}
\index{SlotCloseTab@{SlotCloseTab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotCloseTab}{SlotCloseTab}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Close\+Tab (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
2022-05-08 22:01:23 +00:00
close the current tab and decrease Tab\+Widget-\/$>$count by {\itshape 1}
2022-05-08 19:59:26 +00:00
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a3599bd01636a873cf3437ab6b9d38780}\label{classGpgFrontend_1_1UI_1_1TextEdit_a3599bd01636a873cf3437ab6b9d38780}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotCopy@{SlotCopy}}
\index{SlotCopy@{SlotCopy}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotCopy}{SlotCopy}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Copy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Copy selected text of current text page to clipboard.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a72014409d407c161b048e07c061b4cf9}\label{classGpgFrontend_1_1UI_1_1TextEdit_a72014409d407c161b048e07c061b4cf9}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotCurPageFileTreeView@{SlotCurPageFileTreeView}}
\index{SlotCurPageFileTreeView@{SlotCurPageFileTreeView}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotCurPageFileTreeView}{SlotCurPageFileTreeView}}
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1FilePage}{File\+Page}} $\ast$ Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Cur\+Page\+File\+Tree\+View (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Return pointer to the currently activated file tree view tab page.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a48351dc1529da3b8da311f65b735b5f1}\label{classGpgFrontend_1_1UI_1_1TextEdit_a48351dc1529da3b8da311f65b735b5f1}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotCurPageTextEdit@{SlotCurPageTextEdit}}
\index{SlotCurPageTextEdit@{SlotCurPageTextEdit}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotCurPageTextEdit}{SlotCurPageTextEdit}}
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1PlainTextEditorPage}{Plain\+Text\+Editor\+Page}} $\ast$ Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Cur\+Page\+Text\+Edit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Widget containing the tabs of the editor
Return pointer to the currently activated text edit tab page.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+add\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+clean\+\_\+double\+\_\+line\+\_\+breaks(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+cut\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+find(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+import\+\_\+key\+\_\+from\+\_\+edit(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt\+Verify(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt\+Sign(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Sign(), and Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Verify().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ae1e710c6722910b8d35df97aaabb3162}\label{classGpgFrontend_1_1UI_1_1TextEdit_ae1e710c6722910b8d35df97aaabb3162}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotCut@{SlotCut}}
\index{SlotCut@{SlotCut}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotCut}{SlotCut}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Cut (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Cut selected text in current text page.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_af466ec2b8ab3f695d206efc0574bbe20}\label{classGpgFrontend_1_1UI_1_1TextEdit_af466ec2b8ab3f695d206efc0574bbe20}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotFillTextEditWithText@{SlotFillTextEditWithText}}
\index{SlotFillTextEditWithText@{SlotFillTextEditWithText}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotFillTextEditWithText}{SlotFillTextEditWithText}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Fill\+Text\+Edit\+With\+Text (\begin{DoxyParamCaption}\item[{const QString \&}]{text }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
replace the text of currently active textedit with given text.
\begin{DoxyParams}{Parameters}
{\em text} & to fill on. \\
\hline
\end{DoxyParams}
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+add\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+clean\+\_\+double\+\_\+line\+\_\+breaks(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+cut\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Decrypt\+Verify(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Encrypt\+Sign(), and Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Sign().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a1859df6906160400710accb0481d6b0c}\label{classGpgFrontend_1_1UI_1_1TextEdit_a1859df6906160400710accb0481d6b0c}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotNewFileTab@{SlotNewFileTab}}
\index{SlotNewFileTab@{SlotNewFileTab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotNewFileTab}{SlotNewFileTab}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+New\+File\+Tab (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
New File Tab to do file operation
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+open\+\_\+file\+\_\+tab().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4}\label{classGpgFrontend_1_1UI_1_1TextEdit_a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!slotNewHelpTab@{slotNewHelpTab}}
\index{slotNewHelpTab@{slotNewHelpTab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{slotNewHelpTab}{slotNewHelpTab}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::slot\+New\+Help\+Tab (\begin{DoxyParamCaption}\item[{const QString \&}]{title, }\item[{const QString \&}]{path }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Adds a new tab with the given title and opens given html file. Increase Tab-\/\+Count by one
\begin{DoxyParams}{Parameters}
{\em title} & title for the tab \\
\hline
{\em path} & path for html file to show \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a57a46ab5595622ae0b7bceef7d56bd7c}\label{classGpgFrontend_1_1UI_1_1TextEdit_a57a46ab5595622ae0b7bceef7d56bd7c}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotNewTab@{SlotNewTab}}
\index{SlotNewTab@{SlotNewTab}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotNewTab}{SlotNewTab}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+New\+Tab (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Adds a new tab with the title \char`\"{}untitled\char`\"{}+countpage+\char`\"{}.\+txt\char`\"{} Sets the focus to the new tab. Increase Tab-\/\+Count by one
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a15335d38187ddf580b7200d856768cfb}\label{classGpgFrontend_1_1UI_1_1TextEdit_a15335d38187ddf580b7200d856768cfb}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotOpen@{SlotOpen}}
\index{SlotOpen@{SlotOpen}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotOpen}{SlotOpen}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Open (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Show an Open\+File\+Doalog and open the file in a new tab. Shows an error dialog, if the open fails. Set the focus to the tab of the opened file.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a60c73cc66a48a38c13e7890de49e86c3}\label{classGpgFrontend_1_1UI_1_1TextEdit_a60c73cc66a48a38c13e7890de49e86c3}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotOpenFile@{SlotOpenFile}}
\index{SlotOpenFile@{SlotOpenFile}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotOpenFile}{SlotOpenFile}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Open\+File (\begin{DoxyParamCaption}\item[{const QString \&}]{path }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Adds a new tab with opening file by path
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::\+Slot\+Open\+File().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_aa2230418dc8f72c400f5a90082a983c9}\label{classGpgFrontend_1_1UI_1_1TextEdit_aa2230418dc8f72c400f5a90082a983c9}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotPaste@{SlotPaste}}
\index{SlotPaste@{SlotPaste}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotPaste}{SlotPaste}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Paste (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Paste text from clipboard to current text page.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_adca2bbfa746b5598f2a4f74026b84224}\label{classGpgFrontend_1_1UI_1_1TextEdit_adca2bbfa746b5598f2a4f74026b84224}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotPrint@{SlotPrint}}
\index{SlotPrint@{SlotPrint}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotPrint}{SlotPrint}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Print (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Open a print-\/dialog for the current tab
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a6a02fce9dc4039c982d6dd19231517ee}\label{classGpgFrontend_1_1UI_1_1TextEdit_a6a02fce9dc4039c982d6dd19231517ee}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotQuote@{SlotQuote}}
\index{SlotQuote@{SlotQuote}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotQuote}{SlotQuote}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Quote (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Insert a \char`\"{}$>$\char`\"{} at the beginning of every line of current textedit.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ace0b8f4c161db9f4f5db5ecbfd7a91c0}\label{classGpgFrontend_1_1UI_1_1TextEdit_ace0b8f4c161db9f4f5db5ecbfd7a91c0}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotSave@{SlotSave}}
\index{SlotSave@{SlotSave}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotSave}{SlotSave}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Save (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Saves the content of the current tab, if it has a filepath otherwise it calls save\+As for the current tab
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a306999df608947dc0728d651893b20f6}\label{classGpgFrontend_1_1UI_1_1TextEdit_a306999df608947dc0728d651893b20f6}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotSaveAs@{SlotSaveAs}}
\index{SlotSaveAs@{SlotSaveAs}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotSaveAs}{SlotSaveAs}}
{\footnotesize\ttfamily auto Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Save\+As (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Opens a savefiledialog and calls save\+\_\+file with the choosen filename.
\begin{DoxyReturn}{Returns}
Return the return value of the savefile method
\end{DoxyReturn}
References Gpg\+Frontend\+::\+UI\+::\+Plain\+Text\+Editor\+Page\+::\+Get\+File\+Path().
2022-05-08 22:01:23 +00:00
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_ab24adc1adb3b9b29469992e4c444436e}\label{classGpgFrontend_1_1UI_1_1TextEdit_ab24adc1adb3b9b29469992e4c444436e}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotShowModified@{SlotShowModified}}
\index{SlotShowModified@{SlotShowModified}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotShowModified}{SlotShowModified}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Show\+Modified (\begin{DoxyParamCaption}\item[{bool}]{changed }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
put a $\ast$ in front of current tabs title, if current textedit is modified \mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a576e06390e65576465297d2ab8d7d474}\label{classGpgFrontend_1_1UI_1_1TextEdit_a576e06390e65576465297d2ab8d7d474}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotSwitchTabDown@{SlotSwitchTabDown}}
\index{SlotSwitchTabDown@{SlotSwitchTabDown}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotSwitchTabDown}{SlotSwitchTabDown}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Switch\+Tab\+Down (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Switch to the previous tab. \mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_af1e364b513f566c743a5d36c19098762}\label{classGpgFrontend_1_1UI_1_1TextEdit_af1e364b513f566c743a5d36c19098762}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotSwitchTabUp@{SlotSwitchTabUp}}
\index{SlotSwitchTabUp@{SlotSwitchTabUp}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotSwitchTabUp}{SlotSwitchTabUp}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Switch\+Tab\+Up (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Switch to the next tab. \mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a4a81e69f6dc74ea649ca9a2358342fd5}\label{classGpgFrontend_1_1UI_1_1TextEdit_a4a81e69f6dc74ea649ca9a2358342fd5}}
2022-05-08 19:59:26 +00:00
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!SlotUndo@{SlotUndo}}
\index{SlotUndo@{SlotUndo}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{SlotUndo}{SlotUndo}}
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Slot\+Undo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [slot]}}
2022-05-08 19:59:26 +00:00
Undo last change in current textpage.
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::create\+\_\+actions().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_afb9b7a7d88154d774b3d727d8e640cbb}\label{classGpgFrontend_1_1UI_1_1TextEdit_afb9b7a7d88154d774b3d727d8e640cbb}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!stripped\_name@{stripped\_name}}
\index{stripped\_name@{stripped\_name}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{stripped\_name()}{stripped\_name()}}
{\footnotesize\ttfamily QString Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::stripped\+\_\+name (\begin{DoxyParamCaption}\item[{const QString \&}]{full\+\_\+file\+\_\+name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}
2022-05-08 19:59:26 +00:00
return just a filename stripped of a whole path
\begin{DoxyParams}{Parameters}
{\em a} & filename path \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
QString containing the filename
2022-05-08 19:59:26 +00:00
\end{DoxyReturn}
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a05c54658597b04c3976c72d3a5f9add9}\label{classGpgFrontend_1_1UI_1_1TextEdit_a05c54658597b04c3976c72d3a5f9add9}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!TabCount@{TabCount}}
\index{TabCount@{TabCount}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{TabCount()}{TabCount()}}
{\footnotesize\ttfamily int Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Tab\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
2022-05-08 19:59:26 +00:00
\begin{DoxyReturn}{Returns}
int
\end{DoxyReturn}
Referenced by Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+add\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+clean\+\_\+double\+\_\+line\+\_\+breaks(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+cut\+\_\+pgp\+\_\+header(), Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+find(), and Gpg\+Frontend\+::\+UI\+::\+Main\+Window\+::slot\+\_\+import\+\_\+key\+\_\+from\+\_\+edit().
2022-05-08 19:59:26 +00:00
\mbox{\Hypertarget{classGpgFrontend_1_1UI_1_1TextEdit_a82fe98d45f54909ebea933b540367c39}\label{classGpgFrontend_1_1UI_1_1TextEdit_a82fe98d45f54909ebea933b540367c39}}
\index{GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}!UnsavedDocuments@{UnsavedDocuments}}
\index{UnsavedDocuments@{UnsavedDocuments}!GpgFrontend::UI::TextEdit@{GpgFrontend::UI::TextEdit}}
\doxysubsubsection{\texorpdfstring{UnsavedDocuments()}{UnsavedDocuments()}}
{\footnotesize\ttfamily QHash$<$ int, QString $>$ Gpg\+Frontend\+::\+UI\+::\+Text\+Edit\+::\+Unsaved\+Documents (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
2022-05-08 19:59:26 +00:00
List of currently unsaved tabs. \begin{DoxyReturn}{Returns}
QHash$<$int, QString$>$ Hash of tab indexes and title of unsaved tabs.
2022-05-08 19:59:26 +00:00
\end{DoxyReturn}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
src/ui/widgets/Text\+Edit.\+h\item
src/ui/widgets/Text\+Edit.\+cpp\end{DoxyCompactItemize}