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

Last change on this file since 96 was 84, checked in by laleppa, 15 years ago

Documentation update...

File size: 13.3 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/qhboxlayout.html" title="QHBoxLayout" alt="" coords="267,6,368,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/qcheckbox.html" title="QCheckBox" alt="" coords="392,6,483,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/qfont.html" title="QFont" alt="" coords="511,6,567,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/qframe.html" title="QFrame" alt="" coords="591,6,657,34"/>
114<area shape="rect" id="node16" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html" title="QSettings" alt="" coords="681,6,761,34"/>
115</map>
116<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
117
118<p><a href="class_settings_dialog-members.html">List of all members.</a></p>
119<table border="0" cellpadding="0" cellspacing="0">
120<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
121<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>
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class constructor.  <a href="#a9933956b777b2c0451e9119581cc22fb"></a><br/></td></tr>
123<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>
124<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>
125<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>
126<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>
127</table>
128<hr/><a name="_details"></a><h2>Detailed Description</h2>
129<p>Class for handling Settings Dialog UI and logic. </p>
130<dl class="author"><dt><b>Author:</b></dt><dd>Copyright &copy; 2007-2009 Lёppa &lt;contacts[at]oleksii[dot]name&gt; </dd></dl>
131<hr/><h2>Constructor &amp; Destructor Documentation</h2>
132<a class="anchor" id="a9933956b777b2c0451e9119581cc22fb"></a><!-- doxytag: member="SettingsDialog::SettingsDialog" ref="a9933956b777b2c0451e9119581cc22fb" args="(QWidget *parent=0)" -->
133<div class="memitem">
134<div class="memproto">
135      <table class="memname">
136        <tr>
137          <td class="memname">SettingsDialog::SettingsDialog </td>
138          <td>(</td>
139          <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>
140          <td class="paramname"> <em>parent</em> = <code>0</code></td>
141          <td>&nbsp;)&nbsp;</td>
142          <td></td>
143        </tr>
144      </table>
145</div>
146<div class="memdoc">
147
148<p>Class constructor. </p>
149<dl><dt><b>Parameters:</b></dt><dd>
150  <table border="0" cellspacing="2" cellpadding="0">
151    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Settings Dialog parent widget.</td></tr>
152  </table>
153  </dd>
154</dl>
155<p>Initializes Settings Dialog and creates its layout based on target OS. </p>
156
157<p><div class="dynheader">
158Here is the call graph for this function:</div>
159<div class="dynsection">
160<div class="center"><img src="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph.png" border="0" usemap="#class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" alt=""></div>
161<map name="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" id="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph">
162<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"/>
163<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"/>
164<area shape="rect" id="node7" 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,106,385,134"/>
165</map>
166</div>
167</p>
168
169</div>
170</div>
171<hr/><h2>Member Function Documentation</h2>
172<a class="anchor" id="a582255a7b2b320d0efa7e97a97e432c1"></a><!-- doxytag: member="SettingsDialog::colorChanged" ref="a582255a7b2b320d0efa7e97a97e432c1" args="() const " -->
173<div class="memitem">
174<div class="memproto">
175      <table class="memname">
176        <tr>
177          <td class="memname">bool SettingsDialog::colorChanged </td>
178          <td>(</td>
179          <td class="paramname"></td>
180          <td>&nbsp;)&nbsp;</td>
181          <td> const</td>
182        </tr>
183      </table>
184</div>
185<div class="memdoc">
186
187<p>Indicates whether or not the font color has been changed. </p>
188<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font color changed, otherwise <code>false</code>. </dd></dl>
189
190</div>
191</div>
192<a class="anchor" id="a3bbdd390758bf15a2c5e1fa69586560d"></a><!-- doxytag: member="SettingsDialog::fontChanged" ref="a3bbdd390758bf15a2c5e1fa69586560d" args="() const " -->
193<div class="memitem">
194<div class="memproto">
195      <table class="memname">
196        <tr>
197          <td class="memname">bool SettingsDialog::fontChanged </td>
198          <td>(</td>
199          <td class="paramname"></td>
200          <td>&nbsp;)&nbsp;</td>
201          <td> const</td>
202        </tr>
203      </table>
204</div>
205<div class="memdoc">
206
207<p>Indicates whether or not the font properties have been changed. </p>
208<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font properties changed, otherwise <code>false</code>. </dd></dl>
209
210</div>
211</div>
212<hr/>The documentation for this class was generated from the following files:<ul>
213<li>src/<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a></li>
214<li>src/settingsdialog.cpp</li>
215</ul>
216</div>
217<!--- window showing the filter options -->
218<div id="MSearchSelectWindow"
219     onmouseover="return searchBox.OnSearchSelectShow()"
220     onmouseout="return searchBox.OnSearchSelectHide()"
221     onkeydown="return searchBox.OnSearchSelectKey(event)">
222<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>
223
224<!-- iframe showing the search results (closed by default) -->
225<div id="MSearchResultsWindow">
226<iframe src="" frameborder="0" 
227        name="MSearchResults" id="MSearchResults">
228</iframe>
229</div>
230
231<hr size="1"/><address style="text-align: right;"><small>Generated on Thu Jan 7 18:22:52 2010 for TSPSG: TSP Solver and Generator by&nbsp;
232<a href="http://www.doxygen.org/index.html">
233<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
234</body>
235</html>
Note: See TracBrowser for help on using the repository browser.