source: tspsg-svn/trunk/docs/html/class_settings_dialog.html @ 74

Last change on this file since 74 was 72, checked in by laleppa, 15 years ago

Documentation update:
+ Added call and caller graphs.
+ Documentation now references Qt 4.6 documentation for Qt classes.

File size: 13.5 KB
Line 
1<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6<title>TSPSG: TSP Solver and Generator: SettingsDialog Class Reference</title>
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="search/search.css" rel="stylesheet" type="text/css"/>
9<script type="text/javaScript" src="search/search.js"></script>
10<link href="doxygen.css" rel="stylesheet" type="text/css"/>
11</head>
12<body onload='searchBox.OnSelectItem(0);'>
13<!-- Generated by Doxygen 1.6.1 -->
14<script type="text/javascript"><!--
15var searchBox = new SearchBox("searchBox", "search",false,'Search');
16--></script>
17<script type="text/javascript">
18<!--
19function changeDisplayState (e){
20  var num=this.id.replace(/[^[0-9]/g,'');
21  var button=this.firstChild;
22  var sectionDiv=document.getElementById('dynsection'+num);
23  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
24    sectionDiv.style.display='block';
25    button.src='open.gif';
26  }else{
27    sectionDiv.style.display='none';
28    button.src='closed.gif';
29  }
30}
31function initDynSections(){
32  var divs=document.getElementsByTagName('div');
33  var sectionCounter=1;
34  for(var i=0;i<divs.length-1;i++){
35    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
36      var header=divs[i];
37      var section=divs[i+1];
38      var button=header.firstChild;
39      if (button!='IMG'){
40        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
41        button=document.createElement('img');
42        divs[i].insertBefore(button,divs[i].firstChild);
43      }
44      header.style.cursor='pointer';
45      header.onclick=changeDisplayState;
46      header.id='dynheader'+sectionCounter;
47      button.src='closed.gif';
48      section.id='dynsection'+sectionCounter;
49      section.style.display='none';
50      section.style.marginLeft='14px';
51      sectionCounter++;
52    }
53  }
54}
55window.onload = initDynSections;
56-->
57</script>
58<div class="navigation" id="top">
59  <div class="tabs">
60    <ul>
61      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
62      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
63      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
64      <li><a href="files.html"><span>Files</span></a></li>
65      <li>
66        <div id="MSearchBox" class="MSearchBoxInactive">
67        <img id="MSearchSelect" src="search/search.png"
68             onmouseover="return searchBox.OnSearchSelectShow()"
69             onmouseout="return searchBox.OnSearchSelectHide()"
70             alt=""/>
71        <input type="text" id="MSearchField" value="Search" accesskey="S"
72             onfocus="searchBox.OnSearchFieldFocus(true)" 
73             onblur="searchBox.OnSearchFieldFocus(false)" 
74             onkeyup="searchBox.OnSearchFieldChange(event)"/>
75        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
76        </div>
77      </li>
78    </ul>
79  </div>
80  <div class="tabs">
81    <ul>
82      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
83      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
84      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
85    </ul>
86  </div>
87</div>
88<div class="contents">
89<h1>SettingsDialog Class Reference</h1><!-- doxytag: class="SettingsDialog" --><!-- doxytag: inherits="QDialog" -->
90<p>Class for handling Settings Dialog UI and logic. 
91<a href="#_details">More...</a></p>
92
93<p><code>#include &lt;<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a>&gt;</code></p>
94<div class="dynheader">
95Inheritance diagram for SettingsDialog:</div>
96<div class="dynsection">
97<div class="center"><img src="class_settings_dialog__inherit__graph.png" border="0" usemap="#_settings_dialog_inherit__map" alt="Inheritance graph"/></div>
98<map name="_settings_dialog_inherit__map" id="_settings_dialog_inherit__map">
99<area shape="rect" id="node2" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdialog.html" title="QDialog" alt="" coords="24,6,91,34"/>
100</map>
101<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
102<div class="dynheader">
103Collaboration diagram for SettingsDialog:</div>
104<div class="dynsection">
105<div class="center"><img src="class_settings_dialog__coll__graph.png" border="0" usemap="#_settings_dialog_coll__map" alt="Collaboration graph"/></div>
106<map name="_settings_dialog_coll__map" id="_settings_dialog_coll__map">
107<area shape="rect" id="node2" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdialog.html" title="QDialog" alt="" coords="5,6,72,34"/>
108<area shape="rect" id="node4" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qlabel.html" title="QLabel" alt="" coords="96,6,157,34"/>
109<area shape="rect" id="node6" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcolor.html" title="QColor" alt="" coords="181,6,243,34"/>
110<area shape="rect" id="node8" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcheckbox.html" title="QCheckBox" alt="" coords="267,6,357,34"/>
111<area shape="rect" id="node10" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfont.html" title="QFont" alt="" coords="381,6,437,34"/>
112<area shape="rect" id="node12" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qframe.html" title="QFrame" alt="" coords="461,6,528,34"/>
113<area shape="rect" id="node14" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html" title="QSettings" alt="" coords="552,6,632,34"/>
114</map>
115<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
116
117<p><a href="class_settings_dialog-members.html">List of all members.</a></p>
118<table border="0" cellpadding="0" cellspacing="0">
119<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
120<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a9933956b777b2c0451e9119581cc22fb">SettingsDialog</a> (<a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *parent=0)</td></tr>
121<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class constructor.  <a href="#a9933956b777b2c0451e9119581cc22fb"></a><br/></td></tr>
122<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a582255a7b2b320d0efa7e97a97e432c1">colorChanged</a> () const </td></tr>
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicates whether or not the font color has been changed.  <a href="#a582255a7b2b320d0efa7e97a97e432c1"></a><br/></td></tr>
124<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a3bbdd390758bf15a2c5e1fa69586560d">fontChanged</a> () const </td></tr>
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicates whether or not the font properties have been changed.  <a href="#a3bbdd390758bf15a2c5e1fa69586560d"></a><br/></td></tr>
126</table>
127<hr/><a name="_details"></a><h2>Detailed Description</h2>
128<p>Class for handling Settings Dialog UI and logic. </p>
129<dl class="author"><dt><b>Author:</b></dt><dd>Copyright &copy; 2007-2009 Lёppa &lt;contacts[at]oleksii[dot]name&gt; </dd></dl>
130<hr/><h2>Constructor &amp; Destructor Documentation</h2>
131<a class="anchor" id="a9933956b777b2c0451e9119581cc22fb"></a><!-- doxytag: member="SettingsDialog::SettingsDialog" ref="a9933956b777b2c0451e9119581cc22fb" args="(QWidget *parent=0)" -->
132<div class="memitem">
133<div class="memproto">
134      <table class="memname">
135        <tr>
136          <td class="memname">SettingsDialog::SettingsDialog </td>
137          <td>(</td>
138          <td class="paramtype"><a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *&nbsp;</td>
139          <td class="paramname"> <em>parent</em> = <code>0</code></td>
140          <td>&nbsp;)&nbsp;</td>
141          <td></td>
142        </tr>
143      </table>
144</div>
145<div class="memdoc">
146
147<p>Class constructor. </p>
148<dl><dt><b>Parameters:</b></dt><dd>
149  <table border="0" cellspacing="2" cellpadding="0">
150    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Settings Dialog parent widget.</td></tr>
151  </table>
152  </dd>
153</dl>
154<p>Initializes Settings Dialog and creates its layout based on target OS. </p>
155
156<p><div class="dynheader">
157Here is the call graph for this function:</div>
158<div class="dynsection">
159<div class="center"><img src="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph.png" border="0" usemap="#class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" alt=""></div>
160<map name="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" id="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph">
161<area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html#beginGroup" title="QSettings::beginGroup" alt="" coords="252,5,404,33"/>
162<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html#endGroup" title="QSettings::endGroup" alt="" coords="256,55,400,83"/>
163<area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html#fromUtf8" title="QString::fromUtf8" alt="" coords="268,106,388,134"/>
164<area shape="rect" id="node9" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdialog.html#reject" title="QDialog::reject" alt="" coords="275,157,381,185"/>
165<area shape="rect" id="node11" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html#value" title="QSettings::value" alt="" coords="271,207,385,235"/>
166</map>
167</div>
168</p>
169
170</div>
171</div>
172<hr/><h2>Member Function Documentation</h2>
173<a class="anchor" id="a582255a7b2b320d0efa7e97a97e432c1"></a><!-- doxytag: member="SettingsDialog::colorChanged" ref="a582255a7b2b320d0efa7e97a97e432c1" args="() const " -->
174<div class="memitem">
175<div class="memproto">
176      <table class="memname">
177        <tr>
178          <td class="memname">bool SettingsDialog::colorChanged </td>
179          <td>(</td>
180          <td class="paramname"></td>
181          <td>&nbsp;)&nbsp;</td>
182          <td> const</td>
183        </tr>
184      </table>
185</div>
186<div class="memdoc">
187
188<p>Indicates whether or not the font color has been changed. </p>
189<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font color changed, otherwise <code>false</code>. </dd></dl>
190
191</div>
192</div>
193<a class="anchor" id="a3bbdd390758bf15a2c5e1fa69586560d"></a><!-- doxytag: member="SettingsDialog::fontChanged" ref="a3bbdd390758bf15a2c5e1fa69586560d" args="() const " -->
194<div class="memitem">
195<div class="memproto">
196      <table class="memname">
197        <tr>
198          <td class="memname">bool SettingsDialog::fontChanged </td>
199          <td>(</td>
200          <td class="paramname"></td>
201          <td>&nbsp;)&nbsp;</td>
202          <td> const</td>
203        </tr>
204      </table>
205</div>
206<div class="memdoc">
207
208<p>Indicates whether or not the font properties have been changed. </p>
209<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font properties changed, otherwise <code>false</code>. </dd></dl>
210
211</div>
212</div>
213<hr/>The documentation for this class was generated from the following files:<ul>
214<li>src/<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a></li>
215<li>src/settingsdialog.cpp</li>
216</ul>
217</div>
218<!--- window showing the filter options -->
219<div id="MSearchSelectWindow"
220     onmouseover="return searchBox.OnSearchSelectShow()"
221     onmouseout="return searchBox.OnSearchSelectHide()"
222     onkeydown="return searchBox.OnSearchSelectKey(event)">
223<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
224
225<!-- iframe showing the search results (closed by default) -->
226<div id="MSearchResultsWindow">
227<iframe src="" frameborder="0" 
228        name="MSearchResults" id="MSearchResults">
229</iframe>
230</div>
231
232<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Dec 7 18:11:40 2009 for TSPSG: TSP Solver and Generator by&nbsp;
233<a href="http://www.doxygen.org/index.html">
234<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
235</body>
236</html>
Note: See TracBrowser for help on using the repository browser.