<!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.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libyui-qt: YQDialog 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> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</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">libyui-qt  <span id="projectnumber">2.49.11</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <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'); /* @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('classYQDialog.html','');}); /* @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-static-methods">Static Public Member Functions</a> | <a href="#pro-slots">Protected Slots</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-static-methods">Static Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="classYQDialog-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">YQDialog Class Reference</div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for YQDialog:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog__inherit__graph.png" border="0" usemap="#YQDialog_inherit__map" alt="Inheritance graph"/></div> <map name="YQDialog_inherit__map" id="YQDialog_inherit__map"> <area shape="rect" title=" " alt="" coords="49,80,128,107"/> <area shape="rect" title=" " alt="" coords="5,5,79,32"/> <area shape="rect" title=" " alt="" coords="103,5,171,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for YQDialog:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog__coll__graph.png" border="0" usemap="#YQDialog_coll__map" alt="Collaboration graph"/></div> <map name="YQDialog_coll__map" id="YQDialog_coll__map"> <area shape="rect" title=" " alt="" coords="168,185,247,212"/> <area shape="rect" title=" " alt="" coords="5,5,79,32"/> <area shape="rect" href="classYQGenericButton.html" title="Abstract base class for push button and similar widgets - all that can become a YQDialog's "default b..." alt="" coords="80,81,204,108"/> <area shape="rect" title=" " alt="" coords="228,81,296,108"/> <area shape="rect" href="classQY2StyleEditor.html" title="Stylesheet Editor Dialog." alt="" coords="321,81,433,108"/> <area shape="rect" title=" " alt="" coords="342,5,411,32"/> <area shape="rect" title=" " alt="" coords="103,5,202,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></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:afc21e0b19ef32d40e5339d74074aa194"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#afc21e0b19ef32d40e5339d74074aa194">YQDialog</a> (YDialogType dialogType, YDialogColorMode colorMode=YDialogNormalColor)</td></tr> <tr class="memdesc:afc21e0b19ef32d40e5339d74074aa194"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#afc21e0b19ef32d40e5339d74074aa194">More...</a><br /></td></tr> <tr class="separator:afc21e0b19ef32d40e5339d74074aa194"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0f5d2bc98a9badd02f44bb9e329df72"><td class="memItemLeft" align="right" valign="top"><a id="ae0f5d2bc98a9badd02f44bb9e329df72"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ae0f5d2bc98a9badd02f44bb9e329df72">closeEvent</a> (QCloseEvent *ev)</td></tr> <tr class="memdesc:ae0f5d2bc98a9badd02f44bb9e329df72"><td class="mdescLeft"> </td><td class="mdescRight">Interited from QDialog: The window was closed via the window manager close button. <br /></td></tr> <tr class="separator:ae0f5d2bc98a9badd02f44bb9e329df72"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec72c07ff2cd173e76a0fff04679c4dd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#aec72c07ff2cd173e76a0fff04679c4dd">setEnabled</a> (bool enabled)</td></tr> <tr class="memdesc:aec72c07ff2cd173e76a0fff04679c4dd"><td class="mdescLeft"> </td><td class="mdescRight">Set enabled/disabled state. <a href="#aec72c07ff2cd173e76a0fff04679c4dd">More...</a><br /></td></tr> <tr class="separator:aec72c07ff2cd173e76a0fff04679c4dd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aacbcc233a25b93ac8ac7abb3f9985b1d"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#aacbcc233a25b93ac8ac7abb3f9985b1d">preferredWidth</a> ()</td></tr> <tr class="memdesc:aacbcc233a25b93ac8ac7abb3f9985b1d"><td class="mdescLeft"> </td><td class="mdescRight">Preferred width of the widget. <a href="#aacbcc233a25b93ac8ac7abb3f9985b1d">More...</a><br /></td></tr> <tr class="separator:aacbcc233a25b93ac8ac7abb3f9985b1d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a37b7b7c8fe71f918c7409744586d8f5a"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a37b7b7c8fe71f918c7409744586d8f5a">preferredHeight</a> ()</td></tr> <tr class="memdesc:a37b7b7c8fe71f918c7409744586d8f5a"><td class="mdescLeft"> </td><td class="mdescRight">Preferred height of the widget. <a href="#a37b7b7c8fe71f918c7409744586d8f5a">More...</a><br /></td></tr> <tr class="separator:a37b7b7c8fe71f918c7409744586d8f5a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c1586736e34e5115c8e4f738acd2e31"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a1c1586736e34e5115c8e4f738acd2e31">setSize</a> (int newWidth, int newHeight)</td></tr> <tr class="memdesc:a1c1586736e34e5115c8e4f738acd2e31"><td class="mdescLeft"> </td><td class="mdescRight">Set the new size of the widget. <a href="#a1c1586736e34e5115c8e4f738acd2e31">More...</a><br /></td></tr> <tr class="separator:a1c1586736e34e5115c8e4f738acd2e31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a56d57e2337ec135bd7febd1f2b192f08"><td class="memItemLeft" align="right" valign="top"><a id="a56d57e2337ec135bd7febd1f2b192f08"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a56d57e2337ec135bd7febd1f2b192f08">findDefaultButton</a> ()</td></tr> <tr class="memdesc:a56d57e2337ec135bd7febd1f2b192f08"><td class="mdescLeft"> </td><td class="mdescRight">Return this dialog's (first) default button or 0 if none. <br /></td></tr> <tr class="separator:a56d57e2337ec135bd7febd1f2b192f08"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13d995f160c192efcbafe5cb47f8fc2c"><td class="memItemLeft" align="right" valign="top"><a id="a13d995f160c192efcbafe5cb47f8fc2c"></a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a13d995f160c192efcbafe5cb47f8fc2c">userResized</a> ()</td></tr> <tr class="memdesc:a13d995f160c192efcbafe5cb47f8fc2c"><td class="mdescLeft"> </td><td class="mdescRight">Return 'true' if the user resized this dialog. <br /></td></tr> <tr class="separator:a13d995f160c192efcbafe5cb47f8fc2c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7af7e887d0e9ad6794dd492721603a8d"><td class="memItemLeft" align="right" valign="top"><a id="a7af7e887d0e9ad6794dd492721603a8d"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a7af7e887d0e9ad6794dd492721603a8d">focusButton</a> () const</td></tr> <tr class="memdesc:a7af7e887d0e9ad6794dd492721603a8d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the button that has the keyboard focus or 0 if no button has the keyboard focus. <br /></td></tr> <tr class="separator:a7af7e887d0e9ad6794dd492721603a8d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10463e9f03aef78602e177c6ab6fb955"><td class="memItemLeft" align="right" valign="top"><a id="a10463e9f03aef78602e177c6ab6fb955"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a10463e9f03aef78602e177c6ab6fb955">defaultButton</a> () const</td></tr> <tr class="memdesc:a10463e9f03aef78602e177c6ab6fb955"><td class="mdescLeft"> </td><td class="mdescRight">Returns the dialog's default button - the button that is activated with [Return] if no button has the keyboard focus. <br /></td></tr> <tr class="separator:a10463e9f03aef78602e177c6ab6fb955"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af85dc5c4de307b376b2c4f3f2b91ef23"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#af85dc5c4de307b376b2c4f3f2b91ef23">losingFocus</a> (<a class="el" href="classYQGenericButton.html">YQGenericButton</a> *button)</td></tr> <tr class="memdesc:af85dc5c4de307b376b2c4f3f2b91ef23"><td class="mdescLeft"> </td><td class="mdescRight">Notification that a button loses the keyboard focus. <a href="#af85dc5c4de307b376b2c4f3f2b91ef23">More...</a><br /></td></tr> <tr class="separator:af85dc5c4de307b376b2c4f3f2b91ef23"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a59472e6f935a1926e3bb2249b3aa19ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a59472e6f935a1926e3bb2249b3aa19ed">gettingFocus</a> (<a class="el" href="classYQGenericButton.html">YQGenericButton</a> *button)</td></tr> <tr class="memdesc:a59472e6f935a1926e3bb2249b3aa19ed"><td class="mdescLeft"> </td><td class="mdescRight">Notification that a button gets the keyboard focus. <a href="#a59472e6f935a1926e3bb2249b3aa19ed">More...</a><br /></td></tr> <tr class="separator:a59472e6f935a1926e3bb2249b3aa19ed"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad84cfad41c46b4f8bb3ec04332359cd7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ad84cfad41c46b4f8bb3ec04332359cd7">setDefaultButton</a> (YPushButton *newDefaultButton)</td></tr> <tr class="memdesc:ad84cfad41c46b4f8bb3ec04332359cd7"><td class="mdescLeft"> </td><td class="mdescRight">Set the dialog's default button - the button that is activated with [Return] if no other button has the keyboard focus. <a href="#ad84cfad41c46b4f8bb3ec04332359cd7">More...</a><br /></td></tr> <tr class="separator:ad84cfad41c46b4f8bb3ec04332359cd7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d07c8c2ce5a1a2f61611e0e45baeaa9"><td class="memItemLeft" align="right" valign="top"><a id="a5d07c8c2ce5a1a2f61611e0e45baeaa9"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a5d07c8c2ce5a1a2f61611e0e45baeaa9">ensureOnlyOneDefaultButton</a> ()</td></tr> <tr class="memdesc:a5d07c8c2ce5a1a2f61611e0e45baeaa9"><td class="mdescLeft"> </td><td class="mdescRight">Ensure presence of no more than one single default button. <br /></td></tr> <tr class="separator:a5d07c8c2ce5a1a2f61611e0e45baeaa9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9743a9d907e5e7c70ca4a9992cb82d97"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a9743a9d907e5e7c70ca4a9992cb82d97">activateDefaultButton</a> (bool warn=true)</td></tr> <tr class="memdesc:a9743a9d907e5e7c70ca4a9992cb82d97"><td class="mdescLeft"> </td><td class="mdescRight">Activate (i.e. <a href="#a9743a9d907e5e7c70ca4a9992cb82d97">More...</a><br /></td></tr> <tr class="separator:a9743a9d907e5e7c70ca4a9992cb82d97"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d34a719bd11827cf9e5775e5e7ca02c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classYQWizard.html">YQWizard</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c">findWizard</a> () const</td></tr> <tr class="memdesc:a4d34a719bd11827cf9e5775e5e7ca02c"><td class="mdescLeft"> </td><td class="mdescRight">Find the first wizard in that dialog, if there is any. <a href="#a4d34a719bd11827cf9e5775e5e7ca02c">More...</a><br /></td></tr> <tr class="separator:a4d34a719bd11827cf9e5775e5e7ca02c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7e5c53a306284860eda5d755f2814d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ab7e5c53a306284860eda5d755f2814d8">wizardDefaultButton</a> (<a class="el" href="classYQWizard.html">YQWizard</a> *wizard) const</td></tr> <tr class="memdesc:ab7e5c53a306284860eda5d755f2814d8"><td class="mdescLeft"> </td><td class="mdescRight">Find a wizard button that would make sense as a default button. <a href="#ab7e5c53a306284860eda5d755f2814d8">More...</a><br /></td></tr> <tr class="separator:ab7e5c53a306284860eda5d755f2814d8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af055e43f4d36104c15dd147255343e3c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#af055e43f4d36104c15dd147255343e3c">highlight</a> (YWidget *child)</td></tr> <tr class="memdesc:af055e43f4d36104c15dd147255343e3c"><td class="mdescLeft"> </td><td class="mdescRight">Highlight a child widget of this dialog. <a href="#af055e43f4d36104c15dd147255343e3c">More...</a><br /></td></tr> <tr class="separator:af055e43f4d36104c15dd147255343e3c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad842bea04b7a8fefdd039f2956f6c9f9"><td class="memItemLeft" align="right" valign="top"><a id="ad842bea04b7a8fefdd039f2956f6c9f9"></a> QEventLoop * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ad842bea04b7a8fefdd039f2956f6c9f9">eventLoop</a> ()</td></tr> <tr class="memdesc:ad842bea04b7a8fefdd039f2956f6c9f9"><td class="mdescLeft"> </td><td class="mdescRight">Access to this dialog's event loop. <br /></td></tr> <tr class="separator:ad842bea04b7a8fefdd039f2956f6c9f9"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a645b679b3b65cbdd8ab0adeec55eaf11"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a645b679b3b65cbdd8ab0adeec55eaf11">center</a> (QWidget *dialog, QWidget *parent=0)</td></tr> <tr class="memdesc:a645b679b3b65cbdd8ab0adeec55eaf11"><td class="mdescLeft"> </td><td class="mdescRight">Center a dialog relative to 'parent'. <a href="#a645b679b3b65cbdd8ab0adeec55eaf11">More...</a><br /></td></tr> <tr class="separator:a645b679b3b65cbdd8ab0adeec55eaf11"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a> Protected Slots</h2></td></tr> <tr class="memitem:a66ef0f961cd1794e01dc81cda22bbe79"><td class="memItemLeft" align="right" valign="top"><a id="a66ef0f961cd1794e01dc81cda22bbe79"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a66ef0f961cd1794e01dc81cda22bbe79">waitForEventTimeout</a> ()</td></tr> <tr class="memdesc:a66ef0f961cd1794e01dc81cda22bbe79"><td class="mdescLeft"> </td><td class="mdescRight">Timeout during waitForEvent() <br /></td></tr> <tr class="separator:a66ef0f961cd1794e01dc81cda22bbe79"><td class="memSeparator" colspan="2"> </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:ab1979831c4e44a7e3d9028a41cffb8da"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ab1979831c4e44a7e3d9028a41cffb8da">~YQDialog</a> ()</td></tr> <tr class="memdesc:ab1979831c4e44a7e3d9028a41cffb8da"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab1979831c4e44a7e3d9028a41cffb8da">More...</a><br /></td></tr> <tr class="separator:ab1979831c4e44a7e3d9028a41cffb8da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a844eda34618c51245fa4eac5d240fe7f"><td class="memItemLeft" align="right" valign="top"><a id="a844eda34618c51245fa4eac5d240fe7f"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a844eda34618c51245fa4eac5d240fe7f">findDefaultButton</a> (YWidgetListConstIterator begin, YWidgetListConstIterator end) const</td></tr> <tr class="memdesc:a844eda34618c51245fa4eac5d240fe7f"><td class="mdescLeft"> </td><td class="mdescRight">Return the (first) default button between 'begin' and 'end' or 0 if there is none. <br /></td></tr> <tr class="separator:a844eda34618c51245fa4eac5d240fe7f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae97304a1ab91487ce1ba2dde86112077"><td class="memItemLeft" align="right" valign="top"><a id="ae97304a1ab91487ce1ba2dde86112077"></a> <a class="el" href="classYQWizard.html">YQWizard</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ae97304a1ab91487ce1ba2dde86112077">findWizard</a> (YWidgetListConstIterator begin, YWidgetListConstIterator end) const</td></tr> <tr class="memdesc:ae97304a1ab91487ce1ba2dde86112077"><td class="mdescLeft"> </td><td class="mdescRight">Return the (first) wizard widget between 'begin' and 'end' or 0 if there is none. <br /></td></tr> <tr class="separator:ae97304a1ab91487ce1ba2dde86112077"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a652ac3f8772ba44939907d0c66a588c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classYQWizard.html">YQWizard</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a652ac3f8772ba44939907d0c66a588c2">ensureOnlyOneDefaultButton</a> (YWidgetListConstIterator begin, YWidgetListConstIterator end)</td></tr> <tr class="memdesc:a652ac3f8772ba44939907d0c66a588c2"><td class="mdescLeft"> </td><td class="mdescRight">Helper function for <a class="el" href="classYQDialog.html#a5d07c8c2ce5a1a2f61611e0e45baeaa9" title="Ensure presence of no more than one single default button.">ensureOnlyOneDefaultButton()</a>: Recursively find all normal and wizard buttons between 'begin' and 'end' and make sure that no more than one button is marked as default. <a href="#a652ac3f8772ba44939907d0c66a588c2">More...</a><br /></td></tr> <tr class="separator:a652ac3f8772ba44939907d0c66a588c2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aacf586c1748a671e63fc223bb4e50bdf"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#aacf586c1748a671e63fc223bb4e50bdf">openInternal</a> ()</td></tr> <tr class="memdesc:aacf586c1748a671e63fc223bb4e50bdf"><td class="mdescLeft"> </td><td class="mdescRight">Internal open() method, called exactly once during the life time of the dialog in open(). <a href="#aacf586c1748a671e63fc223bb4e50bdf">More...</a><br /></td></tr> <tr class="separator:aacf586c1748a671e63fc223bb4e50bdf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a14c1448263eb0b39c444d119ad34ff"><td class="memItemLeft" align="right" valign="top">virtual YEvent * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a7a14c1448263eb0b39c444d119ad34ff">waitForEventInternal</a> (int timeout_millisec)</td></tr> <tr class="memdesc:a7a14c1448263eb0b39c444d119ad34ff"><td class="mdescLeft"> </td><td class="mdescRight">Wait for a user event. <a href="#a7a14c1448263eb0b39c444d119ad34ff">More...</a><br /></td></tr> <tr class="separator:a7a14c1448263eb0b39c444d119ad34ff"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c604b2f3faf50eedc0a157e4eef2a2d"><td class="memItemLeft" align="right" valign="top">virtual YEvent * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#a8c604b2f3faf50eedc0a157e4eef2a2d">pollEventInternal</a> ()</td></tr> <tr class="memdesc:a8c604b2f3faf50eedc0a157e4eef2a2d"><td class="mdescLeft"> </td><td class="mdescRight">Check if a user event is pending. <a href="#a8c604b2f3faf50eedc0a157e4eef2a2d">More...</a><br /></td></tr> <tr class="separator:a8c604b2f3faf50eedc0a157e4eef2a2d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa39f564524cfd4797c874e81ae585d29"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#aa39f564524cfd4797c874e81ae585d29">activate</a> ()</td></tr> <tr class="memdesc:aa39f564524cfd4797c874e81ae585d29"><td class="mdescLeft"> </td><td class="mdescRight">Activate this dialog: Make sure that it is shown as the topmost dialog of this application and that it can receive input. <a href="#aa39f564524cfd4797c874e81ae585d29">More...</a><br /></td></tr> <tr class="separator:aa39f564524cfd4797c874e81ae585d29"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3e1c510ec2f6216bbf357db62b79179"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#ac3e1c510ec2f6216bbf357db62b79179">keyPressEvent</a> (QKeyEvent *event)</td></tr> <tr class="memdesc:ac3e1c510ec2f6216bbf357db62b79179"><td class="mdescLeft"> </td><td class="mdescRight">Qt event handlers. <a href="#ac3e1c510ec2f6216bbf357db62b79179">More...</a><br /></td></tr> <tr class="separator:ac3e1c510ec2f6216bbf357db62b79179"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9ac71b2142bcef87d39a417ca6bba8b6"><td class="memItemLeft" align="right" valign="top"><a id="a9ac71b2142bcef87d39a417ca6bba8b6"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>focusInEvent</b> (QFocusEvent *event)</td></tr> <tr class="separator:a9ac71b2142bcef87d39a417ca6bba8b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5276cdf9ac88a712826ad1a8113e2183"><td class="memItemLeft" align="right" valign="top"><a id="a5276cdf9ac88a712826ad1a8113e2183"></a> virtual void </td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *event)</td></tr> <tr class="separator:a5276cdf9ac88a712826ad1a8113e2183"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a> Static Protected Member Functions</h2></td></tr> <tr class="memitem:acfba92dff69eb6e201915ee257abf660"><td class="memItemLeft" align="right" valign="top"><a id="acfba92dff69eb6e201915ee257abf660"></a> static QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="classYQDialog.html#acfba92dff69eb6e201915ee257abf660">chooseParent</a> (YDialogType dialogType)</td></tr> <tr class="memdesc:acfba92dff69eb6e201915ee257abf660"><td class="mdescLeft"> </td><td class="mdescRight">Choose a parent widget for a dialog of the specified type: Either the main window dock (if this is a YMainDialog and the dock currently accepts child dialogs) or 0. <br /></td></tr> <tr class="separator:acfba92dff69eb6e201915ee257abf660"><td class="memSeparator" colspan="2"> </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:a6ea1ceb2d234bc2d8c907e1237fa6982"><td class="memItemLeft" align="right" valign="top"><a id="a6ea1ceb2d234bc2d8c907e1237fa6982"></a> bool </td><td class="memItemRight" valign="bottom"><b>_userResized</b></td></tr> <tr class="separator:a6ea1ceb2d234bc2d8c907e1237fa6982"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e40c68d6b8ecc38ef3e06591f71a96e"><td class="memItemLeft" align="right" valign="top"><a id="a8e40c68d6b8ecc38ef3e06591f71a96e"></a> QSize </td><td class="memItemRight" valign="bottom"><b>_userSize</b></td></tr> <tr class="separator:a8e40c68d6b8ecc38ef3e06591f71a96e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a210c20056d328ca111d3d19a35cf5d78"><td class="memItemLeft" align="right" valign="top"><a id="a210c20056d328ca111d3d19a35cf5d78"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><b>_focusButton</b></td></tr> <tr class="separator:a210c20056d328ca111d3d19a35cf5d78"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0ac90d10ac6c0dbf8261bebbc596aa59"><td class="memItemLeft" align="right" valign="top"><a id="a0ac90d10ac6c0dbf8261bebbc596aa59"></a> <a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td><td class="memItemRight" valign="bottom"><b>_defaultButton</b></td></tr> <tr class="separator:a0ac90d10ac6c0dbf8261bebbc596aa59"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fa61944251fcb355b23b030a55d5ead"><td class="memItemLeft" align="right" valign="top"><a id="a1fa61944251fcb355b23b030a55d5ead"></a> QTimer * </td><td class="memItemRight" valign="bottom"><b>_waitForEventTimer</b></td></tr> <tr class="separator:a1fa61944251fcb355b23b030a55d5ead"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3006f73ee97762fcb6aab316cd85ebcb"><td class="memItemLeft" align="right" valign="top"><a id="a3006f73ee97762fcb6aab316cd85ebcb"></a> QEventLoop * </td><td class="memItemRight" valign="bottom"><b>_eventLoop</b></td></tr> <tr class="separator:a3006f73ee97762fcb6aab316cd85ebcb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8cc9440613f0802628816a04af16fbec"><td class="memItemLeft" align="right" valign="top"><a id="a8cc9440613f0802628816a04af16fbec"></a> YWidget * </td><td class="memItemRight" valign="bottom"><b>_highlightedChild</b></td></tr> <tr class="separator:a8cc9440613f0802628816a04af16fbec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaaefda630294586fe97419643fb01e88"><td class="memItemLeft" align="right" valign="top"><a id="aaaefda630294586fe97419643fb01e88"></a> QPalette </td><td class="memItemRight" valign="bottom"><b>_preHighlightPalette</b></td></tr> <tr class="separator:aaaefda630294586fe97419643fb01e88"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3dc635d1b2927900615a77cf50565f4f"><td class="memItemLeft" align="right" valign="top"><a id="a3dc635d1b2927900615a77cf50565f4f"></a> bool </td><td class="memItemRight" valign="bottom"><b>_preHighlightAutoFill</b></td></tr> <tr class="separator:a3dc635d1b2927900615a77cf50565f4f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd622e64c50f7c5a553482e9c6662742"><td class="memItemLeft" align="right" valign="top"><a id="afd622e64c50f7c5a553482e9c6662742"></a> <a class="el" href="classQY2StyleEditor.html">QY2StyleEditor</a> * </td><td class="memItemRight" valign="bottom"><b>_styleEditor</b></td></tr> <tr class="separator:afd622e64c50f7c5a553482e9c6662742"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p class="definition">Definition at line <a class="el" href="YQDialog_8h_source.html#l00042">42</a> of file <a class="el" href="YQDialog_8h_source.html">YQDialog.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="afc21e0b19ef32d40e5339d74074aa194"></a> <h2 class="memtitle"><span class="permalink"><a href="#afc21e0b19ef32d40e5339d74074aa194">◆ </a></span>YQDialog()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">YQDialog::YQDialog </td> <td>(</td> <td class="paramtype">YDialogType </td> <td class="paramname"><em>dialogType</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">YDialogColorMode </td> <td class="paramname"><em>colorMode</em> = <code>YDialogNormalColor</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <p>'dialogType' is one of YMainDialog, YWizardDialog, or YPopupDialog.</p> <p>The Qt UI supports YWizardDialogs. They are handled very much like YMainDialogs, except for wizard dialogs that are opened over a wizard with a steps panel on the left side, in which case that new wizard dialog will be resized and moved so the steps panel from the wizard below will remain visible.</p> <p>'colorMode' can be set to YDialogWarnColor to use very bright "warning" colors or YDialogInfoColor to use more prominent, yet not quite as bright as "warning" colors. Use both only very rarely. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00060">60</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_afc21e0b19ef32d40e5339d74074aa194_cgraph.png" border="0" usemap="#classYQDialog_afc21e0b19ef32d40e5339d74074aa194_cgraph" alt=""/></div> <map name="classYQDialog_afc21e0b19ef32d40e5339d74074aa194_cgraph" id="classYQDialog_afc21e0b19ef32d40e5339d74074aa194_cgraph"> <area shape="rect" title="Constructor." alt="" coords="5,120,148,147"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="782,44,855,71"/> <area shape="rect" href="classYQMainWinDock.html#a5328a0cdb3a9dbf3e995f22706d15786" title="Static method to access the singleton for this class." alt="" coords="196,56,409,83"/> <area shape="rect" href="classYQMainWinDock.html#acc1a1653d02e15915bc277d07fd935ba" title="Add a dialog (the widgetRep() of a YQDialog) to the MainWinDock (on top of its widget stack." alt="" coords="227,196,379,223"/> <area shape="rect" href="classYQDialog.html#a66ef0f961cd1794e01dc81cda22bbe79" title="Timeout during waitForEvent()" alt="" coords="197,120,408,147"/> <area shape="rect" href="classQY2Styler.html#a8feb57d85a49ef6e89a10c6c7b6c6e0d" title="Registers a widget and applies the style sheet." alt="" coords="215,247,390,273"/> <area shape="rect" href="classYQMainWinDock.html#af95b19c9a8d34ea3b393f3b20f4afea6" title="Constructor." alt="" coords="457,44,689,71"/> <area shape="rect" href="classYQMainWinDock.html#a28357dba98593147e40cb446fdd99863" title="Activate or deactivate the next-lower dialog in the dock when a new dialog is opened or when a dialog..." alt="" coords="463,247,683,289"/> <area shape="rect" href="classYQMainWinDock.html#aa9303da4c0a2a60f97ffb72732d0a50f" title="Resize the visible child to the current size of the dock." alt="" coords="471,313,676,354"/> <area shape="rect" href="classYQMainWinDock.html#a139d5447c8ac3385c2d82aaae1c14f92" title="Show the widget (make it visible)." alt="" coords="492,196,655,223"/> <area shape="rect" href="classYQDialog.html#aec72c07ff2cd173e76a0fff04679c4dd" title="Set enabled/disabled state." alt="" coords="743,255,894,281"/> <area shape="rect" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c" title="Find the first wizard in that dialog, if there is any." alt="" coords="745,363,893,389"/> <area shape="rect" href="classYQWizard.html#a5de3f7320c7d8ad2886673eb05a5d5b4" title="Returns true if the wizard should follow the first wizard with steps." alt="" coords="737,312,900,339"/> <area shape="rect" href="classYQUI.html#a7947705ebee53c11e1fa619f37eda7a3" title="Widget event handlers (slots) call this when an event occured that should be the answer to a UserInpu..." alt="" coords="511,145,636,172"/> <area shape="rect" href="classYQDialog.html#ad842bea04b7a8fefdd039f2956f6c9f9" title="Access to this dialog's event loop." alt="" coords="745,145,892,172"/> </map> </div> </div> </div> <a id="ab1979831c4e44a7e3d9028a41cffb8da"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab1979831c4e44a7e3d9028a41cffb8da">◆ </a></span>~YQDialog()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">YQDialog::~YQDialog </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <p>Don't delete a dialog directly, use YDialog::deleteTopmostDialog(). </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00127">127</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_ab1979831c4e44a7e3d9028a41cffb8da_cgraph.png" border="0" usemap="#classYQDialog_ab1979831c4e44a7e3d9028a41cffb8da_cgraph" alt=""/></div> <map name="classYQDialog_ab1979831c4e44a7e3d9028a41cffb8da_cgraph" id="classYQDialog_ab1979831c4e44a7e3d9028a41cffb8da_cgraph"> <area shape="rect" title="Destructor." alt="" coords="5,64,156,91"/> <area shape="rect" href="classYQMainWinDock.html#a5328a0cdb3a9dbf3e995f22706d15786" title="Static method to access the singleton for this class." alt="" coords="204,9,417,36"/> <area shape="rect" href="classYQMainWinDock.html#a72fa1895237fb648b24c58a7a4880e42" title="Remove a dialog from the MainWinDock (if it belongs to the MainWinDock)." alt="" coords="223,64,398,91"/> <area shape="rect" href="classQY2Styler.html#a9a813d28af678b8b0a1ccdec205c744e" title="Unregisters a widget." alt="" coords="217,115,405,141"/> <area shape="rect" href="classYQMainWinDock.html#af95b19c9a8d34ea3b393f3b20f4afea6" title="Constructor." alt="" coords="465,5,697,32"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="790,5,863,32"/> <area shape="rect" href="classYQMainWinDock.html#a28357dba98593147e40cb446fdd99863" title="Activate or deactivate the next-lower dialog in the dock when a new dialog is opened or when a dialog..." alt="" coords="471,57,691,98"/> <area shape="rect" href="classYQMainWinDock.html#aa9303da4c0a2a60f97ffb72732d0a50f" title="Resize the visible child to the current size of the dock." alt="" coords="479,122,684,163"/> <area shape="rect" href="classYQDialog.html#aec72c07ff2cd173e76a0fff04679c4dd" title="Set enabled/disabled state." alt="" coords="751,64,902,91"/> <area shape="rect" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c" title="Find the first wizard in that dialog, if there is any." alt="" coords="753,121,901,148"/> <area shape="rect" href="classYQWizard.html#a5de3f7320c7d8ad2886673eb05a5d5b4" title="Returns true if the wizard should follow the first wizard with steps." alt="" coords="745,172,908,199"/> </map> </div> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="aa39f564524cfd4797c874e81ae585d29"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa39f564524cfd4797c874e81ae585d29">◆ </a></span>activate()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::activate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Activate this dialog: Make sure that it is shown as the topmost dialog of this application and that it can receive input. </p> <p>Implemented from YDialog. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00185">185</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="a9743a9d907e5e7c70ca4a9992cb82d97"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9743a9d907e5e7c70ca4a9992cb82d97">◆ </a></span>activateDefaultButton()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool YQDialog::activateDefaultButton </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>warn</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Activate (i.e. </p> <p>click) this dialog's default button, if there is any. Issue a warning to the log file if 'warn' is true. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00536">536</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a9743a9d907e5e7c70ca4a9992cb82d97_cgraph.png" border="0" usemap="#classYQDialog_a9743a9d907e5e7c70ca4a9992cb82d97_cgraph" alt=""/></div> <map name="classYQDialog_a9743a9d907e5e7c70ca4a9992cb82d97_cgraph" id="classYQDialog_a9743a9d907e5e7c70ca4a9992cb82d97_cgraph"> <area shape="rect" title="Activate (i.e." alt="" coords="5,86,180,127"/> <area shape="rect" href="classYQGenericButton.html#a400be06ae72cf243e6f0d87e61f5c4e9" title="Returns 'true' if this button is enabled, 'false' otherwise." alt="" coords="228,5,417,32"/> <area shape="rect" href="classYQGenericButton.html#a8c994b6c3b2c24da7ac9ad42ff7a1258" title="Returns 'true' if this button is shown as a default button - which may mean that this really is the d..." alt="" coords="231,57,414,98"/> <area shape="rect" href="classYQGenericButton.html#a66b7177d32bc8438cd9e4a560acab096" title="Activate (animated) this button." alt="" coords="233,123,412,149"/> <area shape="rect" href="classYQDialog.html#a56d57e2337ec135bd7febd1f2b192f08" title="Return this dialog's (first) default button or 0 if none." alt="" coords="229,173,416,200"/> </map> </div> </div> </div> <a id="a645b679b3b65cbdd8ab0adeec55eaf11"></a> <h2 class="memtitle"><span class="permalink"><a href="#a645b679b3b65cbdd8ab0adeec55eaf11">◆ </a></span>center()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::center </td> <td>(</td> <td class="paramtype">QWidget * </td> <td class="paramname"><em>dialog</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">QWidget * </td> <td class="paramname"><em>parent</em> = <code>0</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">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Center a dialog relative to 'parent'. </p> <p>If 'parent' is 0, the dialog is centered relative to the application's main widget. If 'dialog' is the main widget and 'parent' is 0, the dialog is centered relative to the desktop. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00845">845</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="a652ac3f8772ba44939907d0c66a588c2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a652ac3f8772ba44939907d0c66a588c2">◆ </a></span>ensureOnlyOneDefaultButton()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classYQWizard.html">YQWizard</a> * YQDialog::ensureOnlyOneDefaultButton </td> <td>(</td> <td class="paramtype">YWidgetListConstIterator </td> <td class="paramname"><em>begin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">YWidgetListConstIterator </td> <td class="paramname"><em>end</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Helper function for <a class="el" href="classYQDialog.html#a5d07c8c2ce5a1a2f61611e0e45baeaa9" title="Ensure presence of no more than one single default button.">ensureOnlyOneDefaultButton()</a>: Recursively find all normal and wizard buttons between 'begin' and 'end' and make sure that no more than one button is marked as default. </p> <p>Return (the first) wizard widget found on the way. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00351">351</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a652ac3f8772ba44939907d0c66a588c2_cgraph.png" border="0" usemap="#classYQDialog_a652ac3f8772ba44939907d0c66a588c2_cgraph" alt=""/></div> <map name="classYQDialog_a652ac3f8772ba44939907d0c66a588c2_cgraph" id="classYQDialog_a652ac3f8772ba44939907d0c66a588c2_cgraph"> <area shape="rect" title="Helper function for ensureOnlyOneDefaultButton(): Recursively find all normal and wizard buttons betw..." alt="" coords="5,34,224,75"/> <area shape="rect" href="classYQGenericButton.html#a22df92d81d3809821cf867114ac78580" title="Show this button as the dialog's default button." alt="" coords="539,20,760,47"/> <area shape="rect" href="classYQGenericButton.html#a8c994b6c3b2c24da7ac9ad42ff7a1258" title="Returns 'true' if this button is shown as a default button - which may mean that this really is the d..." alt="" coords="290,34,473,75"/> <area shape="rect" href="classYQDialog.html#a5d07c8c2ce5a1a2f61611e0e45baeaa9" title="Ensure presence of no more than one single default button." alt="" coords="272,99,491,141"/> <area shape="rect" href="classYQDialog.html#ab7e5c53a306284860eda5d755f2814d8" title="Find a wizard button that would make sense as a default button." alt="" coords="547,107,751,133"/> <area shape="rect" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c" title="Find the first wizard in that dialog, if there is any." alt="" coords="829,5,977,32"/> <area shape="rect" href="classYQWizard.html#ae3eff5f84f7586d387233989766829c3" title="Returns the current direction of wizard operations - going forward or going backward." alt="" coords="833,56,972,83"/> <area shape="rect" href="classYQWizard.html#a273f72eb5c28fea7c16b7e104386202c" title="Return internal widgets." alt="" coords="825,107,981,133"/> <area shape="rect" href="classYQWizardButton.html#ae6c0a0377f5cec25aa3d4c891c9657b6" title="Returns 'true' if the associated QPushButton (!) is shown." alt="" coords="813,157,992,184"/> <area shape="rect" href="classYQGenericButton.html#a400be06ae72cf243e6f0d87e61f5c4e9" title="Returns 'true' if this button is enabled, 'false' otherwise." alt="" coords="808,208,997,235"/> <area shape="rect" href="classYQGenericButton.html#a30d846fe96d80884f6d79bb2d2bc686a" title="Returns the internal Qt PushButton." alt="" coords="1045,157,1252,184"/> </map> </div> </div> </div> <a id="a4d34a719bd11827cf9e5775e5e7ca02c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4d34a719bd11827cf9e5775e5e7ca02c">◆ </a></span>findWizard()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classYQWizard.html">YQWizard</a> * YQDialog::findWizard </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Find the first wizard in that dialog, if there is any. </p> <p>Returns 0 if there is none. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00427">427</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="a59472e6f935a1926e3bb2249b3aa19ed"></a> <h2 class="memtitle"><span class="permalink"><a href="#a59472e6f935a1926e3bb2249b3aa19ed">◆ </a></span>gettingFocus()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void YQDialog::gettingFocus </td> <td>(</td> <td class="paramtype"><a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td> <td class="paramname"><em>button</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Notification that a button gets the keyboard focus. </p> <p>All pushbuttons are required to call this whenever they gain focus so the dialog can keep track of its focusButton. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00591">591</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a59472e6f935a1926e3bb2249b3aa19ed_cgraph.png" border="0" usemap="#classYQDialog_a59472e6f935a1926e3bb2249b3aa19ed_cgraph" alt=""/></div> <map name="classYQDialog_a59472e6f935a1926e3bb2249b3aa19ed_cgraph" id="classYQDialog_a59472e6f935a1926e3bb2249b3aa19ed_cgraph"> <area shape="rect" title="Notification that a button gets the keyboard focus." alt="" coords="5,5,167,32"/> <area shape="rect" href="classYQGenericButton.html#a22df92d81d3809821cf867114ac78580" title="Show this button as the dialog's default button." alt="" coords="215,5,436,32"/> </map> </div> </div> </div> <a id="af055e43f4d36104c15dd147255343e3c"></a> <h2 class="memtitle"><span class="permalink"><a href="#af055e43f4d36104c15dd147255343e3c">◆ </a></span>highlight()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::highlight </td> <td>(</td> <td class="paramtype">YWidget * </td> <td class="paramname"><em>child</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Highlight a child widget of this dialog. </p> <p>This is meant for debugging: YDialogSpy and similar uses.</p> <p>No more than one widget can be highlighted at any one time in the same dialog. Highlighting another widget un-highlights a previously highlighted widget. 0 means 'unhighlight the last highlighted widget, but don't highlight any other'.</p> <p>Implemented from YDialog. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00861">861</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="ac3e1c510ec2f6216bbf357db62b79179"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac3e1c510ec2f6216bbf357db62b79179">◆ </a></span>keyPressEvent()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::keyPressEvent </td> <td>(</td> <td class="paramtype">QKeyEvent * </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">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Qt event handlers. </p> <p>All reimplemented from QWidget. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00607">607</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_ac3e1c510ec2f6216bbf357db62b79179_cgraph.png" border="0" usemap="#classYQDialog_ac3e1c510ec2f6216bbf357db62b79179_cgraph" alt=""/></div> <map name="classYQDialog_ac3e1c510ec2f6216bbf357db62b79179_cgraph" id="classYQDialog_ac3e1c510ec2f6216bbf357db62b79179_cgraph"> <area shape="rect" title="Qt event handlers." alt="" coords="5,348,180,375"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="987,95,1060,121"/> <area shape="rect" href="classYQUI.html#afa834e90eaf2c7ce2fdd868ddcce1c16" title="Make a screen shot in .png format and save it to 'filename'." alt="" coords="239,145,402,172"/> <area shape="rect" href="classYQUI.html#adaf48f0b83f05770cc0dc2fe18a35296" title="Show normal mouse cursor not indicating busy status." alt="" coords="953,272,1094,299"/> <area shape="rect" href="classQY2Styler.html#a9fef44f1bfdb087fc63ddc366b77c352" title="Toggle between default/alternate style sheets." alt="" coords="232,467,409,509"/> <area shape="rect" href="classYQUI.html#a450c51df6f4b767dacfdba0052749b0f" title="Open a pop-up dialog to ask the user for a widget ID and then send it with sendWidgetID()." alt="" coords="236,569,405,596"/> <area shape="rect" href="classYQUI.html#a4640dd452ca3601ca9aac1247f9b8d49" title="Open dialog to configure logging." alt="" coords="228,731,413,757"/> <area shape="rect" href="classYQUI.html#a8f52f40ec281efc1ae1489d4e41c76da" title="Open file selection box and let the user save y2logs to that location." alt="" coords="249,95,392,121"/> <area shape="rect" href="classYQDialog.html#a9743a9d907e5e7c70ca4a9992cb82d97" title="Activate (i.e." alt="" coords="233,665,408,706"/> <area shape="rect" href="classYQUI.html#a07beead8dd1239c307f6c1c7497c9a5c" title="Toggle macro recording (activated by Ctrl-Shift-Alt-M): Stop macro recording if it is in progress,..." alt="" coords="706,196,882,223"/> <area shape="rect" href="classYQUI.html#ad4766e833e677378854388346f6ac650" title="Open file selection box and ask for a macro file to play (activated by Ctrl-Shift-Alt-P)" alt="" coords="247,297,394,324"/> <area shape="rect" href="classYQUI.html#a7947705ebee53c11e1fa619f37eda7a3" title="Widget event handlers (slots) call this when an event occured that should be the answer to a UserInpu..." alt="" coords="493,399,619,425"/> <area shape="rect" href="classYQApplication.html#aa97575c75030dd5ef7540f1ee397ff15" title="Open a file selection box and prompt the user for a file to save data to." alt="" coords="465,113,647,154"/> <area shape="rect" href="classYQApplication.html#a432723ee3c1ce1723ae175092b1f1291" title="Change the (mouse) cursor back from busy status to normal." alt="" coords="699,145,889,172"/> <area shape="rect" href="classYQApplication.html#ad07b349dcce704c5293556e4479d03e6" title="Change the (mouse) cursor to indicate busy status." alt="" coords="704,95,884,121"/> <area shape="rect" href="classYQUI.html#a1c67c0ae6a50e5550acd878ad6d606b0" title="Show mouse cursor indicating busy state." alt="" coords="958,196,1089,223"/> <area shape="rect" href="classQY2Styler.html#abc1862241042886e24a427cd7643de4e" title="Determines if the alternate style is being used." alt="" coords="469,450,643,491"/> <area shape="rect" href="classQY2Styler.html#ac19118e7a9dfb126ac39a6eec23c5076" title="Loads the default stylesheet." alt="" coords="463,515,649,557"/> <area shape="rect" href="classQY2Styler.html#a13c79a276958b673415228a5901e84bd" title="Loads the alternate stylesheet." alt="" coords="473,581,639,622"/> <area shape="rect" href="classQY2Styler.html#af5044a82bff2307d2ecee90935ea188e" title="Loads and apply a style sheet from a file." alt="" coords="705,555,883,581"/> <area shape="rect" href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="1387,580,1529,607"/> <area shape="rect" href="classQY2Styler.html#ae6a176ac2e6268f93dfe7e687f8b3d5e" title="Applies a style sheet from a string." alt="" coords="937,580,1109,607"/> <area shape="rect" href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="1157,580,1339,607"/> <area shape="rect" href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626" title="Search and replace some self-defined macros in the style sheet." alt="" coords="1168,631,1328,657"/> <area shape="rect" href="classYQGenericButton.html#a66b7177d32bc8438cd9e4a560acab096" title="Activate (animated) this button." alt="" coords="467,647,645,673"/> <area shape="rect" href="classYQGenericButton.html#a400be06ae72cf243e6f0d87e61f5c4e9" title="Returns 'true' if this button is enabled, 'false' otherwise." alt="" coords="461,697,651,724"/> <area shape="rect" href="classYQGenericButton.html#a8c994b6c3b2c24da7ac9ad42ff7a1258" title="Returns 'true' if this button is shown as a default button - which may mean that this really is the d..." alt="" coords="465,749,647,790"/> <area shape="rect" href="classYQDialog.html#a56d57e2337ec135bd7febd1f2b192f08" title="Return this dialog's (first) default button or 0 if none." alt="" coords="463,815,649,841"/> <area shape="rect" href="classYQDialog.html#ad842bea04b7a8fefdd039f2956f6c9f9" title="Access to this dialog's event loop." alt="" coords="721,399,867,425"/> </map> </div> </div> </div> <a id="af85dc5c4de307b376b2c4f3f2b91ef23"></a> <h2 class="memtitle"><span class="permalink"><a href="#af85dc5c4de307b376b2c4f3f2b91ef23">◆ </a></span>losingFocus()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void YQDialog::losingFocus </td> <td>(</td> <td class="paramtype"><a class="el" href="classYQGenericButton.html">YQGenericButton</a> * </td> <td class="paramname"><em>button</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Notification that a button loses the keyboard focus. </p> <p>All pushbuttons are required to call this whenever they lose focus so the dialog can keep track of its focusButton. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00575">575</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_af85dc5c4de307b376b2c4f3f2b91ef23_cgraph.png" border="0" usemap="#classYQDialog_af85dc5c4de307b376b2c4f3f2b91ef23_cgraph" alt=""/></div> <map name="classYQDialog_af85dc5c4de307b376b2c4f3f2b91ef23_cgraph" id="classYQDialog_af85dc5c4de307b376b2c4f3f2b91ef23_cgraph"> <area shape="rect" title="Notification that a button loses the keyboard focus." alt="" coords="5,5,161,32"/> <area shape="rect" href="classYQGenericButton.html#a22df92d81d3809821cf867114ac78580" title="Show this button as the dialog's default button." alt="" coords="209,5,431,32"/> </map> </div> </div> </div> <a id="aacf586c1748a671e63fc223bb4e50bdf"></a> <h2 class="memtitle"><span class="permalink"><a href="#aacf586c1748a671e63fc223bb4e50bdf">◆ </a></span>openInternal()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::openInternal </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Internal open() method, called exactly once during the life time of the dialog in open(). </p> <p>Implemented from YDialog. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00175">175</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_aacf586c1748a671e63fc223bb4e50bdf_cgraph.png" border="0" usemap="#classYQDialog_aacf586c1748a671e63fc223bb4e50bdf_cgraph" alt=""/></div> <map name="classYQDialog_aacf586c1748a671e63fc223bb4e50bdf_cgraph" id="classYQDialog_aacf586c1748a671e63fc223bb4e50bdf_cgraph"> <area shape="rect" title="Internal open() method, called exactly once during the life time of the dialog in open()." alt="" coords="5,132,163,159"/> <area shape="rect" href="classYQDialog.html#a5d07c8c2ce5a1a2f61611e0e45baeaa9" title="Ensure presence of no more than one single default button." alt="" coords="211,125,429,166"/> <area shape="rect" href="classYQDialog.html#ab7e5c53a306284860eda5d755f2814d8" title="Find a wizard button that would make sense as a default button." alt="" coords="486,107,690,133"/> <area shape="rect" href="classYQGenericButton.html#a22df92d81d3809821cf867114ac78580" title="Show this button as the dialog's default button." alt="" coords="477,157,699,184"/> <area shape="rect" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c" title="Find the first wizard in that dialog, if there is any." alt="" coords="767,5,915,32"/> <area shape="rect" href="classYQWizard.html#ae3eff5f84f7586d387233989766829c3" title="Returns the current direction of wizard operations - going forward or going backward." alt="" coords="772,56,911,83"/> <area shape="rect" href="classYQWizard.html#a273f72eb5c28fea7c16b7e104386202c" title="Return internal widgets." alt="" coords="763,107,919,133"/> <area shape="rect" href="classYQWizardButton.html#ae6c0a0377f5cec25aa3d4c891c9657b6" title="Returns 'true' if the associated QPushButton (!) is shown." alt="" coords="752,157,931,184"/> <area shape="rect" href="classYQGenericButton.html#a400be06ae72cf243e6f0d87e61f5c4e9" title="Returns 'true' if this button is enabled, 'false' otherwise." alt="" coords="747,208,936,235"/> <area shape="rect" href="classYQGenericButton.html#a30d846fe96d80884f6d79bb2d2bc686a" title="Returns the internal Qt PushButton." alt="" coords="984,157,1191,184"/> </map> </div> </div> </div> <a id="a8c604b2f3faf50eedc0a157e4eef2a2d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8c604b2f3faf50eedc0a157e4eef2a2d">◆ </a></span>pollEventInternal()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">YEvent * YQDialog::pollEventInternal </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Check if a user event is pending. </p> <p>If there is one, return it. If there is none, do not wait for one - return 0.</p> <p>Implemented from YDialog. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00811">811</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a8c604b2f3faf50eedc0a157e4eef2a2d_cgraph.png" border="0" usemap="#classYQDialog_a8c604b2f3faf50eedc0a157e4eef2a2d_cgraph" alt=""/></div> <map name="classYQDialog_a8c604b2f3faf50eedc0a157e4eef2a2d_cgraph" id="classYQDialog_a8c604b2f3faf50eedc0a157e4eef2a2d_cgraph"> <area shape="rect" title="Check if a user event is pending." alt="" coords="5,31,188,57"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="298,5,371,32"/> <area shape="rect" href="classYQUI.html#ac4c2be3481f2d32d3be3d9bee63f7dd4" title="Return the pending event, if there is one, and mark it as "consumed"." alt="" coords="236,56,433,83"/> </map> </div> </div> </div> <a id="a37b7b7c8fe71f918c7409744586d8f5a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a37b7b7c8fe71f918c7409744586d8f5a">◆ </a></span>preferredHeight()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int YQDialog::preferredHeight </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Preferred height of the widget. </p> <p>Reimplemented from YWidget. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00224">224</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a37b7b7c8fe71f918c7409744586d8f5a_cgraph.png" border="0" usemap="#classYQDialog_a37b7b7c8fe71f918c7409744586d8f5a_cgraph" alt=""/></div> <map name="classYQDialog_a37b7b7c8fe71f918c7409744586d8f5a_cgraph" id="classYQDialog_a37b7b7c8fe71f918c7409744586d8f5a_cgraph"> <area shape="rect" title="Preferred height of the widget." alt="" coords="5,56,180,83"/> <area shape="rect" href="classYQDialog.html#a13d995f160c192efcbafe5cb47f8fc2c" title="Return 'true' if the user resized this dialog." alt="" coords="228,5,387,32"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="271,56,344,83"/> <area shape="rect" href="classYQUI.html#a8eb75f09c3676fdd2af8cd4af75c2b95" title="Returns size for opt(defaultsize) dialogs (in one dimension)." alt="" coords="243,107,371,133"/> </map> </div> </div> </div> <a id="aacbcc233a25b93ac8ac7abb3f9985b1d"></a> <h2 class="memtitle"><span class="permalink"><a href="#aacbcc233a25b93ac8ac7abb3f9985b1d">◆ </a></span>preferredWidth()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int YQDialog::preferredWidth </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Preferred width of the widget. </p> <p>Reimplemented from YWidget. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00193">193</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_aacbcc233a25b93ac8ac7abb3f9985b1d_cgraph.png" border="0" usemap="#classYQDialog_aacbcc233a25b93ac8ac7abb3f9985b1d_cgraph" alt=""/></div> <map name="classYQDialog_aacbcc233a25b93ac8ac7abb3f9985b1d_cgraph" id="classYQDialog_aacbcc233a25b93ac8ac7abb3f9985b1d_cgraph"> <area shape="rect" title="Preferred width of the widget." alt="" coords="5,56,176,83"/> <area shape="rect" href="classYQDialog.html#a13d995f160c192efcbafe5cb47f8fc2c" title="Return 'true' if the user resized this dialog." alt="" coords="224,5,383,32"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="267,56,340,83"/> <area shape="rect" href="classYQUI.html#a8eb75f09c3676fdd2af8cd4af75c2b95" title="Returns size for opt(defaultsize) dialogs (in one dimension)." alt="" coords="239,107,367,133"/> </map> </div> </div> </div> <a id="ad84cfad41c46b4f8bb3ec04332359cd7"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad84cfad41c46b4f8bb3ec04332359cd7">◆ </a></span>setDefaultButton()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void YQDialog::setDefaultButton </td> <td>(</td> <td class="paramtype">YPushButton * </td> <td class="paramname"><em>newDefaultButton</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the dialog's default button - the button that is activated with [Return] if no other button has the keyboard focus. </p> <p>'newDefaultButton' may be 0 if the former default button is destroyed. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00496">496</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_ad84cfad41c46b4f8bb3ec04332359cd7_cgraph.png" border="0" usemap="#classYQDialog_ad84cfad41c46b4f8bb3ec04332359cd7_cgraph" alt=""/></div> <map name="classYQDialog_ad84cfad41c46b4f8bb3ec04332359cd7_cgraph" id="classYQDialog_ad84cfad41c46b4f8bb3ec04332359cd7_cgraph"> <area shape="rect" title="Set the dialog's default button - the button that is activated with [Return] if no other button has t..." alt="" coords="5,5,189,32"/> <area shape="rect" href="classYQGenericButton.html#a22df92d81d3809821cf867114ac78580" title="Show this button as the dialog's default button." alt="" coords="705,27,927,53"/> <area shape="rect" href="classYQGenericButton.html#a40875f9e613268191e4547e9478ecc68" title="Accept the keyboard focus." alt="" coords="237,27,443,69"/> <area shape="rect" href="classYQGenericButton.html#a02fbc15fff59890de2119d44affb3019" title="Returns the corresponding YQDialog." alt="" coords="491,27,657,53"/> <area shape="rect" href="classYQDialog.html#a59472e6f935a1926e3bb2249b3aa19ed" title="Notification that a button gets the keyboard focus." alt="" coords="493,77,655,104"/> </map> </div> </div> </div> <a id="aec72c07ff2cd173e76a0fff04679c4dd"></a> <h2 class="memtitle"><span class="permalink"><a href="#aec72c07ff2cd173e76a0fff04679c4dd">◆ </a></span>setEnabled()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::setEnabled </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>enabled</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set enabled/disabled state. </p> <p>Reimplemented from YWidget. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00255">255</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="a1c1586736e34e5115c8e4f738acd2e31"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1c1586736e34e5115c8e4f738acd2e31">◆ </a></span>setSize()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void YQDialog::setSize </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>newWidth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>newHeight</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the new size of the widget. </p> <p>Reimplemented from YWidget. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00263">263</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> </div> </div> <a id="a7a14c1448263eb0b39c444d119ad34ff"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7a14c1448263eb0b39c444d119ad34ff">◆ </a></span>waitForEventInternal()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">YEvent * YQDialog::waitForEventInternal </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>timeout_millisec</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Wait for a user event. </p> <p>Implemented from YDialog. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00761">761</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_a7a14c1448263eb0b39c444d119ad34ff_cgraph.png" border="0" usemap="#classYQDialog_a7a14c1448263eb0b39c444d119ad34ff_cgraph" alt=""/></div> <map name="classYQDialog_a7a14c1448263eb0b39c444d119ad34ff_cgraph" id="classYQDialog_a7a14c1448263eb0b39c444d119ad34ff_cgraph"> <area shape="rect" title="Wait for a user event." alt="" coords="5,132,212,159"/> <area shape="rect" href="classYQUI.html#a437a1272167021063582eb6395e6382d" title="Access the global Qt-UI." alt="" coords="322,31,395,57"/> <area shape="rect" href="classYQUI.html#a9ac47a5da1d5babca5a1e7515a4978f7" title="Force unblocking all events, no matter how many times blockEvents() has This returns 0 if there is no..." alt="" coords="268,81,449,108"/> <area shape="rect" href="classYQUI.html#adaf48f0b83f05770cc0dc2fe18a35296" title="Show normal mouse cursor not indicating busy status." alt="" coords="288,132,429,159"/> <area shape="rect" href="classYQUI.html#ac4c2be3481f2d32d3be3d9bee63f7dd4" title="Return the pending event, if there is one, and mark it as "consumed"." alt="" coords="260,183,457,209"/> <area shape="rect" href="classYQUI.html#a4e3e5ce183681d4888d94b97b402139e" title="Show mouse cursor indicating busy state if the UI is unable to respond to user input for more than a ..." alt="" coords="271,233,446,260"/> <area shape="rect" href="classYQUI.html#a8dec4a4954c88efd483cfe0c44d595fa" title="Post-constructor initialization." alt="" coords="505,81,600,108"/> <area shape="rect" href="classYQUI.html#a2a185094cba161f236bc6d8bda57636d" title="Handle command line args." alt="" coords="648,56,868,83"/> <area shape="rect" href="classYQUI.html#a7cb11fe869dae3d5876bafaf4ad5fafe" title="Return the global YApplication object as YQApplication." alt="" coords="961,5,1061,32"/> <area shape="rect" href="classYQUI.html#abc8e203c05a3529ab36498a1b0a2a3e8" title="Calculate size of opt(defaultsize) dialogs." alt="" coords="681,107,835,133"/> <area shape="rect" href="classYQUI.html#a1c67c0ae6a50e5550acd878ad6d606b0" title="Show mouse cursor indicating busy state." alt="" coords="693,157,823,184"/> <area shape="rect" href="classYQApplication.html#a09a3a4e1d3d228dc37ed3c1bf3cb45f2" title="Set whether or not fonts should automatically be picked." alt="" coords="916,56,1107,83"/> <area shape="rect" href="classYQUI.html#af4d68bcbbc2075b489d815814a010170" title="Raise a fatal UI error." alt="" coords="937,107,1085,133"/> </map> </div> </div> </div> <a id="ab7e5c53a306284860eda5d755f2814d8"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab7e5c53a306284860eda5d755f2814d8">◆ </a></span>wizardDefaultButton()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classYQGenericButton.html">YQGenericButton</a> * YQDialog::wizardDefaultButton </td> <td>(</td> <td class="paramtype"><a class="el" href="classYQWizard.html">YQWizard</a> * </td> <td class="paramname"><em>wizard</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Find a wizard button that would make sense as a default button. </p> <p>Return 0 if none can be found. </p> <p class="definition">Definition at line <a class="el" href="YQDialog_8cc_source.html#l00459">459</a> of file <a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="classYQDialog_ab7e5c53a306284860eda5d755f2814d8_cgraph.png" border="0" usemap="#classYQDialog_ab7e5c53a306284860eda5d755f2814d8_cgraph" alt=""/></div> <map name="classYQDialog_ab7e5c53a306284860eda5d755f2814d8_cgraph" id="classYQDialog_ab7e5c53a306284860eda5d755f2814d8_cgraph"> <area shape="rect" title="Find a wizard button that would make sense as a default button." alt="" coords="5,107,209,133"/> <area shape="rect" href="classYQDialog.html#a4d34a719bd11827cf9e5775e5e7ca02c" title="Find the first wizard in that dialog, if there is any." alt="" coords="278,5,426,32"/> <area shape="rect" href="classYQWizard.html#ae3eff5f84f7586d387233989766829c3" title="Returns the current direction of wizard operations - going forward or going backward." alt="" coords="283,56,421,83"/> <area shape="rect" href="classYQWizard.html#a273f72eb5c28fea7c16b7e104386202c" title="Return internal widgets." alt="" coords="274,107,430,133"/> <area shape="rect" href="classYQWizardButton.html#ae6c0a0377f5cec25aa3d4c891c9657b6" title="Returns 'true' if the associated QPushButton (!) is shown." alt="" coords="263,157,441,184"/> <area shape="rect" href="classYQGenericButton.html#a400be06ae72cf243e6f0d87e61f5c4e9" title="Returns 'true' if this button is enabled, 'false' otherwise." alt="" coords="257,208,447,235"/> <area shape="rect" href="classYQGenericButton.html#a30d846fe96d80884f6d79bb2d2bc686a" title="Returns the internal Qt PushButton." alt="" coords="495,157,701,184"/> </map> </div> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="YQDialog_8h_source.html">YQDialog.h</a></li> <li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="YQDialog_8cc_source.html">YQDialog.cc</a></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="classYQDialog.html">YQDialog</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.15 </li> </ul> </div> </body> </html>