Changeset f19df0a3e5 in tspsg for docs/html/mainwindow_8h_source.html
- Timestamp:
- Mar 3, 2010, 12:55:23 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- e2abfd326f
- Parents:
- 162d5c5f94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/html/mainwindow_8h_source.html
r162d5c5f94 rf19df0a3e5 126 126 <a name="l00071"></a>00071 <span class="keywordtype">void</span> dataChanged(); 127 127 <a name="l00072"></a>00072 <span class="keywordtype">void</span> dataChanged(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &tl, <span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmodelindex.html">QModelIndex</a> &br); 128 <a name="l00073"></a>00073 <span class="keywordtype">void</span> numCitiesChanged(<span class="keywordtype">int</span> nCities); 129 <a name="l00074"></a>00074 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 130 <a name="l00075"></a>00075 <span class="preprocessor"></span> <span class="keywordtype">void</span> printPreview(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qprinter.html">QPrinter</a> *printer); 131 <a name="l00076"></a>00076 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 132 <a name="l00077"></a>00077 <span class="preprocessor"></span> <span class="keywordtype">void</span> spinCitiesValueChanged(<span class="keywordtype">int</span> nCities); 133 <a name="l00078"></a>00078 134 <a name="l00079"></a>00079 <span class="keyword">private</span>: 135 <a name="l00080"></a>00080 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> fileName; 136 <a name="l00081"></a>00081 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qactiongroup.html">QActionGroup</a> *groupSettingsLanguageList; 137 <a name="l00082"></a>00082 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> output; 138 <a name="l00083"></a>00083 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 139 <a name="l00084"></a>00084 <span class="preprocessor"></span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qprinter.html">QPrinter</a> *printer; 140 <a name="l00085"></a>00085 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qaction.html">QAction</a> *actionFilePrintPreview; 141 <a name="l00086"></a>00086 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qaction.html">QAction</a> *actionFilePrint; 142 <a name="l00087"></a>00087 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 143 <a name="l00088"></a>00088 <span class="preprocessor"></span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html">QSettings</a> *settings; 144 <a name="l00089"></a>00089 <a class="code" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task.">CTSPModel</a> *tspmodel; 145 <a name="l00090"></a>00090 146 <a name="l00091"></a>00091 <span class="keywordtype">void</span> closeEvent(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcloseevent.html">QCloseEvent</a> *ev); 147 <a name="l00092"></a>00092 <span class="keywordtype">void</span> initDocStyleSheet(); 148 <a name="l00093"></a>00093 <span class="keywordtype">void</span> loadLangList(); 149 <a name="l00094"></a>00094 <span class="keywordtype">bool</span> loadLanguage(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &lang = <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a>()); 150 <a name="l00095"></a>00095 <span class="keywordtype">bool</span> maybeSave(); 151 <a name="l00096"></a>00096 <span class="keywordtype">void</span> outputMatrix(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qlist.html">TMatrix</a> &matrix, <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> &output); 152 <a name="l00097"></a>00097 <span class="keywordtype">void</span> outputMatrix(<span class="keyword">const</span> <a class="code" href="struct_s_step.html" title="This structure represents one step of solving.">SStep</a> &step, <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> &output); 153 <a name="l00098"></a>00098 <span class="keywordtype">void</span> retranslateUi(<span class="keywordtype">bool</span> all = <span class="keyword">true</span>); 154 <a name="l00099"></a>00099 <span class="keywordtype">bool</span> saveTask(); 155 <a name="l00100"></a>00100 <span class="keywordtype">void</span> setFileName(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &fileName = trUtf8(<span class="stringliteral">"Untitled"</span>) + <span class="stringliteral">".tspt"</span>); 156 <a name="l00101"></a>00101 <span class="keywordtype">void</span> setupUi(); 157 <a name="l00102"></a>00102 <span class="keywordtype">void</span> toggleSolutionActions(<span class="keywordtype">bool</span> enable = <span class="keyword">true</span>); 158 <a name="l00103"></a>00103 }; 159 <a name="l00104"></a>00104 160 <a name="l00105"></a>00105 <span class="preprocessor">#endif // MAINWINDOW_H</span> 128 <a name="l00073"></a>00073 <span class="preprocessor">#ifdef Q_OS_WINCE</span> 129 <a name="l00074"></a>00074 <span class="preprocessor"></span> <span class="keywordtype">void</span> changeEvent(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qevent.html">QEvent</a> *ev); 130 <a name="l00075"></a>00075 <span class="keywordtype">void</span> desktopResized(<span class="keywordtype">int</span> screen); 131 <a name="l00076"></a>00076 <span class="preprocessor">#endif // Q_OS_WINCE</span> 132 <a name="l00077"></a>00077 <span class="preprocessor"></span> <span class="keywordtype">void</span> numCitiesChanged(<span class="keywordtype">int</span> nCities); 133 <a name="l00078"></a>00078 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 134 <a name="l00079"></a>00079 <span class="preprocessor"></span> <span class="keywordtype">void</span> printPreview(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qprinter.html">QPrinter</a> *printer); 135 <a name="l00080"></a>00080 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 136 <a name="l00081"></a>00081 <span class="preprocessor"></span> <span class="keywordtype">void</span> spinCitiesValueChanged(<span class="keywordtype">int</span> nCities); 137 <a name="l00082"></a>00082 138 <a name="l00083"></a>00083 <span class="keyword">private</span>: 139 <a name="l00084"></a>00084 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> fileName; 140 <a name="l00085"></a>00085 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qactiongroup.html">QActionGroup</a> *groupSettingsLanguageList; 141 <a name="l00086"></a>00086 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> output; 142 <a name="l00087"></a>00087 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 143 <a name="l00088"></a>00088 <span class="preprocessor"></span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qprinter.html">QPrinter</a> *printer; 144 <a name="l00089"></a>00089 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qaction.html">QAction</a> *actionFilePrintPreview; 145 <a name="l00090"></a>00090 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qaction.html">QAction</a> *actionFilePrint; 146 <a name="l00091"></a>00091 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 147 <a name="l00092"></a>00092 <span class="preprocessor"></span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qsettings.html">QSettings</a> *settings; 148 <a name="l00093"></a>00093 <a class="code" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task.">CTSPModel</a> *tspmodel; 149 <a name="l00094"></a>00094 <span class="preprocessor">#ifdef Q_OS_WINCE</span> 150 <a name="l00095"></a>00095 <span class="preprocessor"></span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qrect.html">QRect</a> currentGeometry; 151 <a name="l00096"></a>00096 <span class="preprocessor">#endif // Q_OS_WINCE</span> 152 <a name="l00097"></a>00097 <span class="preprocessor"></span> 153 <a name="l00098"></a>00098 <span class="keywordtype">void</span> closeEvent(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qcloseevent.html">QCloseEvent</a> *ev); 154 <a name="l00099"></a>00099 <span class="keywordtype">void</span> initDocStyleSheet(); 155 <a name="l00100"></a>00100 <span class="keywordtype">void</span> loadLangList(); 156 <a name="l00101"></a>00101 <span class="keywordtype">bool</span> loadLanguage(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &lang = <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a>()); 157 <a name="l00102"></a>00102 <span class="keywordtype">bool</span> maybeSave(); 158 <a name="l00103"></a>00103 <span class="keywordtype">void</span> outputMatrix(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qlist.html">TMatrix</a> &matrix, <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> &output); 159 <a name="l00104"></a>00104 <span class="keywordtype">void</span> outputMatrix(<span class="keyword">const</span> <a class="code" href="struct_s_step.html" title="This structure represents one step of solving.">SStep</a> &step, <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstringlist.html">QStringList</a> &output); 160 <a name="l00105"></a>00105 <span class="keywordtype">void</span> retranslateUi(<span class="keywordtype">bool</span> all = <span class="keyword">true</span>); 161 <a name="l00106"></a>00106 <span class="keywordtype">bool</span> saveTask(); 162 <a name="l00107"></a>00107 <span class="keywordtype">void</span> setFileName(<span class="keyword">const</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qstring.html">QString</a> &fileName = tr(<span class="stringliteral">"Untitled"</span>) + <span class="stringliteral">".tspt"</span>); 163 <a name="l00108"></a>00108 <span class="keywordtype">void</span> setupUi(); 164 <a name="l00109"></a>00109 <span class="keywordtype">void</span> toggleSolutionActions(<span class="keywordtype">bool</span> enable = <span class="keyword">true</span>); 165 <a name="l00110"></a>00110 <span class="keywordtype">void</span> toggleTranclucency(<span class="keywordtype">bool</span> enable); 166 <a name="l00111"></a>00111 }; 167 <a name="l00112"></a>00112 168 <a name="l00113"></a>00113 <span class="preprocessor">#endif // MAINWINDOW_H</span> 161 169 </pre></div></div> 162 170 <!--- window showing the filter options --> … … 174 182 </div> 175 183 176 <hr size="1"/><address style="text-align: right;"><small>Generated on Thu Jan 7 18:22:422010 for TSPSG: TSP Solver and Generator by 184 <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Mar 3 01:46:35 2010 for TSPSG: TSP Solver and Generator by 177 185 <a href="http://www.doxygen.org/index.html"> 178 186 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
Note: See TracChangeset
for help on using the changeset viewer.