260 lines
15 KiB
HTML
260 lines
15 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::QuitDialog 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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1QuitDialog.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="#pri-slots">Private Slots</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1UI_1_1QuitDialog-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::UI::QuitDialog Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::UI::QuitDialog:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1QuitDialog__inherit__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map" id="aGpgFrontend_1_1UI_1_1QuitDialog_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="25,432,229,568"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html" title=" " alt="" coords="5,131,248,384"/>
|
|
<area shape="rect" title=" " alt="" coords="89,5,164,83"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::UI::QuitDialog:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1QuitDialog__coll__graph.png" border="0" usemap="#aGpgFrontend_1_1UI_1_1QuitDialog_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aGpgFrontend_1_1UI_1_1QuitDialog_coll__map" id="aGpgFrontend_1_1UI_1_1QuitDialog_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="25,575,229,711"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html" title=" " alt="" coords="5,287,248,525"/>
|
|
<area shape="rect" title=" " alt="" coords="68,147,143,224"/>
|
|
<area shape="rect" title=" " alt="" coords="167,147,254,224"/>
|
|
<area shape="rect" title=" " alt="" coords="141,5,280,97"/>
|
|
</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:a60419bf8e817db25128c2f941fc42a3d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a60419bf8e817db25128c2f941fc42a3d">QuitDialog</a> (QWidget *parent, const QHash< int, QString > &unsavedDocs)</td></tr>
|
|
<tr class="memdesc:a60419bf8e817db25128c2f941fc42a3d"><td class="mdescLeft"> </td><td class="mdescRight">Construct a new Quit Dialog object. <a href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a60419bf8e817db25128c2f941fc42a3d">More...</a><br /></td></tr>
|
|
<tr class="separator:a60419bf8e817db25128c2f941fc42a3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c4bc06d1d168f01569ed83dcfd50d55"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#a4c4bc06d1d168f01569ed83dcfd50d55">IsDiscarded</a> () const</td></tr>
|
|
<tr class="separator:a4c4bc06d1d168f01569ed83dcfd50d55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aec364c38056b6d92c172f8cdfb5f8e82"><td class="memItemLeft" align="right" valign="top">QList< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1QuitDialog.html#aec364c38056b6d92c172f8cdfb5f8e82">GetTabIdsToSave</a> ()</td></tr>
|
|
<tr class="memdesc:aec364c38056b6d92c172f8cdfb5f8e82"><td class="mdescLeft"> </td><td class="mdescRight">Get the Tab Ids To Save object. <a href="classGpgFrontend_1_1UI_1_1QuitDialog.html#aec364c38056b6d92c172f8cdfb5f8e82">More...</a><br /></td></tr>
|
|
<tr class="separator:aec364c38056b6d92c172f8cdfb5f8e82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html">GpgFrontend::UI::GeneralDialog</a></td></tr>
|
|
<tr class="memitem:ac9de4c49668ffaeb6916c64f878a202c inherit pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html#ac9de4c49668ffaeb6916c64f878a202c">GeneralDialog</a> (std::string name, QWidget *parent=nullptr)</td></tr>
|
|
<tr class="separator:ac9de4c49668ffaeb6916c64f878a202c inherit pub_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </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:a8970dbf707a5cb5109a40aac76158027"><td class="memItemLeft" align="right" valign="top"><a id="a8970dbf707a5cb5109a40aac76158027"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_my_discard</b> ()</td></tr>
|
|
<tr class="separator:a8970dbf707a5cb5109a40aac76158027"><td class="memSeparator" colspan="2"> </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:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memItemLeft" align="right" valign="top"><a id="a1624ecd7f9b5d32622bf6f9b7eb46a1b"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>discarded_</b></td></tr>
|
|
<tr class="separator:a1624ecd7f9b5d32622bf6f9b7eb46a1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac491016e0d93183346b79421528ba5c8"><td class="memItemLeft" align="right" valign="top"><a id="ac491016e0d93183346b79421528ba5c8"></a>
|
|
QTableWidget * </td><td class="memItemRight" valign="bottom"><b>m_fileList_</b></td></tr>
|
|
<tr class="separator:ac491016e0d93183346b79421528ba5c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classGpgFrontend_1_1UI_1_1GeneralDialog.html">GpgFrontend::UI::GeneralDialog</a></td></tr>
|
|
<tr class="memitem:abad7cff23d2426820e320ecea47b479c inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="abad7cff23d2426820e320ecea47b479c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setPosCenterOfScreen</b> ()</td></tr>
|
|
<tr class="separator:abad7cff23d2426820e320ecea47b479c inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad9d5be542aa422450a96dff00232ebe5 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="ad9d5be542aa422450a96dff00232ebe5"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>movePosition2CenterOfParent</b> ()</td></tr>
|
|
<tr class="separator:ad9d5be542aa422450a96dff00232ebe5 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af074bf574bb3fb2be5de5f7e3b5b539e inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="af074bf574bb3fb2be5de5f7e3b5b539e"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>isRectRestored</b> ()</td></tr>
|
|
<tr class="separator:af074bf574bb3fb2be5de5f7e3b5b539e inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a570c723ba0cb5522f2b0c16ac28d0532 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memItemLeft" align="right" valign="top"><a id="a570c723ba0cb5522f2b0c16ac28d0532"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>showEvent</b> (QShowEvent *event) override</td></tr>
|
|
<tr class="separator:a570c723ba0cb5522f2b0c16ac28d0532 inherit pro_methods_classGpgFrontend_1_1UI_1_1GeneralDialog"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a60419bf8e817db25128c2f941fc42a3d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60419bf8e817db25128c2f941fc42a3d">◆ </a></span>QuitDialog()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::UI::QuitDialog::QuitDialog </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QWidget * </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QHash< int, QString > & </td>
|
|
<td class="paramname"><em>unsavedDocs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct a new Quit Dialog object. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td></td></tr>
|
|
<tr><td class="paramname">unsavedDocs</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="aec364c38056b6d92c172f8cdfb5f8e82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aec364c38056b6d92c172f8cdfb5f8e82">◆ </a></span>GetTabIdsToSave()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QList< int > GpgFrontend::UI::QuitDialog::GetTabIdsToSave </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the Tab Ids To Save object. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>QList<int> </dd></dl>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="classGpgFrontend_1_1UI_1_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4c4bc06d1d168f01569ed83dcfd50d55"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c4bc06d1d168f01569ed83dcfd50d55">◆ </a></span>IsDiscarded()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool GpgFrontend::UI::QuitDialog::IsDiscarded </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<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_1TextEdit.html#a3c976a5494d06c2186d94e7cc8ebe457">GpgFrontend::UI::TextEdit::MaybeSaveAnyTab()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/ui/dialog/<a class="el" href="QuitDialog_8h_source.html">QuitDialog.h</a></li>
|
|
<li>src/ui/dialog/QuitDialog.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_1QuitDialog.html">QuitDialog</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>
|