GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html
2022-05-08 22:01:23 +00:00

318 lines
17 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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GpgFrontend Project: GpgFrontend::UI::KeyNewUIDDialog Class 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.8.17 -->
<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');
/* @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('classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.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="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::UI::KeyNewUIDDialog Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::KeyNewUIDDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1KeyNewUIDDialog_inherit__map" alt="Inheritance graph"/></div>
<map name="GpgFrontend_1_1UI_1_1KeyNewUIDDialog_inherit__map" id="GpgFrontend_1_1UI_1_1KeyNewUIDDialog_inherit__map">
<area shape="rect" title=" " alt="" coords="5,131,260,340"/>
<area shape="rect" title=" " alt="" coords="95,5,170,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::KeyNewUIDDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog__coll__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1KeyNewUIDDialog_coll__map" alt="Collaboration graph"/></div>
<map name="GpgFrontend_1_1UI_1_1KeyNewUIDDialog_coll__map" id="GpgFrontend_1_1UI_1_1KeyNewUIDDialog_coll__map">
<area shape="rect" title=" " alt="" coords="5,756,260,951"/>
<area shape="rect" title=" " alt="" coords="74,543,149,620"/>
<area shape="rect" href="classGpgFrontend_1_1GpgKey.html" title=" " alt="" coords="173,469,351,693"/>
<area shape="rect" title=" " alt="" coords="177,300,347,407"/>
<area shape="rect" title="STL class." alt="" coords="183,145,341,223"/>
<area shape="rect" title=" " alt="" coords="243,5,281,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a0e2fdf02be3247409cc1590bea0c1fe8"><td class="memItemLeft" align="right" valign="top"><a id="a0e2fdf02be3247409cc1590bea0c1fe8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SignalUIDCreated</b> ()</td></tr>
<tr class="separator:a0e2fdf02be3247409cc1590bea0c1fe8"><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:a7226b139dc7a491e8ba780135654be27"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a7226b139dc7a491e8ba780135654be27">KeyNewUIDDialog</a> (const KeyId &amp;key, QWidget *parent=nullptr)</td></tr>
<tr class="memdesc:a7226b139dc7a491e8ba780135654be27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new Key New U I D Dialog object. <a href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a7226b139dc7a491e8ba780135654be27">More...</a><br /></td></tr>
<tr class="separator:a7226b139dc7a491e8ba780135654be27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a4e115ce46a85c2f9e4e0e2427839fc7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a4e115ce46a85c2f9e4e0e2427839fc7c">slot_create_new_uid</a> ()</td></tr>
<tr class="separator:a4e115ce46a85c2f9e4e0e2427839fc7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ad4e09323a53992daee08173bed17bf9a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#ad4e09323a53992daee08173bed17bf9a">check_email_address</a> (const QString &amp;str)</td></tr>
<tr class="separator:ad4e09323a53992daee08173bed17bf9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a2b9b0aabdbceb4482ebcdfd6c3af987d"><td class="memItemLeft" align="right" valign="top"><a id="a2b9b0aabdbceb4482ebcdfd6c3af987d"></a>
<a class="el" href="classGpgFrontend_1_1GpgKey.html">GpgKey</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_key_</b></td></tr>
<tr class="separator:a2b9b0aabdbceb4482ebcdfd6c3af987d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a221d649fb0dfb4048cdf432e05686fe1"><td class="memItemLeft" align="right" valign="top"><a id="a221d649fb0dfb4048cdf432e05686fe1"></a>
QLineEdit *&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b> {}</td></tr>
<tr class="separator:a221d649fb0dfb4048cdf432e05686fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a7c9f82af2848ef847fef68ab5afbf5"><td class="memItemLeft" align="right" valign="top"><a id="a6a7c9f82af2848ef847fef68ab5afbf5"></a>
QLineEdit *&#160;</td><td class="memItemRight" valign="bottom"><b>email_</b> {}</td></tr>
<tr class="separator:a6a7c9f82af2848ef847fef68ab5afbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f0e8f878445e71527f23bf8b9edcd90"><td class="memItemLeft" align="right" valign="top"><a id="a6f0e8f878445e71527f23bf8b9edcd90"></a>
QLineEdit *&#160;</td><td class="memItemRight" valign="bottom"><b>comment_</b> {}</td></tr>
<tr class="separator:a6f0e8f878445e71527f23bf8b9edcd90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2dcd1d3f6264f6e58d8b69aa0511321"><td class="memItemLeft" align="right" valign="top"><a id="ae2dcd1d3f6264f6e58d8b69aa0511321"></a>
QPushButton *&#160;</td><td class="memItemRight" valign="bottom"><b>create_button_</b> {}</td></tr>
<tr class="separator:ae2dcd1d3f6264f6e58d8b69aa0511321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dd2a97ec6b3e22c6d29182b1ceb49f3"><td class="memItemLeft" align="right" valign="top"><a id="a6dd2a97ec6b3e22c6d29182b1ceb49f3"></a>
QStringList&#160;</td><td class="memItemRight" valign="bottom"><b>error_messages_</b></td></tr>
<tr class="separator:a6dd2a97ec6b3e22c6d29182b1ceb49f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb100218dfa9f97f633d1b3cd7bf5a05"><td class="memItemLeft" align="right" valign="top"><a id="acb100218dfa9f97f633d1b3cd7bf5a05"></a>
QLabel *&#160;</td><td class="memItemRight" valign="bottom"><b>error_label_</b> {}</td></tr>
<tr class="separator:acb100218dfa9f97f633d1b3cd7bf5a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3844bbdb3d0c4e46b3118b7576917ba2"><td class="memItemLeft" align="right" valign="top">QRegularExpression&#160;</td><td class="memItemRight" valign="bottom"><b>re_email_</b></td></tr>
<tr class="separator:a3844bbdb3d0c4e46b3118b7576917ba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7226b139dc7a491e8ba780135654be27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7226b139dc7a491e8ba780135654be27">&#9670;&nbsp;</a></span>KeyNewUIDDialog()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::KeyNewUIDDialog::KeyNewUIDDialog </td>
<td>(</td>
<td class="paramtype">const KeyId &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QWidget *&#160;</td>
<td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a new Key New U I D Dialog object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td></td></tr>
<tr><td class="paramname">parent</td><td></td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1SignalStation.html#abe381ce56a7b157a3760b2fd9c3b7419">GpgFrontend::UI::SignalStation::GetInstance()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a4e115ce46a85c2f9e4e0e2427839fc7c">slot_create_new_uid()</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad4e09323a53992daee08173bed17bf9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4e09323a53992daee08173bed17bf9a">&#9670;&nbsp;</a></span>check_email_address()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool GpgFrontend::UI::KeyNewUIDDialog::check_email_address </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>str</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a4e115ce46a85c2f9e4e0e2427839fc7c">slot_create_new_uid()</a>.</p>
</div>
</div>
<a id="a4e115ce46a85c2f9e4e0e2427839fc7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e115ce46a85c2f9e4e0e2427839fc7c">&#9670;&nbsp;</a></span>slot_create_new_uid</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void GpgFrontend::UI::KeyNewUIDDialog::slot_create_new_uid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>check for errors in keygen dialog input</p>
<p>create error message</p>
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#ad4e09323a53992daee08173bed17bf9a">check_email_address()</a>, and <a class="el" href="classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36">GpgFrontend::SingletonFunctionObject&lt; GpgUIDOperator &gt;::GetInstance()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html#a7226b139dc7a491e8ba780135654be27">KeyNewUIDDialog()</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3844bbdb3d0c4e46b3118b7576917ba2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3844bbdb3d0c4e46b3118b7576917ba2">&#9670;&nbsp;</a></span>re_email_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QRegularExpression GpgFrontend::UI::KeyNewUIDDialog::re_email_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
<div class="line"> R<span class="stringliteral">&quot;((?:[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+)*|&quot;(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*&quot;)@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]))&quot;}</span></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/keypair_details/<a class="el" href="KeyNewUIDDialog_8h_source.html">KeyNewUIDDialog.h</a></li>
<li>src/ui/keypair_details/KeyNewUIDDialog.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="classGpgFrontend_1_1UI_1_1KeyNewUIDDialog.html">KeyNewUIDDialog</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>