source: tspsg/docs/html/class_settings_dialog.html @ 1babbd6ba3

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 1babbd6ba3 was 1babbd6ba3, checked in by Oleksii Serdiuk, 14 years ago

+ Added Installation Guide.

  • Updated translations.
  • Updated documentaion.
  • Property mode set to 100644
File size: 15.6 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="537,6,593,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="617,6,684,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="708,6,788,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<tr><td class="memItemLeft" align="right" valign="top">qint8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#aaaee67d735da21a6a5ebe95be35fe430">translucencyChanged</a> () const </td></tr>
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicates whether and how the translucency setting was changed.  <a href="#aaaee67d735da21a6a5ebe95be35fe430"></a><br/></td></tr>
129</table>
130<hr/><a name="_details"></a><h2>Detailed Description</h2>
131<p>Class for handling Settings Dialog UI and logic. </p>
132<dl class="author"><dt><b>Author:</b></dt><dd>Copyright &copy; 2007-2010 Lёppa &lt;contacts[at]oleksii[dot]name&gt; </dd></dl>
133<hr/><h2>Constructor &amp; Destructor Documentation</h2>
134<a class="anchor" id="a9933956b777b2c0451e9119581cc22fb"></a><!-- doxytag: member="SettingsDialog::SettingsDialog" ref="a9933956b777b2c0451e9119581cc22fb" args="(QWidget *parent=0)" -->
135<div class="memitem">
136<div class="memproto">
137      <table class="memname">
138        <tr>
139          <td class="memname">SettingsDialog::SettingsDialog </td>
140          <td>(</td>
141          <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>
142          <td class="paramname"> <em>parent</em> = <code>0</code></td>
143          <td>&nbsp;)&nbsp;</td>
144          <td></td>
145        </tr>
146      </table>
147</div>
148<div class="memdoc">
149
150<p>Class constructor. </p>
151<dl><dt><b>Parameters:</b></dt><dd>
152  <table border="0" cellspacing="2" cellpadding="0">
153    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Settings Dialog parent widget.</td></tr>
154  </table>
155  </dd>
156</dl>
157<p>Initializes Settings Dialog and creates its layout based on target OS. </p>
158
159<p><div class="dynheader">
160Here is the call graph for this function:</div>
161<div class="dynsection">
162<div class="center"><img src="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph.png" border="0" usemap="#class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" alt=""></div>
163<map name="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" id="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph">
164<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="273,5,425,33"/>
165<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#desktop" title="QApplication::desktop" alt="" coords="275,55,424,83"/>
166<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#endGroup" title="QSettings::endGroup" alt="" coords="277,106,421,134"/>
167<area shape="rect" id="node9" href="class_qt_win.html#ad90dbf318593dd8b4d29c4f7dc8c887f" title="Chekcs and returns true if Windows DWM composition is currently enabled on the system..." alt="" coords="252,157,447,185"/>
168<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#remove" title="QSettings::remove" alt="" coords="285,207,413,235"/>
169<area shape="rect" id="node13" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qscrollarea.html#setWidget" title="QScrollArea::setWidget" alt="" coords="271,258,428,286"/>
170<area shape="rect" id="node15" 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="292,309,407,337"/>
171</map>
172</div>
173</p>
174
175</div>
176</div>
177<hr/><h2>Member Function Documentation</h2>
178<a class="anchor" id="a582255a7b2b320d0efa7e97a97e432c1"></a><!-- doxytag: member="SettingsDialog::colorChanged" ref="a582255a7b2b320d0efa7e97a97e432c1" args="() const " -->
179<div class="memitem">
180<div class="memproto">
181      <table class="memname">
182        <tr>
183          <td class="memname">bool SettingsDialog::colorChanged </td>
184          <td>(</td>
185          <td class="paramname"></td>
186          <td>&nbsp;)&nbsp;</td>
187          <td> const</td>
188        </tr>
189      </table>
190</div>
191<div class="memdoc">
192
193<p>Indicates whether or not the font color has been changed. </p>
194<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font color changed, otherwise <code>false</code>. </dd></dl>
195
196</div>
197</div>
198<a class="anchor" id="a3bbdd390758bf15a2c5e1fa69586560d"></a><!-- doxytag: member="SettingsDialog::fontChanged" ref="a3bbdd390758bf15a2c5e1fa69586560d" args="() const " -->
199<div class="memitem">
200<div class="memproto">
201      <table class="memname">
202        <tr>
203          <td class="memname">bool SettingsDialog::fontChanged </td>
204          <td>(</td>
205          <td class="paramname"></td>
206          <td>&nbsp;)&nbsp;</td>
207          <td> const</td>
208        </tr>
209      </table>
210</div>
211<div class="memdoc">
212
213<p>Indicates whether or not the font properties have been changed. </p>
214<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font properties changed, otherwise <code>false</code>. </dd></dl>
215
216</div>
217</div>
218<a class="anchor" id="aaaee67d735da21a6a5ebe95be35fe430"></a><!-- doxytag: member="SettingsDialog::translucencyChanged" ref="aaaee67d735da21a6a5ebe95be35fe430" args="() const " -->
219<div class="memitem">
220<div class="memproto">
221      <table class="memname">
222        <tr>
223          <td class="memname">qint8 SettingsDialog::translucencyChanged </td>
224          <td>(</td>
225          <td class="paramname"></td>
226          <td>&nbsp;)&nbsp;</td>
227          <td> const</td>
228        </tr>
229      </table>
230</div>
231<div class="memdoc">
232
233<p>Indicates whether and how the translucency setting was changed. </p>
234<dl><dt><b>Return values:</b></dt><dd>
235  <table border="0" cellspacing="2" cellpadding="0">
236    <tr><td valign="top"></td><td valign="top"><em>-1</em>&nbsp;</td><td>the translucency was <em>disabled</em>. </td></tr>
237    <tr><td valign="top"></td><td valign="top"><em>0</em>&nbsp;</td><td>the translucency was <em>not changed</em>. </td></tr>
238    <tr><td valign="top"></td><td valign="top"><em>1</em>&nbsp;</td><td>the translucency was <em>enabled</em>. </td></tr>
239  </table>
240  </dd>
241</dl>
242
243</div>
244</div>
245<hr/>The documentation for this class was generated from the following files:<ul>
246<li>src/<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a></li>
247<li>src/settingsdialog.cpp</li>
248</ul>
249</div>
250<!--- window showing the filter options -->
251<div id="MSearchSelectWindow"
252     onmouseover="return searchBox.OnSearchSelectShow()"
253     onmouseout="return searchBox.OnSearchSelectHide()"
254     onkeydown="return searchBox.OnSearchSelectKey(event)">
255<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>
256
257<!-- iframe showing the search results (closed by default) -->
258<div id="MSearchResultsWindow">
259<iframe src="" frameborder="0" 
260        name="MSearchResults" id="MSearchResults">
261</iframe>
262</div>
263
264<hr size="1"/><address style="text-align: right;"><small>Generated on Thu Apr 8 23:15:53 2010 for TSPSG: TSP Solver and Generator by&nbsp;
265<a href="http://www.doxygen.org/index.html">
266<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
267</body>
268</html>
Note: See TracBrowser for help on using the repository browser.