[8af59c4aa3] | 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"><!-- |
---|
| 15 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
---|
| 16 | --></script> |
---|
| 17 | <script type="text/javascript"> |
---|
| 18 | <!-- |
---|
| 19 | function 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 | } |
---|
| 31 | function 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 | } |
---|
| 55 | window.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 Page</span></a></li> |
---|
| 62 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
| 83 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 84 | </ul> |
---|
| 85 | </div> |
---|
| 86 | </div> |
---|
| 87 | <div class="contents"> |
---|
| 88 | <h1>SettingsDialog Class Reference</h1><!-- doxytag: class="SettingsDialog" --> |
---|
| 89 | <p>Class for handling Settings Dialog UI and logic. |
---|
| 90 | <a href="#_details">More...</a></p> |
---|
| 91 | |
---|
| 92 | <p><code>#include <<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a>></code></p> |
---|
| 93 | |
---|
| 94 | <p><a href="class_settings_dialog-members.html">List of all members.</a></p> |
---|
| 95 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 96 | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
---|
| 97 | <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a9933956b777b2c0451e9119581cc22fb">SettingsDialog</a> (QWidget *parent=0)</td></tr> |
---|
| 98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="#a9933956b777b2c0451e9119581cc22fb"></a><br/></td></tr> |
---|
| 99 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a582255a7b2b320d0efa7e97a97e432c1">colorChanged</a> () const </td></tr> |
---|
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not the font color has been changed. <a href="#a582255a7b2b320d0efa7e97a97e432c1"></a><br/></td></tr> |
---|
| 101 | <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings_dialog.html#a3bbdd390758bf15a2c5e1fa69586560d">fontChanged</a> () const </td></tr> |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not the font properties have been changed. <a href="#a3bbdd390758bf15a2c5e1fa69586560d"></a><br/></td></tr> |
---|
| 103 | </table> |
---|
| 104 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 105 | <p>Class for handling Settings Dialog UI and logic. </p> |
---|
| 106 | <dl class="author"><dt><b>Author:</b></dt><dd>Copyright © 2007-2009 Lёppa <contacts[at]oleksii[dot]name> </dd></dl> |
---|
| 107 | <hr/><h2>Constructor & Destructor Documentation</h2> |
---|
| 108 | <a class="anchor" id="a9933956b777b2c0451e9119581cc22fb"></a><!-- doxytag: member="SettingsDialog::SettingsDialog" ref="a9933956b777b2c0451e9119581cc22fb" args="(QWidget *parent=0)" --> |
---|
| 109 | <div class="memitem"> |
---|
| 110 | <div class="memproto"> |
---|
| 111 | <table class="memname"> |
---|
| 112 | <tr> |
---|
| 113 | <td class="memname">SettingsDialog::SettingsDialog </td> |
---|
| 114 | <td>(</td> |
---|
| 115 | <td class="paramtype">QWidget * </td> |
---|
| 116 | <td class="paramname"> <em>parent</em> = <code>0</code></td> |
---|
| 117 | <td> ) </td> |
---|
| 118 | <td></td> |
---|
| 119 | </tr> |
---|
| 120 | </table> |
---|
| 121 | </div> |
---|
| 122 | <div class="memdoc"> |
---|
| 123 | |
---|
| 124 | <p>Class constructor. </p> |
---|
| 125 | <dl><dt><b>Parameters:</b></dt><dd> |
---|
| 126 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 127 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Settings Dialog parent widget.</td></tr> |
---|
| 128 | </table> |
---|
| 129 | </dd> |
---|
| 130 | </dl> |
---|
| 131 | <p>Initializes Settings Dialog and creates its layout based on target OS. </p> |
---|
| 132 | |
---|
| 133 | </div> |
---|
| 134 | </div> |
---|
| 135 | <hr/><h2>Member Function Documentation</h2> |
---|
| 136 | <a class="anchor" id="a582255a7b2b320d0efa7e97a97e432c1"></a><!-- doxytag: member="SettingsDialog::colorChanged" ref="a582255a7b2b320d0efa7e97a97e432c1" args="() const " --> |
---|
| 137 | <div class="memitem"> |
---|
| 138 | <div class="memproto"> |
---|
| 139 | <table class="memname"> |
---|
| 140 | <tr> |
---|
| 141 | <td class="memname">bool SettingsDialog::colorChanged </td> |
---|
| 142 | <td>(</td> |
---|
| 143 | <td class="paramname"></td> |
---|
| 144 | <td> ) </td> |
---|
| 145 | <td> const</td> |
---|
| 146 | </tr> |
---|
| 147 | </table> |
---|
| 148 | </div> |
---|
| 149 | <div class="memdoc"> |
---|
| 150 | |
---|
| 151 | <p>Indicates whether or not the font color has been changed. </p> |
---|
| 152 | <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font color changed, otherwise <code>false</code>. </dd></dl> |
---|
| 153 | |
---|
| 154 | </div> |
---|
| 155 | </div> |
---|
| 156 | <a class="anchor" id="a3bbdd390758bf15a2c5e1fa69586560d"></a><!-- doxytag: member="SettingsDialog::fontChanged" ref="a3bbdd390758bf15a2c5e1fa69586560d" args="() const " --> |
---|
| 157 | <div class="memitem"> |
---|
| 158 | <div class="memproto"> |
---|
| 159 | <table class="memname"> |
---|
| 160 | <tr> |
---|
| 161 | <td class="memname">bool SettingsDialog::fontChanged </td> |
---|
| 162 | <td>(</td> |
---|
| 163 | <td class="paramname"></td> |
---|
| 164 | <td> ) </td> |
---|
| 165 | <td> const</td> |
---|
| 166 | </tr> |
---|
| 167 | </table> |
---|
| 168 | </div> |
---|
| 169 | <div class="memdoc"> |
---|
| 170 | |
---|
| 171 | <p>Indicates whether or not the font properties have been changed. </p> |
---|
| 172 | <dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if font properties changed, otherwise <code>false</code>. </dd></dl> |
---|
| 173 | |
---|
| 174 | </div> |
---|
| 175 | </div> |
---|
| 176 | <hr/>The documentation for this class was generated from the following files:<ul> |
---|
| 177 | <li>src/<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a></li> |
---|
| 178 | <li>src/settingsdialog.cpp</li> |
---|
| 179 | </ul> |
---|
| 180 | </div> |
---|
| 181 | <!--- window showing the filter options --> |
---|
| 182 | <div id="MSearchSelectWindow" |
---|
| 183 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 184 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 185 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
| 186 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Defines</a></div> |
---|
| 187 | |
---|
| 188 | <!-- iframe showing the search results (closed by default) --> |
---|
| 189 | <div id="MSearchResultsWindow"> |
---|
| 190 | <iframe src="" frameborder="0" |
---|
| 191 | name="MSearchResults" id="MSearchResults"> |
---|
| 192 | </iframe> |
---|
| 193 | </div> |
---|
| 194 | |
---|
| 195 | <hr size="1"/><address style="text-align: right;"><small>Generated on Sat Oct 24 16:33:19 2009 for TSPSG: TSP Solver and Generator by |
---|
| 196 | <a href="http://www.doxygen.org/index.html"> |
---|
| 197 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
| 198 | </body> |
---|
| 199 | </html> |
---|