GpgFrontend-Doxygen/docs/html/classGpgFrontend_1_1UI_1_1GeneralMainWindow.html

269 lines
15 KiB
HTML
Raw Permalink Normal View History

<!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::GeneralMainWindow 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.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('classGpgFrontend_1_1UI_1_1GeneralMainWindow.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="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classGpgFrontend_1_1UI_1_1GeneralMainWindow-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">GpgFrontend::UI::GeneralMainWindow Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for GpgFrontend::UI::GeneralMainWindow:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1GeneralMainWindow__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1GeneralMainWindow_inherit__map" alt="Inheritance graph"/></div>
<map name="aGpgFrontend_1_1UI_1_1GeneralMainWindow_inherit__map" id="aGpgFrontend_1_1UI_1_1GeneralMainWindow_inherit__map">
<area shape="rect" title=" " alt="" coords="133,131,375,443"/>
<area shape="rect" href="classGpgFrontend_1_1UI_1_1KeyMgmt.html" title=" " alt="" coords="5,689,241,1118"/>
<area shape="rect" href="classGpgFrontend_1_1UI_1_1MainWindow.html" title=" " alt="" coords="265,491,504,1316"/>
<area shape="rect" title=" " alt="" coords="196,5,312,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for GpgFrontend::UI::GeneralMainWindow:</div>
<div class="dyncontent">
<div class="center"><img src="classGpgFrontend_1_1UI_1_1GeneralMainWindow__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1GeneralMainWindow_coll__map" alt="Collaboration graph"/></div>
<map name="aGpgFrontend_1_1UI_1_1GeneralMainWindow_coll__map" id="aGpgFrontend_1_1UI_1_1GeneralMainWindow_coll__map">
<area shape="rect" title=" " alt="" coords="5,131,248,443"/>
<area shape="rect" title=" " alt="" coords="69,5,185,83"/>
</map>
</div>
<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:a4e70182b431aaf983341527d636f5b67"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1GeneralMainWindow.html#a4e70182b431aaf983341527d636f5b67">GeneralMainWindow</a> (QString name, QWidget *parent=nullptr)</td></tr>
<tr class="separator:a4e70182b431aaf983341527d636f5b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:acc10569862d1575d9453d1c1aa539242"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1GeneralMainWindow.html#acc10569862d1575d9453d1c1aa539242">closeEvent</a> (QCloseEvent *event) override</td></tr>
<tr class="separator:acc10569862d1575d9453d1c1aa539242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3d8d459b9308512f73cfb537346205e"><td class="memItemLeft" align="right" valign="top"><a id="ab3d8d459b9308512f73cfb537346205e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPosCenterOfScreen</b> ()</td></tr>
<tr class="separator:ab3d8d459b9308512f73cfb537346205e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac4a7ad04031656f74ab8918ad2fc71"><td class="memItemLeft" align="right" valign="top"><a id="aaac4a7ad04031656f74ab8918ad2fc71"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>movePosition2CenterOfParent</b> ()</td></tr>
<tr class="separator:aaac4a7ad04031656f74ab8918ad2fc71"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:abb5b9f6dd7aed18f42cea885af85c741"><td class="memItemLeft" align="right" valign="top"><a id="abb5b9f6dd7aed18f42cea885af85c741"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>icon_size_</b> {}</td></tr>
<tr class="separator:abb5b9f6dd7aed18f42cea885af85c741"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0dd85f0fcbbab2f15eee995458d2dfb"><td class="memItemLeft" align="right" valign="top"><a id="ab0dd85f0fcbbab2f15eee995458d2dfb"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>font_size_</b> {}</td></tr>
<tr class="separator:ab0dd85f0fcbbab2f15eee995458d2dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ded03c8319326809b09bc90c94e890c"><td class="memItemLeft" align="right" valign="top"><a id="a6ded03c8319326809b09bc90c94e890c"></a>
Qt::ToolButtonStyle&#160;</td><td class="memItemRight" valign="bottom"><b>icon_style_</b></td></tr>
<tr class="separator:a6ded03c8319326809b09bc90c94e890c"><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:a42d1bc5a70f0e81cb49c88eb23544255"><td class="memItemLeft" align="right" valign="top"><a id="a42d1bc5a70f0e81cb49c88eb23544255"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_restore_settings</b> () noexcept</td></tr>
<tr class="separator:a42d1bc5a70f0e81cb49c88eb23544255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ddf641e1266d00cb876ddf786e5ccb8"><td class="memItemLeft" align="right" valign="top"><a id="a8ddf641e1266d00cb876ddf786e5ccb8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>slot_save_settings</b> () noexcept</td></tr>
<tr class="separator:a8ddf641e1266d00cb876ddf786e5ccb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf099cbbb450a58ca58fbcc05f992853"><td class="memItemLeft" align="right" valign="top"><a id="aaf099cbbb450a58ca58fbcc05f992853"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>update_rect_cache</b> ()</td></tr>
<tr class="separator:aaf099cbbb450a58ca58fbcc05f992853"><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:a51a901370b0ca1f3d43dae49e918b541"><td class="memItemLeft" align="right" valign="top"><a id="a51a901370b0ca1f3d43dae49e918b541"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:a51a901370b0ca1f3d43dae49e918b541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad799871eab498f2e535f52f0082f8b8b"><td class="memItemLeft" align="right" valign="top"><a id="ad799871eab498f2e535f52f0082f8b8b"></a>
QPoint&#160;</td><td class="memItemRight" valign="bottom"><b>pos_</b></td></tr>
<tr class="separator:ad799871eab498f2e535f52f0082f8b8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c0bb4c6847846d57ca7524d5f5e4d53"><td class="memItemLeft" align="right" valign="top"><a id="a5c0bb4c6847846d57ca7524d5f5e4d53"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>size_</b></td></tr>
<tr class="separator:a5c0bb4c6847846d57ca7524d5f5e4d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd7e8d1079c1a6eb50c06ea363765820"><td class="memItemLeft" align="right" valign="top"><a id="afd7e8d1079c1a6eb50c06ea363765820"></a>
QRect&#160;</td><td class="memItemRight" valign="bottom"><b>rect_</b></td></tr>
<tr class="separator:afd7e8d1079c1a6eb50c06ea363765820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d2b63a02ce434551fff79a465ed6fdb"><td class="memItemLeft" align="right" valign="top"><a id="a9d2b63a02ce434551fff79a465ed6fdb"></a>
QRect&#160;</td><td class="memItemRight" valign="bottom"><b>screen_rect_</b></td></tr>
<tr class="separator:a9d2b63a02ce434551fff79a465ed6fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e412119ae6fdb00f6a086f4541f9a36"><td class="memItemLeft" align="right" valign="top"><a id="a2e412119ae6fdb00f6a086f4541f9a36"></a>
QRect&#160;</td><td class="memItemRight" valign="bottom"><b>parent_rect_</b></td></tr>
<tr class="separator:a2e412119ae6fdb00f6a086f4541f9a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4e70182b431aaf983341527d636f5b67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e70182b431aaf983341527d636f5b67">&#9670;&nbsp;</a></span>GeneralMainWindow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">GpgFrontend::UI::GeneralMainWindow::GeneralMainWindow </td>
<td>(</td>
<td class="paramtype">QString&#160;</td>
<td class="paramname"><em>name</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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acc10569862d1575d9453d1c1aa539242"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc10569862d1575d9453d1c1aa539242">&#9670;&nbsp;</a></span>closeEvent()</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::GeneralMainWindow::closeEvent </td>
<td>(</td>
<td class="paramtype">QCloseEvent *&#160;</td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ui/main_window/<a class="el" href="GeneralMainWindow_8h_source.html">GeneralMainWindow.h</a></li>
<li>src/ui/main_window/GeneralMainWindow.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_1GeneralMainWindow.html">GeneralMainWindow</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>