237 lines
35 KiB
HTML
237 lines
35 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=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.3"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: src/ui/widgets/TextEdit.h Source File</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 id="projectrow">
|
|
<td id="projectalign">
|
|
<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.3 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search",'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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('TextEdit_8h_source.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="headertitle"><div class="title">TextEdit.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#ifndef __TEXTEDIT_H__</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#define __TEXTEDIT_H__</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include "ui/dialog/QuitDialog.h"</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include "ui/widgets/FilePage.h"</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include "ui/widgets/HelpPage.h"</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include "ui/widgets/PlainTextEditorPage.h"</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html"> 41</a></span><span class="keyword">class </span><a class="code hl_class" href="classGpgFrontend_1_1UI_1_1TextEdit.html">TextEdit</a> : <span class="keyword">public</span> QWidget {</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> Q_OBJECT</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1TextEdit.html">TextEdit</a>(QWidget* parent);</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72ed46454c833adb038c36d8d4322d18">LoadFile</a>(<span class="keyword">const</span> QString& fileName);</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">MaybeSaveAnyTab</a>();</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> [[nodiscard]] <span class="keywordtype">int</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a05c54658597b04c3976c72d3a5f9add9">TabCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> [[nodiscard]] <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a>* <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7aa1230fbf796225bd6b83d381e11a3b">CurTextPage</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> [[nodiscard]] <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1FilePage.html">FilePage</a>* <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa30daf558cb85bbdcad55a805a106109">CurFilePage</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> [[nodiscard]] QHash<int, QString> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a82fe98d45f54909ebea933b540367c39">UnsavedDocuments</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> QTabWidget* tab_widget_; </div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a>* <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a48351dc1529da3b8da311f65b735b5f1">SlotCurPageTextEdit</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_class" href="classGpgFrontend_1_1UI_1_1FilePage.html">FilePage</a>* <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72014409d407c161b048e07c061b4cf9">SlotCurPageFileTreeView</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6a02fce9dc4039c982d6dd19231517ee">SlotQuote</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#af466ec2b8ab3f695d206efc0574bbe20">SlotFillTextEditWithText</a>(<span class="keyword">const</span> QString& text) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ace0b8f4c161db9f4f5db5ecbfd7a91c0">SlotSave</a>();</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keywordtype">bool</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a02fa44ba0c56f3f6ae125f8490faf254">SlotSaveAs</a>();</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a15335d38187ddf580b7200d856768cfb">SlotOpen</a>();</div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#adca2bbfa746b5598f2a4f74026b84224">SlotPrint</a>();</div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a57a46ab5595622ae0b7bceef7d56bd7c">SlotNewTab</a>();</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72006c9f8f45ac4d154c67f62a29446d">SlotOpenFile</a>(QString& path);</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4">slotNewHelpTab</a>(<span class="keyword">const</span> QString& title, <span class="keyword">const</span> QString& path) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae22ecadf31648f424eb8ab86bd28ef39">SlotNewFileTab</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7544182198b729373843635bbfea082a">SlotShowModified</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa21659aa7acba98dfd6286d69e00ab9b">SlotCloseTab</a>();</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#af1e364b513f566c743a5d36c19098762">SlotSwitchTabUp</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a576e06390e65576465297d2ab8d7d474">SlotSwitchTabDown</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keyword">static</span> QString <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#afb9b7a7d88154d774b3d727d8e640cbb">stripped_name</a>(<span class="keyword">const</span> QString& full_file_name);</div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">maybe_save_current_tab</a>(<span class="keywordtype">bool</span> askToSave);</div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec"> 211</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec">count_page_</a>; </div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> <span class="keywordtype">void</span> slot_file_page_path_changed(<span class="keyword">const</span> QString& path) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> </div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a12f65fbc4984c266a5df4505ecde7c42">slot_remove_tab</a>(<span class="keywordtype">int</span> index);</div>
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
|
|
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae1e710c6722910b8d35df97aaabb3162">SlotCut</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3599bd01636a873cf3437ab6b9d38780">SlotCopy</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
|
|
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa2230418dc8f72c400f5a90082a983c9">SlotPaste</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> </div>
|
|
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a4a81e69f6dc74ea649ca9a2358342fd5">SlotUndo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> </div>
|
|
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae2b3bf422789d56087face98b6a9e929">SlotRedo</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> </div>
|
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <span class="keywordtype">void</span> SlotZoomIn() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
|
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keywordtype">void</span> SlotZoomOut() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
|
|
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6c814253dfc061bfdae0fa71c6196c55">SlotSelectAll</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> </div>
|
|
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">save_file</a>(<span class="keyword">const</span> QString& fileName);</div>
|
|
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span>};</div>
|
|
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> </div>
|
|
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span>} <span class="comment">// namespace GpgFrontend::UI</span></div>
|
|
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> </div>
|
|
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span><span class="preprocessor">#endif </span><span class="comment">// __TEXTEDIT_H__</span></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1FilePage_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1FilePage.html">GpgFrontend::UI::FilePage</a></div><div class="ttdef"><b>Definition:</b> FilePage.h:45</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1PlainTextEditorPage_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">GpgFrontend::UI::PlainTextEditorPage</a></div><div class="ttdoc">Class for handling a single tab of the tabwidget.</div><div class="ttdef"><b>Definition:</b> PlainTextEditorPage.h:43</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html">GpgFrontend::UI::TextEdit</a></div><div class="ttdoc">TextEdit class.</div><div class="ttdef"><b>Definition:</b> TextEdit.h:41</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a02fa44ba0c56f3f6ae125f8490faf254"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a02fa44ba0c56f3f6ae125f8490faf254">GpgFrontend::UI::TextEdit::SlotSaveAs</a></div><div class="ttdeci">bool SlotSaveAs()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:199</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a05c54658597b04c3976c72d3a5f9add9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a05c54658597b04c3976c72d3a5f9add9">GpgFrontend::UI::TextEdit::TabCount</a></div><div class="ttdeci">int TabCount() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:372</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a12f65fbc4984c266a5df4505ecde7c42"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a12f65fbc4984c266a5df4505ecde7c42">GpgFrontend::UI::TextEdit::slot_remove_tab</a></div><div class="ttdeci">void slot_remove_tab(int index)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:223</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a15335d38187ddf580b7200d856768cfb"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a15335d38187ddf580b7200d856768cfb">GpgFrontend::UI::TextEdit::SlotOpen</a></div><div class="ttdeci">void SlotOpen()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:110</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3599bd01636a873cf3437ab6b9d38780"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3599bd01636a873cf3437ab6b9d38780">GpgFrontend::UI::TextEdit::SlotCopy</a></div><div class="ttdeci">void SlotCopy() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:519</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c17fdf3abf9c4fb6ce35cfb8f0f8fc4">GpgFrontend::UI::TextEdit::slotNewHelpTab</a></div><div class="ttdeci">void slotNewHelpTab(const QString &title, const QString &path) const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:66</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a3c976a5494d06c2186d94e7cc8ebe457"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab</a></div><div class="ttdeci">bool MaybeSaveAnyTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:304</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a48351dc1529da3b8da311f65b735b5f1"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a48351dc1529da3b8da311f65b735b5f1">GpgFrontend::UI::TextEdit::SlotCurPageTextEdit</a></div><div class="ttdeci">PlainTextEditorPage * SlotCurPageTextEdit() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:374</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a4a81e69f6dc74ea649ca9a2358342fd5"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a4a81e69f6dc74ea649ca9a2358342fd5">GpgFrontend::UI::TextEdit::SlotUndo</a></div><div class="ttdeci">void SlotUndo() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:537</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a576e06390e65576465297d2ab8d7d474"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a576e06390e65576465297d2ab8d7d474">GpgFrontend::UI::TextEdit::SlotSwitchTabDown</a></div><div class="ttdeci">void SlotSwitchTabDown() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:481</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a57a46ab5595622ae0b7bceef7d56bd7c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a57a46ab5595622ae0b7bceef7d56bd7c">GpgFrontend::UI::TextEdit::SlotNewTab</a></div><div class="ttdeci">void SlotNewTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:54</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a66b6f6633e7ac71e5fe8b7814a81cadf"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a66b6f6633e7ac71e5fe8b7814a81cadf">GpgFrontend::UI::TextEdit::save_file</a></div><div class="ttdeci">bool save_file(const QString &fileName)</div><div class="ttdoc">Saves the content of currentTab to the file filename.</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:164</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a6a02fce9dc4039c982d6dd19231517ee"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6a02fce9dc4039c982d6dd19231517ee">GpgFrontend::UI::TextEdit::SlotQuote</a></div><div class="ttdeci">void SlotQuote() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:385</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a6c814253dfc061bfdae0fa71c6196c55"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a6c814253dfc061bfdae0fa71c6196c55">GpgFrontend::UI::TextEdit::SlotSelectAll</a></div><div class="ttdeci">void SlotSelectAll() const</div><div class="ttdoc">select all in current text page</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:573</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a72006c9f8f45ac4d154c67f62a29446d"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72006c9f8f45ac4d154c67f62a29446d">GpgFrontend::UI::TextEdit::SlotOpenFile</a></div><div class="ttdeci">void SlotOpenFile(QString &path)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:82</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a72014409d407c161b048e07c061b4cf9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72014409d407c161b048e07c061b4cf9">GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView</a></div><div class="ttdeci">FilePage * SlotCurPageFileTreeView() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:380</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a72ed46454c833adb038c36d8d4322d18"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a72ed46454c833adb038c36d8d4322d18">GpgFrontend::UI::TextEdit::LoadFile</a></div><div class="ttdeci">void LoadFile(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:415</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a747d3740a88295e6c9565788d4cf56ec"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a747d3740a88295e6c9565788d4cf56ec">GpgFrontend::UI::TextEdit::count_page_</a></div><div class="ttdeci">int count_page_</div><div class="ttdoc">int containing the number of added tabs</div><div class="ttdef"><b>Definition:</b> TextEdit.h:211</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a7544182198b729373843635bbfea082a"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7544182198b729373843635bbfea082a">GpgFrontend::UI::TextEdit::SlotShowModified</a></div><div class="ttdeci">void SlotShowModified() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:462</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a7aa1230fbf796225bd6b83d381e11a3b"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a7aa1230fbf796225bd6b83d381e11a3b">GpgFrontend::UI::TextEdit::CurTextPage</a></div><div class="ttdeci">PlainTextEditorPage * CurTextPage() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:359</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a82fe98d45f54909ebea933b540367c39"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a82fe98d45f54909ebea933b540367c39">GpgFrontend::UI::TextEdit::UnsavedDocuments</a></div><div class="ttdeci">QHash< int, QString > UnsavedDocuments() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:492</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_a8fad090a19479a9fe89432300cca2b6c"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#a8fad090a19479a9fe89432300cca2b6c">GpgFrontend::UI::TextEdit::maybe_save_current_tab</a></div><div class="ttdeci">bool maybe_save_current_tab(bool askToSave)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:256</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa21659aa7acba98dfd6286d69e00ab9b"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa21659aa7acba98dfd6286d69e00ab9b">GpgFrontend::UI::TextEdit::SlotCloseTab</a></div><div class="ttdeci">void SlotCloseTab()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:216</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa2230418dc8f72c400f5a90082a983c9"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa2230418dc8f72c400f5a90082a983c9">GpgFrontend::UI::TextEdit::SlotPaste</a></div><div class="ttdeci">void SlotPaste() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:529</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_aa30daf558cb85bbdcad55a805a106109"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#aa30daf558cb85bbdcad55a805a106109">GpgFrontend::UI::TextEdit::CurFilePage</a></div><div class="ttdeci">FilePage * CurFilePage() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:363</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ace0b8f4c161db9f4f5db5ecbfd7a91c0"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ace0b8f4c161db9f4f5db5ecbfd7a91c0">GpgFrontend::UI::TextEdit::SlotSave</a></div><div class="ttdeci">void SlotSave()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:148</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_adca2bbfa746b5598f2a4f74026b84224"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#adca2bbfa746b5598f2a4f74026b84224">GpgFrontend::UI::TextEdit::SlotPrint</a></div><div class="ttdeci">void SlotPrint()</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:440</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae1e710c6722910b8d35df97aaabb3162"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae1e710c6722910b8d35df97aaabb3162">GpgFrontend::UI::TextEdit::SlotCut</a></div><div class="ttdeci">void SlotCut() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:511</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae22ecadf31648f424eb8ab86bd28ef39"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae22ecadf31648f424eb8ab86bd28ef39">GpgFrontend::UI::TextEdit::SlotNewFileTab</a></div><div class="ttdeci">void SlotNewFileTab() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:72</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_ae2b3bf422789d56087face98b6a9e929"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#ae2b3bf422789d56087face98b6a9e929">GpgFrontend::UI::TextEdit::SlotRedo</a></div><div class="ttdeci">void SlotRedo() const</div><div class="ttdoc">redo last change in current text page</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:545</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_af1e364b513f566c743a5d36c19098762"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#af1e364b513f566c743a5d36c19098762">GpgFrontend::UI::TextEdit::SlotSwitchTabUp</a></div><div class="ttdeci">void SlotSwitchTabUp() const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:474</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_af466ec2b8ab3f695d206efc0574bbe20"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#af466ec2b8ab3f695d206efc0574bbe20">GpgFrontend::UI::TextEdit::SlotFillTextEditWithText</a></div><div class="ttdeci">void SlotFillTextEditWithText(const QString &text) const</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:407</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1TextEdit_html_afb9b7a7d88154d774b3d727d8e640cbb"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1TextEdit.html#afb9b7a7d88154d774b3d727d8e640cbb">GpgFrontend::UI::TextEdit::stripped_name</a></div><div class="ttdeci">static QString stripped_name(const QString &full_file_name)</div><div class="ttdef"><b>Definition:</b> TextEdit.cpp:436</div></div>
|
|
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a></div><div class="ttdef"><b>Definition:</b> VerifyDetailsDialog.cpp:33</div></div>
|
|
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_da5c6b39c0a2f54e57df6799511cd3ab.html">ui</a></li><li class="navelem"><a class="el" href="dir_f3911b9629b0e27ea480d06d47573cbf.html">widgets</a></li><li class="navelem"><b>TextEdit.h</b></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.3 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|