174 lines
18 KiB
HTML
174 lines
18 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: src/ui/widgets/InfoBoardWidget.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 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('InfoBoardWidget_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">InfoBoardWidget.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef __VERIFYNOTIFICATION_H__</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define __VERIFYNOTIFICATION_H__</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "PlainTextEditorPage.h"</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "core/function/result_analyse/GpgVerifyResultAnalyse.h"</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "ui/dialog/details/VerifyDetailsDialog.h"</span></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span>Ui_InfoBoard;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">namespace </span><a class="code" href="namespaceGpgFrontend_1_1UI.html">GpgFrontend::UI</a> {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceGpgFrontend_1_1UI.html#acbaebd342a317b1f067942e5144bb00d"> 43</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  INFO_ERROR_OK = 0,</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  INFO_ERROR_WARN = 1,</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  INFO_ERROR_CRITICAL = 2,</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  INFO_ERROR_NEUTRAL = 3,</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> } <a class="code" href="namespaceGpgFrontend_1_1UI.html#acbaebd342a317b1f067942e5144bb00d">InfoBoardStatus</a>;</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html"> 53</a></span> <span class="keyword">class </span><a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html">InfoBoardWidget</a> : <span class="keyword">public</span> QWidget {</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  Q_OBJECT</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">explicit</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#adeef521a8838bf2a1692c25d9b108010">InfoBoardWidget</a>(QWidget* parent);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a4fd6f91eb435feb41ae93e44485646ab">AssociateTextEdit</a>(QTextEdit* edit);</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#adfa4acd435d2ec29f951f4e7e6a43f38">AssociateTabWidget</a>(QTabWidget* tab);</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a456f15315a03107f7757d84362c1af71">AddOptionalAction</a>(<span class="keyword">const</span> QString& name,</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> std::function<<span class="keywordtype">void</span>()>& action);</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a7d7504339221bd680fb18698dd829b32">ResetOptionActionsMenu</a>();</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#ac936cfc8e1b3af65d0d71b74fb3f0b02">SetInfoBoard</a>(<span class="keyword">const</span> QString& text,</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="namespaceGpgFrontend_1_1UI.html#acbaebd342a317b1f067942e5144bb00d">GpgFrontend::UI::InfoBoardStatus</a> verify_label_status);</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">public</span> slots:</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">void</span> SlotReset();</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a68f984815100f4ce281b9794f193e516">SlotRefresh</a>(<span class="keyword">const</span> QString& text,</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="namespaceGpgFrontend_1_1UI.html#acbaebd342a317b1f067942e5144bb00d">GpgFrontend::UI::InfoBoardStatus</a> status);</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">void</span> slot_copy();</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> slot_save();</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::shared_ptr<Ui_InfoBoard> ui_; </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a6380776ea1bf9a020370589e1e20efd3"> 133</a></span>  QTextEdit* <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a6380776ea1bf9a020370589e1e20efd3">m_text_page_</a>{</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">nullptr</span>}; </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  QTabWidget* m_tab_widget_{<span class="keyword">nullptr</span>}; </div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">void</span> <a class="code" href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a852c1fe10c7d3153a2146bcea4dbe9ad">delete_widgets_in_layout</a>(QLayout* layout, <span class="keywordtype">int</span> start_index = 0);</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> };</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> } <span class="comment">// namespace GpgFrontend::UI</span></div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor">#endif </span><span class="comment">// __VERIFYNOTIFICATION_H__</span></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html">GpgFrontend::UI::InfoBoardWidget</a></div><div class="ttdoc">Class for handling the verify label shown at bottom of a textedit-page.</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.h:53</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a456f15315a03107f7757d84362c1af71"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a456f15315a03107f7757d84362c1af71">GpgFrontend::UI::InfoBoardWidget::AddOptionalAction</a></div><div class="ttdeci">void AddOptionalAction(const QString &name, const std::function< void()> &action)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:113</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a4fd6f91eb435feb41ae93e44485646ab"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a4fd6f91eb435feb41ae93e44485646ab">GpgFrontend::UI::InfoBoardWidget::AssociateTextEdit</a></div><div class="ttdeci">void AssociateTextEdit(QTextEdit *edit)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:95</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a6380776ea1bf9a020370589e1e20efd3"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a6380776ea1bf9a020370589e1e20efd3">GpgFrontend::UI::InfoBoardWidget::m_text_page_</a></div><div class="ttdeci">QTextEdit * m_text_page_</div><div class="ttdoc">TextEdit associated to the notification.</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.h:133</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a68f984815100f4ce281b9794f193e516"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a68f984815100f4ce281b9794f193e516">GpgFrontend::UI::InfoBoardWidget::SlotRefresh</a></div><div class="ttdeci">void SlotRefresh(const QString &text, GpgFrontend::UI::InfoBoardStatus status)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:89</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a7d7504339221bd680fb18698dd829b32"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a7d7504339221bd680fb18698dd829b32">GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu</a></div><div class="ttdeci">void ResetOptionActionsMenu()</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:129</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_a852c1fe10c7d3153a2146bcea4dbe9ad"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#a852c1fe10c7d3153a2146bcea4dbe9ad">GpgFrontend::UI::InfoBoardWidget::delete_widgets_in_layout</a></div><div class="ttdeci">void delete_widgets_in_layout(QLayout *layout, int start_index=0)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:143</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_ac936cfc8e1b3af65d0d71b74fb3f0b02"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#ac936cfc8e1b3af65d0d71b74fb3f0b02">GpgFrontend::UI::InfoBoardWidget::SetInfoBoard</a></div><div class="ttdeci">void SetInfoBoard(const QString &text, GpgFrontend::UI::InfoBoardStatus verify_label_status)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:58</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_adeef521a8838bf2a1692c25d9b108010"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#adeef521a8838bf2a1692c25d9b108010">GpgFrontend::UI::InfoBoardWidget::InfoBoardWidget</a></div><div class="ttdeci">InfoBoardWidget(QWidget *parent)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:38</div></div>
|
|
<div class="ttc" id="aclassGpgFrontend_1_1UI_1_1InfoBoardWidget_html_adfa4acd435d2ec29f951f4e7e6a43f38"><div class="ttname"><a href="classGpgFrontend_1_1UI_1_1InfoBoardWidget.html#adfa4acd435d2ec29f951f4e7e6a43f38">GpgFrontend::UI::InfoBoardWidget::AssociateTabWidget</a></div><div class="ttdeci">void AssociateTabWidget(QTabWidget *tab)</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.cpp:103</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> FileReadTask.cpp:31</div></div>
|
|
<div class="ttc" id="anamespaceGpgFrontend_1_1UI_html_acbaebd342a317b1f067942e5144bb00d"><div class="ttname"><a href="namespaceGpgFrontend_1_1UI.html#acbaebd342a317b1f067942e5144bb00d">GpgFrontend::UI::InfoBoardStatus</a></div><div class="ttdeci">InfoBoardStatus</div><div class="ttdef"><b>Definition:</b> InfoBoardWidget.h:43</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>InfoBoardWidget.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.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|