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

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

Updated translations and regenerated documentation.

File size: 17.1 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><a href="namespaces.html"><span>Namespaces</span></a></li>
64      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
65      <li><a href="files.html"><span>Files</span></a></li>
66      <li>
67        <div id="MSearchBox" class="MSearchBoxInactive">
68        <img id="MSearchSelect" src="search/search.png"
69             onmouseover="return searchBox.OnSearchSelectShow()"
70             onmouseout="return searchBox.OnSearchSelectHide()"
71             alt=""/>
72        <input type="text" id="MSearchField" value="Search" accesskey="S"
73             onfocus="searchBox.OnSearchFieldFocus(true)" 
74             onblur="searchBox.OnSearchFieldFocus(false)" 
75             onkeyup="searchBox.OnSearchFieldChange(event)"/>
76        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
77        </div>
78      </li>
79    </ul>
80  </div>
81  <div class="tabs">
82    <ul>
83      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
84      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
85      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
86    </ul>
87  </div>
88</div>
89<div class="contents">
90<h1>SettingsDialog Class Reference</h1><!-- doxytag: class="SettingsDialog" --><!-- doxytag: inherits="QDialog" -->
91<p>Class for handling Settings Dialog UI and logic. 
92<a href="#_details">More...</a></p>
93
94<p><code>#include &lt;<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a>&gt;</code></p>
95<div class="dynheader">
96Inheritance diagram for SettingsDialog:</div>
97<div class="dynsection">
98<div class="center"><img src="class_settings_dialog__inherit__graph.png" border="0" usemap="#_settings_dialog_inherit__map" alt="Inheritance graph"/></div>
99<map name="_settings_dialog_inherit__map" id="_settings_dialog_inherit__map">
100<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"/>
101</map>
102<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
103<div class="dynheader">
104Collaboration diagram for SettingsDialog:</div>
105<div class="dynsection">
106<div class="center"><img src="class_settings_dialog__coll__graph.png" border="0" usemap="#_settings_dialog_coll__map" alt="Collaboration graph"/></div>
107<map name="_settings_dialog_coll__map" id="_settings_dialog_coll__map">
108<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"/>
109<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"/>
110<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"/>
111<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"/>
112<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"/>
113<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"/>
114<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"/>
115<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"/>
116</map>
117<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
118
119<p><a href="class_settings_dialog-members.html">List of all members.</a></p>
120<table border="0" cellpadding="0" cellspacing="0">
121<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
122<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>
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class constructor.  <a href="#a9933956b777b2c0451e9119581cc22fb"></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#a582255a7b2b320d0efa7e97a97e432c1">colorChanged</a> () const </td></tr>
125<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>
126<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>
127<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>
128<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>
129<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>
130</table>
131<hr/><a name="_details"></a><h2>Detailed Description</h2>
132<p>Class for handling Settings Dialog UI and logic. </p>
133<dl class="author"><dt><b>Author:</b></dt><dd>Copyright &copy; 2007-2010 Lёppa &lt;contacts[at]oleksii[dot]name&gt; </dd></dl>
134<hr/><h2>Constructor &amp; Destructor Documentation</h2>
135<a class="anchor" id="a9933956b777b2c0451e9119581cc22fb"></a><!-- doxytag: member="SettingsDialog::SettingsDialog" ref="a9933956b777b2c0451e9119581cc22fb" args="(QWidget *parent=0)" -->
136<div class="memitem">
137<div class="memproto">
138      <table class="memname">
139        <tr>
140          <td class="memname">SettingsDialog::SettingsDialog </td>
141          <td>(</td>
142          <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>
143          <td class="paramname"> <em>parent</em> = <code>0</code></td>
144          <td>&nbsp;)&nbsp;</td>
145          <td></td>
146        </tr>
147      </table>
148</div>
149<div class="memdoc">
150
151<p>Class constructor. </p>
152<dl><dt><b>Parameters:</b></dt><dd>
153  <table border="0" cellspacing="2" cellpadding="0">
154    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Settings Dialog parent widget.</td></tr>
155  </table>
156  </dd>
157</dl>
158<p>Initializes Settings Dialog and creates its layout based on target OS. </p>
159
160<p><div class="dynheader">
161Here is the call graph for this function:</div>
162<div class="dynsection">
163<div class="center"><img src="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph.png" border="0" usemap="#class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" alt=""></div>
164<map name="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph_map" id="class_settings_dialog_a9933956b777b2c0451e9119581cc22fb_cgraph">
165<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="300,5,452,33"/>
166<area shape="rect" id="node5" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qpalette.html#color" title="QPalette::color" alt="" coords="323,55,429,83"/>
167<area shape="rect" id="node7" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html#contains" title="QStringList::contains" alt="" coords="304,106,448,134"/>
168<area shape="rect" id="node9" 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="301,157,451,185"/>
169<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#endGroup" title="QSettings::endGroup" alt="" coords="304,207,448,235"/>
170<area shape="rect" id="node13" href="class_qt_win.html#ad90dbf318593dd8b4d29c4f7dc8c887f" title="Chekcs and returns true if Windows DWM composition is currently enabled on the system..." alt="" coords="279,258,473,286"/>
171<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#remove" title="QSettings::remove" alt="" coords="312,309,440,337"/>
172<area shape="rect" id="node17" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qpalette.html#setColor" title="QPalette::setColor" alt="" coords="312,359,440,387"/>
173<area shape="rect" id="node19" 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="297,410,455,438"/>
174<area shape="rect" id="node21" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html#sort" title="QStringList::sort" alt="" coords="319,461,433,489"/>
175<area shape="rect" id="node23" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qimagewriter.html#supportedImageFormats" title="QImageWriter::supportedImageFormats" alt="" coords="252,511,500,539"/>
176<area shape="rect" id="node25" 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="319,562,433,590"/>
177</map>
178</div>
179</p>
180
181</div>
182</div>
183<hr/><h2>Member Function Documentation</h2>
184<a class="anchor" id="a582255a7b2b320d0efa7e97a97e432c1"></a><!-- doxytag: member="SettingsDialog::colorChanged" ref="a582255a7b2b320d0efa7e97a97e432c1" args="() const " -->
185<div class="memitem">
186<div class="memproto">
187      <table class="memname">
188        <tr>
189          <td class="memname">bool SettingsDialog::colorChanged </td>
190          <td>(</td>
191          <td class="paramname"></td>
192          <td>&nbsp;)&nbsp;</td>
193          <td> const</td>
194        </tr>
195      </table>
196</div>
197<div class="memdoc">
198
199<p>Indicates whether or not the font color has been changed. </p>
200<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font color changed, otherwise <code>false</code>. </dd></dl>
201
202</div>
203</div>
204<a class="anchor" id="a3bbdd390758bf15a2c5e1fa69586560d"></a><!-- doxytag: member="SettingsDialog::fontChanged" ref="a3bbdd390758bf15a2c5e1fa69586560d" args="() const " -->
205<div class="memitem">
206<div class="memproto">
207      <table class="memname">
208        <tr>
209          <td class="memname">bool SettingsDialog::fontChanged </td>
210          <td>(</td>
211          <td class="paramname"></td>
212          <td>&nbsp;)&nbsp;</td>
213          <td> const</td>
214        </tr>
215      </table>
216</div>
217<div class="memdoc">
218
219<p>Indicates whether or not the font properties have been changed. </p>
220<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font properties changed, otherwise <code>false</code>. </dd></dl>
221
222</div>
223</div>
224<a class="anchor" id="aaaee67d735da21a6a5ebe95be35fe430"></a><!-- doxytag: member="SettingsDialog::translucencyChanged" ref="aaaee67d735da21a6a5ebe95be35fe430" args="() const " -->
225<div class="memitem">
226<div class="memproto">
227      <table class="memname">
228        <tr>
229          <td class="memname">qint8 SettingsDialog::translucencyChanged </td>
230          <td>(</td>
231          <td class="paramname"></td>
232          <td>&nbsp;)&nbsp;</td>
233          <td> const</td>
234        </tr>
235      </table>
236</div>
237<div class="memdoc">
238
239<p>Indicates whether and how the translucency setting was changed. </p>
240<dl><dt><b>Return values:</b></dt><dd>
241  <table border="0" cellspacing="2" cellpadding="0">
242    <tr><td valign="top"></td><td valign="top"><em>-1</em>&nbsp;</td><td>the translucency was <em>disabled</em>. </td></tr>
243    <tr><td valign="top"></td><td valign="top"><em>0</em>&nbsp;</td><td>the translucency was <em>not changed</em>. </td></tr>
244    <tr><td valign="top"></td><td valign="top"><em>1</em>&nbsp;</td><td>the translucency was <em>enabled</em>. </td></tr>
245  </table>
246  </dd>
247</dl>
248
249</div>
250</div>
251<hr/>The documentation for this class was generated from the following files:<ul>
252<li>src/<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a></li>
253<li>src/settingsdialog.cpp</li>
254</ul>
255</div>
256<!--- window showing the filter options -->
257<div id="MSearchSelectWindow"
258     onmouseover="return searchBox.OnSearchSelectShow()"
259     onmouseout="return searchBox.OnSearchSelectHide()"
260     onkeydown="return searchBox.OnSearchSelectKey(event)">
261<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>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
262
263<!-- iframe showing the search results (closed by default) -->
264<div id="MSearchResultsWindow">
265<iframe src="" frameborder="0" 
266        name="MSearchResults" id="MSearchResults">
267</iframe>
268</div>
269
270<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Apr 28 02:47:18 2010 for TSPSG: TSP Solver and Generator by&nbsp;
271<a href="http://www.doxygen.org/index.html">
272<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
273</body>
274</html>
Note: See TracBrowser for help on using the repository browser.