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 [width=235pt] { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ _ inherit_ _ graph}
\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 [width=235pt] { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ _ coll_ _ graph}
\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
2022-11-26 18:19:17 +00:00
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_ a02fa44ba0c56f3f6ae125f8490faf254} { Slot\+ Save\+ As} } ()
\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
2022-11-26 18:19:17 +00:00
void \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a72006c9f8f45ac4d154c67f62a29446d} { Slot\+ Open\+ File} } (QString \& path)
2022-05-08 19:59:26 +00:00
\item
2022-11-26 18:19:17 +00:00
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_ ae22ecadf31648f424eb8ab86bd28ef39} { Slot\+ New\+ File\+ Tab} } () const
\item
void \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a7544182198b729373843635bbfea082a} { Slot\+ Show\+ Modified} } () const
\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
2022-11-26 18:19:17 +00:00
\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
2022-11-26 18:19:17 +00:00
\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
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em select all in current text page \end { DoxyCompactList} \end { DoxyCompactItemize}
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a0f1c7997b1cd56045091e5c9677f5d0e} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a0f1c7997b1cd56045091e5c9677f5d0e} }
2022-11-26 18:19:17 +00:00
{ \bfseries Text\+ Edit} (QWidget $ \ast $ parent)
2022-05-08 19:59:26 +00:00
\item
2022-11-26 18:19:17 +00:00
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_ a3c976a5494d06c2186d94e7cc8ebe457} { Maybe\+ Save\+ Any\+ Tab} } ()
\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
2022-11-26 18:19:17 +00:00
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} }
2022-11-26 18:19:17 +00:00
QTab\+ Widget $ \ast $ { \bfseries tab\+ \_ \+ widget\+ \_ \+ }
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
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} }
2022-11-26 18:19:17 +00:00
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)
\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
2022-11-26 18:19:17 +00:00
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_ 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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
\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}
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ add\+ \_ \+ pgp\+ \_ \+ header(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ append\+ \_ \+ selected\+ \_ \+ keys(), 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(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ find(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ import\+ \_ \+ key\+ \_ \+ from\+ \_ \+ edit(), 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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
{ \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()} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +00:00
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_ a3c976a5494d06c2186d94e7cc8ebe457} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a3c976a5494d06c2186d94e7cc8ebe457} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !MaybeSaveAnyTab@{ MaybeSaveAnyTab} }
\index { MaybeSaveAnyTab@{ MaybeSaveAnyTab} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { MaybeSaveAnyTab()} { MaybeSaveAnyTab()} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily bool 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}
2022-11-26 18:19:17 +00:00
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
2022-11-26 18:19:17 +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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
References Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Get\+ Text\+ Page(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Notify\+ File\+ Saved(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Set\+ File\+ Path(), and Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Will\+ Charset\+ Change().
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} }
2022-11-26 18:19:17 +00:00
{ \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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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
2022-11-26 18:19:17 +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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +00:00
Referenced by 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(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ verify(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Decrypt(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Decrypt\+ Verify(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Encrypt\+ Sign(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Sign(), and Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::\+ Slot\+ File\+ Verify().
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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ add\+ \_ \+ pgp\+ \_ \+ header(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ append\+ \_ \+ selected\+ \_ \+ keys(), 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(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ find(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ import\+ \_ \+ key\+ \_ \+ from\+ \_ \+ edit(), 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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
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_ ae22ecadf31648f424eb8ab86bd28ef39} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ ae22ecadf31648f424eb8ab86bd28ef39} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotNewFileTab@{ SlotNewFileTab} }
\index { SlotNewFileTab@{ SlotNewFileTab} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotNewFileTab} { SlotNewFileTab} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Text\+ Edit\+ ::\+ Slot\+ New\+ File\+ Tab (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} ) const\hspace { 0.3cm} { \ttfamily [slot]} }
2022-05-08 19:59:26 +00:00
New File Tab to do file operation
2022-11-26 18:19:17 +00:00
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} }
2022-11-26 18:19:17 +00:00
{ \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} }
2022-11-26 18:19:17 +00:00
{ \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
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ a72006c9f8f45ac4d154c67f62a29446d} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a72006c9f8f45ac4d154c67f62a29446d} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotOpenFile@{ SlotOpenFile} }
\index { SlotOpenFile@{ SlotOpenFile} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotOpenFile} { SlotOpenFile} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Text\+ Edit\+ ::\+ Slot\+ Open\+ File (\begin { DoxyParamCaption} \item [{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
2022-11-26 18:19:17 +00:00
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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ 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} }
2022-11-26 18:19:17 +00:00
{ \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
2022-11-26 18:19:17 +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_ a02fa44ba0c56f3f6ae125f8490faf254} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a02fa44ba0c56f3f6ae125f8490faf254} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotSaveAs@{ SlotSaveAs} }
\index { SlotSaveAs@{ SlotSaveAs} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotSaveAs} { SlotSaveAs} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily bool 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}
2022-11-26 18:19:17 +00:00
References Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Get\+ File\+ Path().
2022-05-08 22:01:23 +00:00
2022-11-26 18:19:17 +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_ a7544182198b729373843635bbfea082a} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a7544182198b729373843635bbfea082a} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotShowModified@{ SlotShowModified} }
\index { SlotShowModified@{ SlotShowModified} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotShowModified} { SlotShowModified} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily void Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Text\+ Edit\+ ::\+ Slot\+ Show\+ Modified (\begin { DoxyParamCaption} { } \end { DoxyParamCaption} ) const\hspace { 0.3cm} { \ttfamily [slot]} }
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +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} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ af1e364b513f566c743a5d36c19098762} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ af1e364b513f566c743a5d36c19098762} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotSwitchTabUp@{ SlotSwitchTabUp} }
\index { SlotSwitchTabUp@{ SlotSwitchTabUp} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotSwitchTabUp} { SlotSwitchTabUp} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ a4a81e69f6dc74ea649ca9a2358342fd5} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1TextEdit_ a4a81e69f6dc74ea649ca9a2358342fd5} }
\index { GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} !SlotUndo@{ SlotUndo} }
\index { SlotUndo@{ SlotUndo} !GpgFrontend::UI::TextEdit@{ GpgFrontend::UI::TextEdit} }
\doxysubsubsection { \texorpdfstring { SlotUndo} { SlotUndo} }
2022-11-26 18:19:17 +00:00
{ \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.
2022-11-26 18:19:17 +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_ 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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ add\+ \_ \+ pgp\+ \_ \+ header(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ append\+ \_ \+ selected\+ \_ \+ keys(), 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(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ find(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ import\+ \_ \+ key\+ \_ \+ from\+ \_ \+ edit(), 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_ 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()} }
2022-11-26 18:19:17 +00:00
{ \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}
2022-11-26 18:19:17 +00:00
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}