GpgFrontend-Doxygen/docs/html/structGpgFrontend_1_1UI_1_1KeyTable.html

322 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: 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>
<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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(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-types">Public Types</a> &#124;
<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>
<div class="headertitle">
<div class="title">GpgFrontend::UI::KeyTable Struct Reference</div> </div>
</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="348,1036,541,1275"/>
<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="592,889,679,966"/>
<area shape="rect" title=" " alt="" coords="575,661,714,753"/>
<area shape="rect" title=" " alt="" coords="350,881,539,973"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKey.html" title=" " alt="" coords="322,595,501,819"/>
<area shape="rect" title=" " alt="" coords="188,363,280,440"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ae99f56db14e21d673535cd34af74b22b"><td class="memItemLeft" align="right" valign="top"><a id="ae99f56db14e21d673535cd34af74b22b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>KeyTableFilter</b> = std::function&lt; bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;, const <a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html">KeyTable</a> &amp;)&gt;</td></tr>
<tr class="separator:ae99f56db14e21d673535cd34af74b22b"><td class="memSeparator" colspan="2">&#160;</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:ae78160011d93abc43a1ca0f28c2ad943"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html#ae78160011d93abc43a1ca0f28c2ad943">KeyTable</a> (QTableWidget *_key_list, KeyListRow::KeyType _select_type, KeyListColumn::InfoType _info_type, KeyTableFilter _filter=[](const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &amp;, const <a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html">KeyTable</a> &amp;) -&gt; bool { return true;})</td></tr>
<tr class="memdesc:ae78160011d93abc43a1ca0f28c2ad943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Key Table object. <a href="structGpgFrontend_1_1UI_1_1KeyTable.html#ae78160011d93abc43a1ca0f28c2ad943">More...</a><br /></td></tr>
<tr class="separator:ae78160011d93abc43a1ca0f28c2ad943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="memitem:a0719f023069e0f6e29db20b6cd0cf5ea"><td class="memItemLeft" align="right" valign="top"><a id="a0719f023069e0f6e29db20b6cd0cf5ea"></a>
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>
<tr class="memitem:a9ef84e0b2d9146b962ca4ca79e7f0e9c"><td class="memItemLeft" align="right" valign="top"><a id="a9ef84e0b2d9146b962ca4ca79e7f0e9c"></a>
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>
<tr class="memitem:aacf3e9cf2ec39a47033d274ccf35911a"><td class="memItemLeft" align="right" valign="top"><a id="aacf3e9cf2ec39a47033d274ccf35911a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetMenuAbility</b> (KeyMenuAbility::AbilityType ability)</td></tr>
<tr class="separator:aacf3e9cf2ec39a47033d274ccf35911a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc2e7dc05edc85834179da6ac4c846d"><td class="memItemLeft" align="right" valign="top"><a id="aabc2e7dc05edc85834179da6ac4c846d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetFilterKeyword</b> (std::string keyword)</td></tr>
<tr class="separator:aabc2e7dc05edc85834179da6ac4c846d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5bce4bf0dc41ac05390a4f93da8b8985"><td class="memItemLeft" align="right" valign="top"><a id="a5bce4bf0dc41ac05390a4f93da8b8985"></a>
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>
<tr class="memitem:ab0aee9ed16af04048f456abddb4dc007"><td class="memItemLeft" align="right" valign="top"><a id="ab0aee9ed16af04048f456abddb4dc007"></a>
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>
<tr class="memitem:aeb37ccd5436993b7f1dd33667a36551e"><td class="memItemLeft" align="right" valign="top"><a id="aeb37ccd5436993b7f1dd33667a36551e"></a>
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>
<tr class="memitem:adb59ac00683aec02344804ae8c5670a5"><td class="memItemLeft" align="right" valign="top"><a id="adb59ac00683aec02344804ae8c5670a5"></a>
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:a1560962e3a6eac5f042ba4963f439f15"><td class="memItemLeft" align="right" valign="top"><a id="a1560962e3a6eac5f042ba4963f439f15"></a>
KeyTableFilter&#160;</td><td class="memItemRight" valign="bottom"><b>filter_</b></td></tr>
<tr class="separator:a1560962e3a6eac5f042ba4963f439f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add3529625d70c3aa37f3d8cdc3bb8c63"><td class="memItemLeft" align="right" valign="top"><a id="add3529625d70c3aa37f3d8cdc3bb8c63"></a>
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>
<tr class="memitem:ab54360c35b11c469d708b5f57030ed41"><td class="memItemLeft" align="right" valign="top"><a id="ab54360c35b11c469d708b5f57030ed41"></a>
KeyMenuAbility::AbilityType&#160;</td><td class="memItemRight" valign="bottom"><b>ability_</b></td></tr>
<tr class="separator:ab54360c35b11c469d708b5f57030ed41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a053be2a4f9d8594128d5400f4cc215aa"><td class="memItemLeft" align="right" valign="top"><a id="a053be2a4f9d8594128d5400f4cc215aa"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>keyword_</b></td></tr>
<tr class="separator:a053be2a4f9d8594128d5400f4cc215aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae78160011d93abc43a1ca0f28c2ad943"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae78160011d93abc43a1ca0f28c2ad943">&#9670;&nbsp;</a></span>KeyTable()</h2>
<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">KeyTableFilter&#160;</td>
<td class="paramname"><em>_filter</em> = <code>[](const&#160;<a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&amp;,&#160;const&#160;<a class="el" href="structGpgFrontend_1_1UI_1_1KeyTable.html">KeyTable</a>&amp;)&#160;-&gt;&#160;bool&#160;{&#160;return&#160;true;&#160;}</code>&#160;</td>
</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>
<a id="a77eba4055ecb7d32fab06f65b80ae07e"></a>
<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>
<a id="aaac381e205c323444098803e0295060f"></a>
<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>
<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>
</div>
</div>
<a id="ae0713ebbc21e78995db9a856d746fe6c"></a>
<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>
</ul>
</div>
</body>
</html>