GpgFrontend-Doxygen/docs/html/structGpgFrontend_1_1UI_1_1KeyTable.html

301 lines
16 KiB
HTML
Raw Normal View History

2022-05-08 19:59:26 +00:00
<!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"/>
2022-05-08 22:01:23 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
2022-05-08 19:59:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::KeyTable Struct 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>
2022-05-08 22:01:23 +00:00
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
2022-05-08 19:59:26 +00:00
<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 -->
2022-05-08 19:59:26 +00:00
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2022-05-08 19:59:26 +00:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-05-08 22:01:23 +00:00
/* @license-end */</script>
2022-05-08 19:59:26 +00:00
<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">
2022-05-08 22:01:23 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2022-05-08 19:59:26 +00:00
$(document).ready(function(){initNavTree('structGpgFrontend_1_1UI_1_1KeyTable.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="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structGpgFrontend_1_1UI_1_1KeyTable-members.html">List of all members</a> </div>
2022-05-08 22:01:23 +00:00
<div class="headertitle">
<div class="title">GpgFrontend::UI::KeyTable Struct Reference</div> </div>
2022-05-08 19:59:26 +00:00
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::KeyTable:</div>
<div class="dyncontent">
<div class="center"><img src="structGpgFrontend_1_1UI_1_1KeyTable__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1KeyTable_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1UI_1_1KeyTable_coll__map" id="aGpgFrontend_1_1UI_1_1KeyTable_coll__map">
<area shape="rect" title=" " alt="" coords="65,1036,259,1231"/>
<area shape="rect" title=" " alt="" coords="5,479,204,571"/>
<area shape="rect" title=" " alt="" coords="241,145,398,223"/>
<area shape="rect" title=" " alt="" coords="318,348,489,455"/>
<area shape="rect" title=" " alt="" coords="409,5,448,83"/>
<area shape="rect" title=" " alt="" coords="473,247,603,324"/>
<area shape="rect" title=" " alt="" coords="281,881,470,973"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKey.html" title=" " alt="" coords="287,595,464,819"/>
<area shape="rect" title=" " alt="" coords="188,363,280,440"/>
2022-05-08 22:01:23 +00:00
</map>
2022-05-08 19:59:26 +00:00
</div>
<table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
2022-05-08 19:59:26 +00:00
Public Member Functions</h2></td></tr>
<tr class="memitem:a88606ba6954d60244faf38de419bfc47"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#a88606ba6954d60244faf38de419bfc47">KeyTable</a> (QTableWidget *_key_list, KeyListRow::KeyType _select_type, KeyListColumn::InfoType _info_type, std::function&lt; bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;)&gt; _filter=[](const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;) -&gt; bool { return true;})</td></tr>
<tr class="memdesc:a88606ba6954d60244faf38de419bfc47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Key Table object. <a href="structGpgFrontend_1_1UI_1_1KeyTable.html#a88606ba6954d60244faf38de419bfc47">More...</a><br /></td></tr>
<tr class="separator:a88606ba6954d60244faf38de419bfc47"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 19:59:26 +00:00
<tr class="memitem:aaac381e205c323444098803e0295060f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#aaac381e205c323444098803e0295060f">Refresh</a> (KeyLinkListPtr m_keys=nullptr)</td></tr>
<tr class="separator:aaac381e205c323444098803e0295060f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77eba4055ecb7d32fab06f65b80ae07e"><td class="memItemLeft" align="right" valign="top">KeyIdArgsListPtr &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#a77eba4055ecb7d32fab06f65b80ae07e">GetChecked</a> ()</td></tr>
<tr class="memdesc:a77eba4055ecb7d32fab06f65b80ae07e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Checked object. <a href="structGpgFrontend_1_1UI_1_1KeyTable.html#a77eba4055ecb7d32fab06f65b80ae07e">More...</a><br /></td></tr>
<tr class="separator:a77eba4055ecb7d32fab06f65b80ae07e"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a0719f023069e0f6e29db20b6cd0cf5ea"><td class="memItemLeft" align="right" valign="top"><a id="a0719f023069e0f6e29db20b6cd0cf5ea"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>UncheckALL</b> () const</td></tr>
<tr class="separator:a0719f023069e0f6e29db20b6cd0cf5ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a9ef84e0b2d9146b962ca4ca79e7f0e9c"><td class="memItemLeft" align="right" valign="top"><a id="a9ef84e0b2d9146b962ca4ca79e7f0e9c"></a>
2022-05-08 19:59:26 +00:00
void&#160;</td><td class="memItemRight" valign="bottom"><b>CheckALL</b> () const</td></tr>
<tr class="separator:a9ef84e0b2d9146b962ca4ca79e7f0e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0713ebbc21e78995db9a856d746fe6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#ae0713ebbc21e78995db9a856d746fe6c">SetChecked</a> (KeyIdArgsListPtr key_ids)</td></tr>
<tr class="memdesc:ae0713ebbc21e78995db9a856d746fe6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Checked object. <a href="structGpgFrontend_1_1UI_1_1KeyTable.html#ae0713ebbc21e78995db9a856d746fe6c">More...</a><br /></td></tr>
<tr class="separator:ae0713ebbc21e78995db9a856d746fe6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2022-05-08 22:01:23 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
2022-05-08 19:59:26 +00:00
Public Attributes</h2></td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:a5bce4bf0dc41ac05390a4f93da8b8985"><td class="memItemLeft" align="right" valign="top"><a id="a5bce4bf0dc41ac05390a4f93da8b8985"></a>
2022-05-08 19:59:26 +00:00
QTableWidget *&#160;</td><td class="memItemRight" valign="bottom"><b>key_list_</b></td></tr>
<tr class="separator:a5bce4bf0dc41ac05390a4f93da8b8985"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:ab0aee9ed16af04048f456abddb4dc007"><td class="memItemLeft" align="right" valign="top"><a id="ab0aee9ed16af04048f456abddb4dc007"></a>
2022-05-08 19:59:26 +00:00
KeyListRow::KeyType&#160;</td><td class="memItemRight" valign="bottom"><b>select_type_</b></td></tr>
<tr class="separator:ab0aee9ed16af04048f456abddb4dc007"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:aeb37ccd5436993b7f1dd33667a36551e"><td class="memItemLeft" align="right" valign="top"><a id="aeb37ccd5436993b7f1dd33667a36551e"></a>
2022-05-08 19:59:26 +00:00
KeyListColumn::InfoType&#160;</td><td class="memItemRight" valign="bottom"><b>info_type_</b></td></tr>
<tr class="separator:aeb37ccd5436993b7f1dd33667a36551e"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:adb59ac00683aec02344804ae8c5670a5"><td class="memItemLeft" align="right" valign="top"><a id="adb59ac00683aec02344804ae8c5670a5"></a>
2022-05-08 19:59:26 +00:00
std::vector&lt; <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>buffered_keys_</b></td></tr>
<tr class="separator:adb59ac00683aec02344804ae8c5670a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a880d24a22ef291667e6d6c76a487fc57"><td class="memItemLeft" align="right" valign="top"><a id="a880d24a22ef291667e6d6c76a487fc57"></a>
std::function&lt; bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>filter_</b></td></tr>
<tr class="separator:a880d24a22ef291667e6d6c76a487fc57"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-08 22:01:23 +00:00
<tr class="memitem:add3529625d70c3aa37f3d8cdc3bb8c63"><td class="memItemLeft" align="right" valign="top"><a id="add3529625d70c3aa37f3d8cdc3bb8c63"></a>
2022-05-08 19:59:26 +00:00
KeyIdArgsListPtr&#160;</td><td class="memItemRight" valign="bottom"><b>checked_key_ids_</b></td></tr>
<tr class="separator:add3529625d70c3aa37f3d8cdc3bb8c63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a88606ba6954d60244faf38de419bfc47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88606ba6954d60244faf38de419bfc47">&#9670;&nbsp;</a></span>KeyTable()</h2>
2022-05-08 19:59:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::KeyTable::KeyTable </td>
<td>(</td>
<td class="paramtype">QTableWidget *&#160;</td>
<td class="paramname"><em>_key_list</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">KeyListRow::KeyType&#160;</td>
<td class="paramname"><em>_select_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">KeyListColumn::InfoType&#160;</td>
<td class="paramname"><em>_info_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::function&lt; bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;)&gt;&#160;</td>
<td class="paramname"><em>_filter</em> = <code>[](const&#160;<a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&amp;)&#160;-&gt;&#160;bool&#160;{&#160;return&#160;true;&#160;}</code>&#160;</td>
2022-05-08 19:59:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Key Table object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">_key_list</td><td></td></tr>
<tr><td class="paramname">_select_type</td><td></td></tr>
<tr><td class="paramname">_info_type</td><td></td></tr>
<tr><td class="paramname">_filter</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
2022-05-08 22:01:23 +00:00
<a id="a77eba4055ecb7d32fab06f65b80ae07e"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#a77eba4055ecb7d32fab06f65b80ae07e">&#9670;&nbsp;</a></span>GetChecked()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">KeyIdArgsListPtr &amp; GpgFrontend::UI::KeyTable::GetChecked </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Checked object. </p>
<dl class="section return"><dt>Returns</dt><dd>KeyIdArgsListPtr&amp; </dd></dl>
<p class="reference">Referenced by <a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#aaac381e205c323444098803e0295060f">Refresh()</a>.</p>
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="aaac381e205c323444098803e0295060f"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#aaac381e205c323444098803e0295060f">&#9670;&nbsp;</a></span>Refresh()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::KeyTable::Refresh </td>
<td>(</td>
<td class="paramtype">KeyLinkListPtr&#160;</td>
<td class="paramname"><em>m_keys</em> = <code>nullptr</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">m_keys</td><td></td></tr>
</table>
</dd>
</dl>
2022-05-08 22:01:23 +00:00
<p class="reference">References <a class="el" href="classGpgFrontend_1_1GpgKeyGetter.html#afe78ac470287d70e7df51aae327b9f54">GpgFrontend::GpgKeyGetter::FetchKey()</a>, <a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#a77eba4055ecb7d32fab06f65b80ae07e">GetChecked()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgKeyGetter &gt;::GetInstance()</a>.</p>
2022-05-08 19:59:26 +00:00
</div>
</div>
2022-05-08 22:01:23 +00:00
<a id="ae0713ebbc21e78995db9a856d746fe6c"></a>
2022-05-08 19:59:26 +00:00
<h2 class="memtitle"><span class="permalink"><a href="#ae0713ebbc21e78995db9a856d746fe6c">&#9670;&nbsp;</a></span>SetChecked()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::KeyTable::SetChecked </td>
<td>(</td>
<td class="paramtype">KeyIdArgsListPtr&#160;</td>
<td class="paramname"><em>key_ids</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Checked object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key_ids</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>src/ui/widgets/<a class="el" href="KeyList_8h_source.html">KeyList.h</a></li>
<li>src/ui/widgets/KeyList.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="structGpgFrontend_1_1UI_1_1KeyTable.html">KeyTable</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>
2022-05-08 19:59:26 +00:00
</ul>
</div>
</body>
</html>