Changeset 72 in tspsg-svn for trunk/docs/html/class_main_window.html
- Timestamp:
- Dec 7, 2009, 5:50:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/html/class_main_window.html
r68 r72 81 81 <ul> 82 82 <li><a href="annotated.html"><span>Class List</span></a></li> 83 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> 83 84 <li><a href="functions.html"><span>Class Members</span></a></li> 84 85 </ul> … … 86 87 </div> 87 88 <div class="contents"> 88 <h1>MainWindow Class Reference</h1><!-- doxytag: class="MainWindow" --> 89 <h1>MainWindow Class Reference</h1><!-- doxytag: class="MainWindow" --><!-- doxytag: inherits="QMainWindow" --> 89 90 <p>Class for handling Main Window UI and logic. 90 91 <a href="#_details">More...</a></p> 91 92 92 93 <p><code>#include <<a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>></code></p> 94 <div class="dynheader"> 95 Inheritance diagram for MainWindow:</div> 96 <div class="dynsection"> 97 <div class="center"><img src="class_main_window__inherit__graph.png" border="0" usemap="#_main_window_inherit__map" alt="Inheritance graph"/></div> 98 <map name="_main_window_inherit__map" id="_main_window_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/qmainwindow.html" title="QMainWindow" alt="" coords="5,6,109,34"/> 100 </map> 101 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> 93 102 <div class="dynheader"> 94 103 Collaboration diagram for MainWindow:</div> … … 96 105 <div class="center"><img src="class_main_window__coll__graph.png" border="0" usemap="#_main_window_coll__map" alt="Collaboration graph"/></div> 97 106 <map name="_main_window_coll__map" id="_main_window_coll__map"> 98 <area shape="rect" id="node2" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task." alt="" coords="8,6,99,34"/> 107 <area shape="rect" id="node2" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html" title="QMainWindow" alt="" coords="69,99,173,127"/> 108 <area shape="rect" id="node4" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qprinter.html" title="QPrinter" alt="" coords="197,99,267,127"/> 109 <area shape="rect" id="node6" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task." alt="" coords="291,99,381,127"/> 110 <area shape="rect" id="node8" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qabstracttablemodel.html" title="QAbstractTableModel" alt="" coords="5,6,152,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/qvector.html" title="QVector\< QVector\< double \> \>" alt="" coords="176,6,379,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/qsettings.html" title="QSettings" alt="" coords="403,6,483,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/qactiongroup.html" title="QActionGroup" alt="" coords="500,99,604,127"/> 114 <area shape="rect" id="node16" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html" title="QString" alt="" coords="629,99,693,127"/> 115 <area shape="rect" id="node19" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html" title="QStringList" alt="" coords="717,99,803,127"/> 99 116 </map> 100 117 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> … … 103 120 <table border="0" cellpadding="0" cellspacing="0"> 104 121 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 105 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> ( QWidget*parent=0)</td></tr>122 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</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> 106 123 <tr><td class="mdescLeft"> </td><td class="mdescRight">Class constructor. <a href="#a8b244be8b7b7db1b08de2a2acb9409db"></a><br/></td></tr> 107 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a38edb88d43e844aca9d2e762c8706565">closeEvent</a> (QCloseEvent *)</td></tr>108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Handles Main Window close event. <a href="#a38edb88d43e844aca9d2e762c8706565"></a><br/></td></tr>109 124 </table> 110 125 <hr/><a name="_details"></a><h2>Detailed Description</h2> … … 119 134 <td class="memname">MainWindow::MainWindow </td> 120 135 <td>(</td> 121 <td class="paramtype"> QWidget* </td>136 <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> * </td> 122 137 <td class="paramname"> <em>parent</em> = <code>0</code></td> 123 138 <td> ) </td> … … 137 152 <p>Initializes Main Window and creates its layout based on target OS. Loads TSPSG settings and opens a task file if it was specified as a commandline parameter. </p> 138 153 139 </div> 140 </div> 141 <hr/><h2>Member Function Documentation</h2> 142 <a class="anchor" id="a38edb88d43e844aca9d2e762c8706565"></a><!-- doxytag: member="MainWindow::closeEvent" ref="a38edb88d43e844aca9d2e762c8706565" args="(QCloseEvent *)" --> 143 <div class="memitem"> 144 <div class="memproto"> 145 <table class="memname"> 146 <tr> 147 <td class="memname">void MainWindow::closeEvent </td> 148 <td>(</td> 149 <td class="paramtype">QCloseEvent * </td> 150 <td class="paramname"> <em>event</em></td> 151 <td> ) </td> 152 <td></td> 153 </tr> 154 </table> 155 </div> 156 <div class="memdoc"> 157 158 <p>Handles Main Window close event. </p> 159 <dl><dt><b>Parameters:</b></dt><dd> 160 <table border="0" cellspacing="2" cellpadding="0"> 161 <tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>Close event.</td></tr> 162 </table> 163 </dd> 164 </dl> 165 <p>Checks whether or not a current task was saved and asks for saving if not. Saves TSPSG settings. </p> 154 <p><div class="dynheader"> 155 Here is the call graph for this function:</div> 156 <div class="dynsection"> 157 <div class="center"><img src="class_main_window_a8b244be8b7b7db1b08de2a2acb9409db_cgraph.png" border="0" usemap="#class_main_window_a8b244be8b7b7db1b08de2a2acb9409db_cgraph_map" alt=""></div> 158 <map name="class_main_window_a8b244be8b7b7db1b08de2a2acb9409db_cgraph_map" id="class_main_window_a8b244be8b7b7db1b08de2a2acb9409db_cgraph"> 159 <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcoreapplication.html#arguments" title="QCoreApplication::arguments" alt="" coords="243,5,435,33"/> 160 <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#beginGroup" title="QSettings::beginGroup" alt="" coords="263,55,415,83"/> 161 <area shape="rect" id="node7" 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="264,106,413,134"/> 162 <area shape="rect" id="node9" 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="267,157,411,185"/> 163 <area shape="rect" id="node11" href="class_c_t_s_p_model.html#ae25b1d25b13488fde89e381152c62549" title="Loads a task from fname." alt="" coords="264,207,413,235"/> 164 <area shape="rect" id="node27" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qrect.html#moveCenter" title="QRect::moveCenter" alt="" coords="272,258,405,286"/> 165 <area shape="rect" id="node29" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html#restoreState" title="QMainWindow::restoreState" alt="" coords="247,309,431,337"/> 166 <area shape="rect" id="node31" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html#setCentralWidget" title="QMainWindow::setCentralWidget" alt="" coords="232,359,445,387"/> 167 <area shape="rect" id="node33" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html#setStatusBar" title="QMainWindow::setStatusBar" alt="" coords="244,410,433,438"/> 168 <area shape="rect" id="node35" 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="281,461,396,489"/> 169 <area shape="rect" id="node13" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#close" title="QFile::close" alt="" coords="563,55,653,83"/> 170 <area shape="rect" id="node15" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#device" title="QDataStream::device" alt="" coords="536,106,680,134"/> 171 <area shape="rect" id="node17" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qfile.html#open" title="QFile::open" alt="" coords="564,157,652,185"/> 172 <area shape="rect" id="node19" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#restoreOverrideCursor" title="QApplication::restoreOverrideCursor" alt="" coords="495,207,721,235"/> 173 <area shape="rect" id="node21" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qapplication.html#setOverrideCursor" title="QApplication::setOverrideCursor" alt="" coords="505,258,711,286"/> 174 <area shape="rect" id="node23" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#setVersion" title="QDataStream::setVersion" alt="" coords="523,309,693,337"/> 175 <area shape="rect" id="node25" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdatastream.html#status" title="QDataStream::status" alt="" coords="536,359,680,387"/> 176 </map> 177 </div> 178 </p> 166 179 167 180 </div> … … 186 199 </div> 187 200 188 <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 201 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Dec 7 18:11:39 2009 for TSPSG: TSP Solver and Generator by 189 202 <a href="http://www.doxygen.org/index.html"> 190 203 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
Note: See TracChangeset
for help on using the changeset viewer.