476 lines
27 KiB
HTML
476 lines
27 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: GpgFrontend::UI::PlainTextEditorPage Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">GpgFrontend Project
|
|
</div>
|
|
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-slots">Private Slots</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::UI::PlainTextEditorPage Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling a single tab of the tabwidget.
|
|
<a href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="PlainTextEditorPage_8h_source.html">PlainTextEditorPage.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::UI::PlainTextEditorPage:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1PlainTextEditorPage_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aGpgFrontend_1_1UI_1_1PlainTextEditorPage_inherit__map" id="aGpgFrontend_1_1UI_1_1PlainTextEditorPage_inherit__map">
|
|
<area shape="rect" title="Class for handling a single tab of the tabwidget." alt="" coords="5,131,208,443"/>
|
|
<area shape="rect" title=" " alt="" coords="67,5,146,83"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::UI::PlainTextEditorPage:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1PlainTextEditorPage_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1UI_1_1PlainTextEditorPage_coll__map" id="aGpgFrontend_1_1UI_1_1PlainTextEditorPage_coll__map">
|
|
<area shape="rect" title="Class for handling a single tab of the tabwidget." alt="" coords="5,440,208,737"/>
|
|
<area shape="rect" title=" " alt="" coords="22,293,101,370"/>
|
|
<area shape="rect" title=" " alt="" coords="125,285,273,377"/>
|
|
<area shape="rect" title=" " alt="" coords="120,145,277,223"/>
|
|
<area shape="rect" title=" " alt="" coords="179,5,218,83"/>
|
|
</map>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:afd3749488fdd3d1c53446fb8c833f3f4"><td class="memItemLeft" align="right" valign="top"><a id="afd3749488fdd3d1c53446fb8c833f3f4"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#afd3749488fdd3d1c53446fb8c833f3f4">SignalUIBytesDisplayed</a> ()</td></tr>
|
|
<tr class="memdesc:afd3749488fdd3d1c53446fb8c833f3f4"><td class="mdescLeft"> </td><td class="mdescRight">this signal is emitted when the bytes has been append in texteditor. <br /></td></tr>
|
|
<tr class="separator:afd3749488fdd3d1c53446fb8c833f3f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a8759224e57d4c322933ed3df6d96e5f1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a8759224e57d4c322933ed3df6d96e5f1">PlainTextEditorPage</a> (QString file_path={}, QWidget *parent=nullptr)</td></tr>
|
|
<tr class="separator:a8759224e57d4c322933ed3df6d96e5f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aff81f0f98a399fa55b6b0ebf2230d4cf"><td class="memItemLeft" align="right" valign="top">const QString & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aff81f0f98a399fa55b6b0ebf2230d4cf">GetFilePath</a> () const</td></tr>
|
|
<tr class="separator:aff81f0f98a399fa55b6b0ebf2230d4cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa9e82690824c82e7628ba4ace9d6e2fe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aa9e82690824c82e7628ba4ace9d6e2fe">SetFilePath</a> (const QString &filePath)</td></tr>
|
|
<tr class="separator:aa9e82690824c82e7628ba4ace9d6e2fe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6218e6e12bdba0228e4ab4276f7fed7a"><td class="memItemLeft" align="right" valign="top">QPlainTextEdit * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a6218e6e12bdba0228e4ab4276f7fed7a">GetTextPage</a> ()</td></tr>
|
|
<tr class="separator:a6218e6e12bdba0228e4ab4276f7fed7a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5dfdfd48ef64cc46e524ec70a22fe3a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#af5dfdfd48ef64cc46e524ec70a22fe3a">ShowNotificationWidget</a> (QWidget *widget, const char *className)</td></tr>
|
|
<tr class="separator:af5dfdfd48ef64cc46e524ec70a22fe3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee4f46e54f29da671838ed232e526700"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aee4f46e54f29da671838ed232e526700">CloseNoteByClass</a> (const char *className)</td></tr>
|
|
<tr class="separator:aee4f46e54f29da671838ed232e526700"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac3404f71f0f93cd7f5cb64d5d56624d7"><td class="memItemLeft" align="right" valign="top"><a id="ac3404f71f0f93cd7f5cb64d5d56624d7"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>ReadFile</b> ()</td></tr>
|
|
<tr class="separator:ac3404f71f0f93cd7f5cb64d5d56624d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac1902b063decfeebe7f0908cbfe618ce"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ac1902b063decfeebe7f0908cbfe618ce">ReadDone</a> () const</td></tr>
|
|
<tr class="separator:ac1902b063decfeebe7f0908cbfe618ce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a29b3d63ba9590e775f42c779c76102e5"><td class="memItemLeft" align="right" valign="top"><a id="a29b3d63ba9590e775f42c779c76102e5"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a29b3d63ba9590e775f42c779c76102e5">NotifyFileSaved</a> ()</td></tr>
|
|
<tr class="memdesc:a29b3d63ba9590e775f42c779c76102e5"><td class="mdescLeft"> </td><td class="mdescRight">notify the user that the file has been saved. <br /></td></tr>
|
|
<tr class="separator:a29b3d63ba9590e775f42c779c76102e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
|
|
Private Slots</h2></td></tr>
|
|
<tr class="memitem:a45267bcfc8fc83851894061c0fe2a9c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a45267bcfc8fc83851894061c0fe2a9c2">slot_format_gpg_header</a> ()</td></tr>
|
|
<tr class="separator:a45267bcfc8fc83851894061c0fe2a9c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a184985104f23da8fdf2b9aaf7b27405b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a184985104f23da8fdf2b9aaf7b27405b">slot_insert_text</a> (QByteArray bytes_data)</td></tr>
|
|
<tr class="separator:a184985104f23da8fdf2b9aaf7b27405b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a0e0a36396ea55f5dbe6197284cf98192"><td class="memItemLeft" align="right" valign="top"><a id="a0e0a36396ea55f5dbe6197284cf98192"></a>
|
|
std::shared_ptr< Ui_PlainTextEditor > </td><td class="memItemRight" valign="bottom"><b>ui_</b></td></tr>
|
|
<tr class="separator:a0e0a36396ea55f5dbe6197284cf98192"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae867b6329fcb1978479a9d70f7b017db"><td class="memItemLeft" align="right" valign="top"><a id="ae867b6329fcb1978479a9d70f7b017db"></a>
|
|
QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae867b6329fcb1978479a9d70f7b017db">full_file_path_</a></td></tr>
|
|
<tr class="memdesc:ae867b6329fcb1978479a9d70f7b017db"><td class="mdescLeft"> </td><td class="mdescRight">The path to the file handled in the tab. <br /></td></tr>
|
|
<tr class="separator:ae867b6329fcb1978479a9d70f7b017db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4f94e9ef7889a169bda5a47b7f657358"><td class="memItemLeft" align="right" valign="top"><a id="a4f94e9ef7889a169bda5a47b7f657358"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a4f94e9ef7889a169bda5a47b7f657358">sign_marked_</a> {}</td></tr>
|
|
<tr class="memdesc:a4f94e9ef7889a169bda5a47b7f657358"><td class="mdescLeft"> </td><td class="mdescRight">true, if the signed header is marked, false if not <br /></td></tr>
|
|
<tr class="separator:a4f94e9ef7889a169bda5a47b7f657358"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b8ce290e1b949b56734227e8d42adba"><td class="memItemLeft" align="right" valign="top"><a id="a5b8ce290e1b949b56734227e8d42adba"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>read_done_</b> = false</td></tr>
|
|
<tr class="separator:a5b8ce290e1b949b56734227e8d42adba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a010bae8d8d967c8cc81cd42547de5dcb"><td class="memItemLeft" align="right" valign="top"><a id="a010bae8d8d967c8cc81cd42547de5dcb"></a>
|
|
size_t </td><td class="memItemRight" valign="bottom"><b>read_bytes_</b> = 0</td></tr>
|
|
<tr class="separator:a010bae8d8d967c8cc81cd42547de5dcb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e64bcd36cf90b0eec2f05361c6c6fb3"><td class="memItemLeft" align="right" valign="top"><a id="a0e64bcd36cf90b0eec2f05361c6c6fb3"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>is_crlf_</b> = false</td></tr>
|
|
<tr class="separator:a0e64bcd36cf90b0eec2f05361c6c6fb3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Class for handling a single tab of the tabwidget. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a8759224e57d4c322933ed3df6d96e5f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8759224e57d4c322933ed3df6d96e5f1">◆ </a></span>PlainTextEditorPage()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::UI::PlainTextEditorPage::PlainTextEditorPage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QString </td>
|
|
<td class="paramname"><em>file_path</em> = <code>{}</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QWidget * </td>
|
|
<td class="paramname"><em>parent</em> = <code>nullptr</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Add layout and add plaintextedit</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">file_path</td><td>Path of the file handled in this tab </td></tr>
|
|
<tr><td class="paramname">parent</td><td>Pointer to the parent widget </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae867b6329fcb1978479a9d70f7b017db">full_file_path_</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="aee4f46e54f29da671838ed232e526700"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee4f46e54f29da671838ed232e526700">◆ </a></span>CloseNoteByClass()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::PlainTextEditorPage::CloseNoteByClass </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>className</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Hide all widgets with the given className</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">className</td><td>The classname of the widgets to hide </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#ae28089efbd236708601470f30f26faaa">GpgFrontend::UI::MainWindow::slot_find()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aff81f0f98a399fa55b6b0ebf2230d4cf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aff81f0f98a399fa55b6b0ebf2230d4cf">◆ </a></span>GetFilePath()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const QString & GpgFrontend::UI::PlainTextEditorPage::GetFilePath </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Get the filepath of the currently activated tab. </p>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae867b6329fcb1978479a9d70f7b017db">full_file_path_</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">GpgFrontend::UI::TextEdit::maybe_save_current_tab()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a306999df608947dc0728d651893b20f6">GpgFrontend::UI::TextEdit::SlotSaveAs()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6218e6e12bdba0228e4ab4276f7fed7a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6218e6e12bdba0228e4ab4276f7fed7a">◆ </a></span>GetTextPage()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QPlainTextEdit * GpgFrontend::UI::PlainTextEditorPage::GetTextPage </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Return pointer tp the textedit of the currently activated tab. </p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">GpgFrontend::UI::TextEdit::maybe_save_current_tab()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">GpgFrontend::UI::TextEdit::save_file()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a0c531f2c673caed29225a323e750205f">GpgFrontend::UI::FindWidget::set_background()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a821247d738457c4ee046162aad6728f9">GpgFrontend::UI::MainWindow::slot_add_pgp_header()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#aea9274389c3b049793fe5aa5a6adf63c">GpgFrontend::UI::MainWindow::slot_clean_double_line_breaks()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a7f5a88922d06bee977335fb4b5f1d86d">GpgFrontend::UI::MainWindow::slot_cut_pgp_header()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a55926649e28a96318b89afba01b966bf">GpgFrontend::UI::MainWindow::slot_import_key_from_edit()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a184985104f23da8fdf2b9aaf7b27405b">slot_insert_text()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a3751c475a29a5827a5eea587ffa6abfb">GpgFrontend::UI::MainWindow::SlotDecrypt()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a7d38ca18a8688b5df163157d26a14c72">GpgFrontend::UI::MainWindow::SlotDecryptVerify()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#a07d02cdb29a8101f988e776ceecc49ad">GpgFrontend::UI::MainWindow::SlotEncrypt()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#aca691847190c39fe2d41d669b1e686b8">GpgFrontend::UI::MainWindow::SlotEncryptSign()</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#aa2aeef298a7a05fc1b38bad75b62aad8">GpgFrontend::UI::MainWindow::SlotSign()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#ac9bf2a20727eb8e727aa2e3ce5c248e5">GpgFrontend::UI::MainWindow::SlotVerify()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac1902b063decfeebe7f0908cbfe618ce"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac1902b063decfeebe7f0908cbfe618ce">◆ </a></span>ReadDone()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::UI::PlainTextEditorPage::ReadDone </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>true </dd>
|
|
<dd>
|
|
false </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">GpgFrontend::UI::TextEdit::maybe_save_current_tab()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa9e82690824c82e7628ba4ace9d6e2fe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa9e82690824c82e7628ba4ace9d6e2fe">◆ </a></span>SetFilePath()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::PlainTextEditorPage::SetFilePath </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString & </td>
|
|
<td class="paramname"><em>filePath</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set filepath of currently activated tab.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">filePath</td><td>The path to be set </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae867b6329fcb1978479a9d70f7b017db">full_file_path_</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">GpgFrontend::UI::TextEdit::save_file()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af5dfdfd48ef64cc46e524ec70a22fe3a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af5dfdfd48ef64cc46e524ec70a22fe3a">◆ </a></span>ShowNotificationWidget()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::PlainTextEditorPage::ShowNotificationWidget </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QWidget * </td>
|
|
<td class="paramname"><em>widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>className</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Show additional widget at buttom of currently active tab</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">widget</td><td>The widget to be added </td></tr>
|
|
<tr><td class="paramname">className</td><td>The name to handle the added widget </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1MainWindow.html#ae28089efbd236708601470f30f26faaa">GpgFrontend::UI::MainWindow::slot_find()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a45267bcfc8fc83851894061c0fe2a9c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a45267bcfc8fc83851894061c0fe2a9c2">◆ </a></span>slot_format_gpg_header</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::PlainTextEditorPage::slot_format_gpg_header </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Format the gpg header in another font-style </p>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a4f94e9ef7889a169bda5a47b7f657358">sign_marked_</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a184985104f23da8fdf2b9aaf7b27405b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a184985104f23da8fdf2b9aaf7b27405b">◆ </a></span>slot_insert_text</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::PlainTextEditorPage::slot_insert_text </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QByteArray </td>
|
|
<td class="paramname"><em>bytes_data</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">data</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a6218e6e12bdba0228e4ab4276f7fed7a">GetTextPage()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#afd3749488fdd3d1c53446fb8c833f3f4">SignalUIBytesDisplayed()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/ui/widgets/<a class="el" href="PlainTextEditorPage_8h_source.html">PlainTextEditorPage.h</a></li>
|
|
<li>src/ui/widgets/PlainTextEditorPage.cpp</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="namespaceGpgFrontend_1_1UI.html">UI</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|