290 lines
16 KiB
HTML
290 lines
16 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: 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 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('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> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<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>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a88606ba6954d60244faf38de419bfc47"><td class="memItemLeft" align="right" valign="top"> </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< bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &)> _filter=[](const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &) -> bool { return true;})</td></tr>
|
|
<tr class="memdesc:a88606ba6954d60244faf38de419bfc47"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:aaac381e205c323444098803e0295060f"><td class="memItemLeft" align="right" valign="top">void </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"> </td></tr>
|
|
<tr class="memitem:a77eba4055ecb7d32fab06f65b80ae07e"><td class="memItemLeft" align="right" valign="top">KeyIdArgsListPtr & </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"> </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"> </td></tr>
|
|
<tr class="memitem:a0719f023069e0f6e29db20b6cd0cf5ea"><td class="memItemLeft" align="right" valign="top"><a id="a0719f023069e0f6e29db20b6cd0cf5ea" name="a0719f023069e0f6e29db20b6cd0cf5ea"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>UncheckALL</b> () const</td></tr>
|
|
<tr class="separator:a0719f023069e0f6e29db20b6cd0cf5ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ef84e0b2d9146b962ca4ca79e7f0e9c"><td class="memItemLeft" align="right" valign="top"><a id="a9ef84e0b2d9146b962ca4ca79e7f0e9c" name="a9ef84e0b2d9146b962ca4ca79e7f0e9c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>CheckALL</b> () const</td></tr>
|
|
<tr class="separator:a9ef84e0b2d9146b962ca4ca79e7f0e9c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae0713ebbc21e78995db9a856d746fe6c"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a5bce4bf0dc41ac05390a4f93da8b8985"><td class="memItemLeft" align="right" valign="top"><a id="a5bce4bf0dc41ac05390a4f93da8b8985" name="a5bce4bf0dc41ac05390a4f93da8b8985"></a>
|
|
QTableWidget * </td><td class="memItemRight" valign="bottom"><b>key_list_</b></td></tr>
|
|
<tr class="separator:a5bce4bf0dc41ac05390a4f93da8b8985"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0aee9ed16af04048f456abddb4dc007"><td class="memItemLeft" align="right" valign="top"><a id="ab0aee9ed16af04048f456abddb4dc007" name="ab0aee9ed16af04048f456abddb4dc007"></a>
|
|
KeyListRow::KeyType </td><td class="memItemRight" valign="bottom"><b>select_type_</b></td></tr>
|
|
<tr class="separator:ab0aee9ed16af04048f456abddb4dc007"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb37ccd5436993b7f1dd33667a36551e"><td class="memItemLeft" align="right" valign="top"><a id="aeb37ccd5436993b7f1dd33667a36551e" name="aeb37ccd5436993b7f1dd33667a36551e"></a>
|
|
KeyListColumn::InfoType </td><td class="memItemRight" valign="bottom"><b>info_type_</b></td></tr>
|
|
<tr class="separator:aeb37ccd5436993b7f1dd33667a36551e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb59ac00683aec02344804ae8c5670a5"><td class="memItemLeft" align="right" valign="top"><a id="adb59ac00683aec02344804ae8c5670a5" name="adb59ac00683aec02344804ae8c5670a5"></a>
|
|
std::vector< <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> > </td><td class="memItemRight" valign="bottom"><b>buffered_keys_</b></td></tr>
|
|
<tr class="separator:adb59ac00683aec02344804ae8c5670a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a880d24a22ef291667e6d6c76a487fc57"><td class="memItemLeft" align="right" valign="top"><a id="a880d24a22ef291667e6d6c76a487fc57" name="a880d24a22ef291667e6d6c76a487fc57"></a>
|
|
std::function< bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &)> </td><td class="memItemRight" valign="bottom"><b>filter_</b></td></tr>
|
|
<tr class="separator:a880d24a22ef291667e6d6c76a487fc57"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:add3529625d70c3aa37f3d8cdc3bb8c63"><td class="memItemLeft" align="right" valign="top"><a id="add3529625d70c3aa37f3d8cdc3bb8c63" name="add3529625d70c3aa37f3d8cdc3bb8c63"></a>
|
|
KeyIdArgsListPtr </td><td class="memItemRight" valign="bottom"><b>checked_key_ids_</b></td></tr>
|
|
<tr class="separator:add3529625d70c3aa37f3d8cdc3bb8c63"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a88606ba6954d60244faf38de419bfc47" name="a88606ba6954d60244faf38de419bfc47"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a88606ba6954d60244faf38de419bfc47">◆ </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 * </td>
|
|
<td class="paramname"><em>_key_list</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">KeyListRow::KeyType </td>
|
|
<td class="paramname"><em>_select_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">KeyListColumn::InfoType </td>
|
|
<td class="paramname"><em>_info_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::function< bool(const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a> &)> </td>
|
|
<td class="paramname"><em>_filter</em> = <code>[](const <a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&) -> bool { return true; }</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">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" name="a77eba4055ecb7d32fab06f65b80ae07e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a77eba4055ecb7d32fab06f65b80ae07e">◆ </a></span>GetChecked()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">KeyIdArgsListPtr & 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& </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" name="aaac381e205c323444098803e0295060f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaac381e205c323444098803e0295060f">◆ </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 </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#a8a378452876a685af879e04bfa456b6f">GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae0713ebbc21e78995db9a856d746fe6c" name="ae0713ebbc21e78995db9a856d746fe6c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae0713ebbc21e78995db9a856d746fe6c">◆ </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 </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.3 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|