| 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: src/mainwindow.h File 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><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
| 64 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 65 | <li class="current"><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="files.html"><span>File List</span></a></li> |
---|
| 84 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 85 | </ul> |
---|
| 86 | </div> |
---|
| 87 | </div> |
---|
| 88 | <div class="contents"> |
---|
| 89 | <h1>src/mainwindow.h File Reference</h1> |
---|
| 90 | <p>Defines <a class="el" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a> class. |
---|
| 91 | <a href="#_details">More...</a></p> |
---|
| 92 | <code>#include "<a class="el" href="globals_8h_source.html">globals.h</a>"</code><br/> |
---|
| 93 | <code>#include "ui_mainwindow.h"</code><br/> |
---|
| 94 | <code>#include "<a class="el" href="settingsdialog_8h_source.html">settingsdialog.h</a>"</code><br/> |
---|
| 95 | <code>#include "<a class="el" href="tspmodel_8h_source.html">tspmodel.h</a>"</code><br/> |
---|
| 96 | <div class="dynheader"> |
---|
| 97 | Include dependency graph for mainwindow.h:</div> |
---|
| 98 | <div class="dynsection"> |
---|
| 99 | <div class="center"><img src="mainwindow_8h__incl.png" border="0" usemap="#src_2mainwindow_8h_map" alt=""/></div> |
---|
| 100 | <map name="src_2mainwindow_8h_map" id="src_2mainwindow_8h"> |
---|
| 101 | <area shape="rect" id="node3" href="globals_8h.html" title="Contains TSPSG global defines." alt="" coords="188,161,260,189"/> |
---|
| 102 | <area shape="rect" id="node28" href="settingsdialog_8h.html" title="Defines SettingsDialog class." alt="" coords="292,83,404,111"/> |
---|
| 103 | <area shape="rect" id="node33" href="tspmodel_8h.html" title="Defines CTSPModel class." alt="" coords="182,83,268,111"/> |
---|
| 104 | <area shape="rect" id="node9" href="version_8h.html" title="Contains TSPSG version information defines." alt="" coords="105,238,177,266"/> |
---|
| 105 | <area shape="rect" id="node11" href="os_8h.html" title="Contains TSPSG target CPU architecture and OS detection." alt="" coords="201,238,246,266"/> |
---|
| 106 | <area shape="rect" id="node13" href="defaults_8h.html" title="Contains TSPSG defaults." alt="" coords="270,238,348,266"/> |
---|
| 107 | <area shape="rect" id="node15" href="tspsolver_8h.html" title="Defines TSPSolver namespace and everything needed for solving TSP tasks." alt="" coords="372,238,454,266"/> |
---|
| 108 | <area shape="rect" id="node20" href="qtwin_8h.html" title="qtwin.h" alt="" coords="478,238,540,266"/> |
---|
| 109 | </map> |
---|
| 110 | </div> |
---|
| 111 | |
---|
| 112 | <p><a href="mainwindow_8h_source.html">Go to the source code of this file.</a></p> |
---|
| 113 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 114 | <tr><td colspan="2"><h2>Classes</h2></td></tr> |
---|
| 115 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html">MainWindow</a></td></tr> |
---|
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class for handling Main Window UI and logic. <a href="class_main_window.html#_details">More...</a><br/></td></tr> |
---|
| 117 | </table> |
---|
| 118 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 119 | <p>Defines <a class="el" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a> class. </p> |
---|
| 120 | <dl class="author"><dt><b>Author:</b></dt><dd>Copyright © 2007-2010 Lёppa <contacts[at]oleksii[dot]name></dd></dl> |
---|
| 121 | <dl class="rcs"><dt><b>Id</b></dt><dd><a class="el" href="mainwindow_8h.html" title="Defines MainWindow class.">mainwindow.h</a> 107 2010-04-25 14:36:27Z laleppa </dd></dl> |
---|
| 122 | <dl class="rcs"><dt><b>URL</b></dt><dd><a href="https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/mainwindow.h">https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/mainwindow.h</a> </dd></dl> |
---|
| 123 | <p><b>TSPSG: TSP Solver and Generator</b></p> |
---|
| 124 | <p>This file is part of TSPSG.</p> |
---|
| 125 | <p>TSPSG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> |
---|
| 126 | <p>TSPSG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p> |
---|
| 127 | <p>You should have received a copy of the GNU General Public License along with TSPSG. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>. </p> |
---|
| 128 | </div> |
---|
| 129 | <!--- window showing the filter options --> |
---|
| 130 | <div id="MSearchSelectWindow" |
---|
| 131 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 132 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 133 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
| 134 | <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>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Defines</a></div> |
---|
| 135 | |
---|
| 136 | <!-- iframe showing the search results (closed by default) --> |
---|
| 137 | <div id="MSearchResultsWindow"> |
---|
| 138 | <iframe src="" frameborder="0" |
---|
| 139 | name="MSearchResults" id="MSearchResults"> |
---|
| 140 | </iframe> |
---|
| 141 | </div> |
---|
| 142 | |
---|
| 143 | <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Apr 28 02:47:12 2010 for TSPSG: TSP Solver and Generator by |
---|
| 144 | <a href="http://www.doxygen.org/index.html"> |
---|
| 145 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
| 146 | </body> |
---|
| 147 | </html> |
---|