Changeset f2ff738751 in tspsg for docs/html/mainwindow_8h_source.html
- Timestamp:
- Apr 28, 2010, 1:56:40 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 0773f1b65f
- Parents:
- 5d401f2c50
- git-author:
- Oleksii Serdiuk <contacts@…> (04/28/10 01:56:40)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:41:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/html/mainwindow_8h_source.html
r5d401f2c50 rf2ff738751 61 61 <li><a href="index.html"><span>Main Page</span></a></li> 62 62 <li><a href="pages.html"><span>Related Pages</span></a></li> 63 <li><a href="namespaces.html"><span>Namespaces</span></a></li> 63 64 <li><a href="annotated.html"><span>Classes</span></a></li> 64 65 <li class="current"><a href="files.html"><span>Files</span></a></li> … … 93 94 <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="settingsdialog_8h.html" title="Defines SettingsDialog class.">settingsdialog.h</a>"</span> 94 95 <a name="l00035"></a>00035 95 <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="tspsolver_8h.html" title="Defines TMatrix typedef, SCandidate and SStep structs and CTSPSolver class.">tspsolver.h</a>"</span> 96 <a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="tspmodel_8h.html" title="Defines CTSPModel class.">tspmodel.h</a>"</span> 97 <a name="l00038"></a>00038 98 <a name="l00043"></a><a class="code" href="class_main_window.html">00043</a> <span class="keyword">class </span><a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a>: <span class="keyword">public</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html">QMainWindow</a>, Ui::<a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a> 99 <a name="l00044"></a>00044 { 100 <a name="l00045"></a>00045 Q_OBJECT 101 <a name="l00046"></a>00046 102 <a name="l00047"></a>00047 <span class="keyword">public</span>: 103 <a name="l00048"></a>00048 <a class="code" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="Class constructor.">MainWindow</a>(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *parent = 0); 104 <a name="l00049"></a>00049 ~<a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a>(); 105 <a name="l00050"></a>00050 106 <a name="l00051"></a>00051 <span class="keyword">private</span> slots: 107 <a name="l00052"></a>00052 <span class="comment">// Actions</span> 108 <a name="l00053"></a>00053 <span class="keywordtype">void</span> actionFileNewTriggered(); 109 <a name="l00054"></a>00054 <span class="keywordtype">void</span> actionFileOpenTriggered(); 110 <a name="l00055"></a>00055 <span class="keywordtype">bool</span> actionFileSaveTriggered(); 111 <a name="l00056"></a>00056 <span class="keywordtype">void</span> actionFileSaveAsTaskTriggered(); 112 <a name="l00057"></a>00057 <span class="keywordtype">void</span> actionFileSaveAsSolutionTriggered(); 113 <a name="l00058"></a>00058 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 114 <a name="l00059"></a>00059 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionFilePrintPreviewTriggered(); 115 <a name="l00060"></a>00060 <span class="keywordtype">void</span> actionFilePrintTriggered(); 116 <a name="l00061"></a>00061 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 117 <a name="l00062"></a>00062 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionSettingsPreferencesTriggered(); 118 <a name="l00063"></a>00063 <span class="keywordtype">void</span> actionSettingsLanguageAutodetectTriggered(<span class="keywordtype">bool</span> checked); 119 <a name="l00064"></a>00064 <span class="keywordtype">void</span> groupSettingsLanguageListTriggered(<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> *action); 120 <a name="l00065"></a>00065 <span class="preprocessor">#ifdef Q_OS_WIN32</span> 121 <a name="l00066"></a>00066 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionHelpCheck4UpdatesTriggered(); 122 <a name="l00067"></a>00067 <span class="preprocessor">#endif // Q_OS_WIN32</span> 123 <a name="l00068"></a>00068 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionHelpAboutTriggered(); 124 <a name="l00069"></a>00069 <span class="comment">// Buttons</span> 125 <a name="l00070"></a>00070 <span class="keywordtype">void</span> buttonBackToTaskClicked(); 126 <a name="l00071"></a>00071 <span class="keywordtype">void</span> buttonRandomClicked(); 127 <a name="l00072"></a>00072 <span class="keywordtype">void</span> buttonSolveClicked(); 128 <a name="l00073"></a>00073 129 <a name="l00074"></a>00074 <span class="keywordtype">void</span> dataChanged(); 130 <a name="l00075"></a>00075 <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); 131 <a name="l00076"></a>00076 <span class="preprocessor">#ifdef Q_OS_WINCE_WM</span> 132 <a name="l00077"></a>00077 <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); 133 <a name="l00078"></a>00078 <span class="keywordtype">void</span> desktopResized(<span class="keywordtype">int</span> screen); 134 <a name="l00079"></a>00079 <span class="preprocessor">#endif // Q_OS_WINCE_WM</span> 135 <a name="l00080"></a>00080 <span class="preprocessor"></span> <span class="keywordtype">void</span> numCitiesChanged(<span class="keywordtype">int</span> nCities); 136 <a name="l00081"></a>00081 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 137 <a name="l00082"></a>00082 <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); 138 <a name="l00083"></a>00083 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 139 <a name="l00084"></a>00084 <span class="preprocessor"></span> <span class="keywordtype">void</span> spinCitiesValueChanged(<span class="keywordtype">int</span> nCities); 140 <a name="l00085"></a>00085 141 <a name="l00086"></a>00086 <span class="keyword">private</span>: 142 <a name="l00087"></a>00087 <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; 143 <a name="l00088"></a>00088 <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; 144 <a name="l00089"></a>00089 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 145 <a name="l00090"></a>00090 <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; 146 <a name="l00091"></a>00091 <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; 147 <a name="l00092"></a>00092 <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; 148 <a name="l00093"></a>00093 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 149 <a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#ifdef Q_OS_WIN32</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/qaction.html">QAction</a> *actionHelpCheck4Updates; 151 <a name="l00096"></a>00096 <span class="preprocessor">#endif // Q_OS_WIN32</span> 152 <a name="l00097"></a>00097 <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; 153 <a name="l00098"></a>00098 <a class="code" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task.">CTSPModel</a> *tspmodel; 154 <a name="l00099"></a>00099 <span class="preprocessor">#ifdef Q_OS_WINCE_WM</span> 155 <a name="l00100"></a>00100 <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; 156 <a name="l00101"></a>00101 <span class="preprocessor">#endif // Q_OS_WINCE_WM</span> 157 <a name="l00102"></a>00102 <span class="preprocessor"></span> 158 <a name="l00103"></a>00103 <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); 159 <a name="l00104"></a>00104 <span class="keywordtype">bool</span> hasUpdater() <span class="keyword">const</span>; 160 <a name="l00105"></a>00105 <span class="keywordtype">void</span> initDocStyleSheet(); 161 <a name="l00106"></a>00106 <span class="keywordtype">void</span> loadLangList(); 162 <a name="l00107"></a>00107 <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>()); 163 <a name="l00108"></a>00108 <span class="keywordtype">bool</span> maybeSave(); 164 <a name="l00109"></a>00109 <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> 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) <span class="keyword">const</span>; 165 <a name="l00110"></a>00110 <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> 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) <span class="keyword">const</span>; 166 <a name="l00111"></a>00111 <span class="keywordtype">void</span> retranslateUi(<span class="keywordtype">bool</span> all = <span class="keyword">true</span>); 167 <a name="l00112"></a>00112 <span class="keywordtype">bool</span> saveTask(); 168 <a name="l00113"></a>00113 <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>); 169 <a name="l00114"></a>00114 <span class="keywordtype">void</span> setupUi(); 170 <a name="l00115"></a>00115 <span class="keywordtype">void</span> toggleSolutionActions(<span class="keywordtype">bool</span> enable = <span class="keyword">true</span>); 171 <a name="l00116"></a>00116 <span class="keywordtype">void</span> toggleTranclucency(<span class="keywordtype">bool</span> enable); 172 <a name="l00117"></a>00117 }; 173 <a name="l00118"></a>00118 174 <a name="l00119"></a>00119 <span class="preprocessor">#endif // MAINWINDOW_H</span> 96 <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="tspmodel_8h.html" title="Defines CTSPModel class.">tspmodel.h</a>"</span> 97 <a name="l00037"></a>00037 98 <a name="l00038"></a>00038 <span class="keyword">using namespace </span>TSPSolver; 99 <a name="l00039"></a>00039 100 <a name="l00044"></a><a class="code" href="class_main_window.html">00044</a> <span class="keyword">class </span><a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a>: <span class="keyword">public</span> <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qmainwindow.html">QMainWindow</a>, Ui::<a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a> 101 <a name="l00045"></a>00045 { 102 <a name="l00046"></a>00046 Q_OBJECT 103 <a name="l00047"></a>00047 104 <a name="l00048"></a>00048 <span class="keyword">public</span>: 105 <a name="l00049"></a>00049 <a class="code" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="Class constructor.">MainWindow</a>(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qwidget.html">QWidget</a> *parent = 0); 106 <a name="l00050"></a>00050 ~<a class="code" href="class_main_window.html" title="Class for handling Main Window UI and logic.">MainWindow</a>(); 107 <a name="l00051"></a>00051 108 <a name="l00052"></a>00052 <span class="keyword">private</span> slots: 109 <a name="l00053"></a>00053 <span class="comment">// Actions</span> 110 <a name="l00054"></a>00054 <span class="keywordtype">void</span> actionFileNewTriggered(); 111 <a name="l00055"></a>00055 <span class="keywordtype">void</span> actionFileOpenTriggered(); 112 <a name="l00056"></a>00056 <span class="keywordtype">bool</span> actionFileSaveTriggered(); 113 <a name="l00057"></a>00057 <span class="keywordtype">void</span> actionFileSaveAsTaskTriggered(); 114 <a name="l00058"></a>00058 <span class="keywordtype">void</span> actionFileSaveAsSolutionTriggered(); 115 <a name="l00059"></a>00059 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 116 <a name="l00060"></a>00060 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionFilePrintPreviewTriggered(); 117 <a name="l00061"></a>00061 <span class="keywordtype">void</span> actionFilePrintTriggered(); 118 <a name="l00062"></a>00062 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 119 <a name="l00063"></a>00063 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionSettingsPreferencesTriggered(); 120 <a name="l00064"></a>00064 <span class="keywordtype">void</span> actionSettingsLanguageAutodetectTriggered(<span class="keywordtype">bool</span> checked); 121 <a name="l00065"></a>00065 <span class="keywordtype">void</span> groupSettingsLanguageListTriggered(<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> *action); 122 <a name="l00066"></a>00066 <span class="preprocessor">#ifdef Q_OS_WIN32</span> 123 <a name="l00067"></a>00067 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionHelpCheck4UpdatesTriggered(); 124 <a name="l00068"></a>00068 <span class="preprocessor">#endif // Q_OS_WIN32</span> 125 <a name="l00069"></a>00069 <span class="preprocessor"></span> <span class="keywordtype">void</span> actionHelpAboutTriggered(); 126 <a name="l00070"></a>00070 <span class="comment">// Buttons</span> 127 <a name="l00071"></a>00071 <span class="keywordtype">void</span> buttonBackToTaskClicked(); 128 <a name="l00072"></a>00072 <span class="keywordtype">void</span> buttonRandomClicked(); 129 <a name="l00073"></a>00073 <span class="keywordtype">void</span> buttonSolveClicked(); 130 <a name="l00074"></a>00074 131 <a name="l00075"></a>00075 <span class="keywordtype">void</span> dataChanged(); 132 <a name="l00076"></a>00076 <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); 133 <a name="l00077"></a>00077 <span class="preprocessor">#ifdef Q_OS_WINCE_WM</span> 134 <a name="l00078"></a>00078 <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); 135 <a name="l00079"></a>00079 <span class="keywordtype">void</span> desktopResized(<span class="keywordtype">int</span> screen); 136 <a name="l00080"></a>00080 <span class="preprocessor">#endif // Q_OS_WINCE_WM</span> 137 <a name="l00081"></a>00081 <span class="preprocessor"></span> <span class="keywordtype">void</span> numCitiesChanged(<span class="keywordtype">int</span> nCities); 138 <a name="l00082"></a>00082 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 139 <a name="l00083"></a>00083 <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); 140 <a name="l00084"></a>00084 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 141 <a name="l00085"></a>00085 <span class="preprocessor"></span> <span class="keywordtype">void</span> spinCitiesValueChanged(<span class="keywordtype">int</span> nCities); 142 <a name="l00086"></a>00086 143 <a name="l00087"></a>00087 <span class="keyword">private</span>: 144 <a name="l00088"></a>00088 <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; 145 <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/qactiongroup.html">QActionGroup</a> *groupSettingsLanguageList; 146 <a name="l00090"></a>00090 <span class="preprocessor">#ifndef QT_NO_PRINTER</span> 147 <a name="l00091"></a>00091 <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; 148 <a name="l00092"></a>00092 <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; 149 <a name="l00093"></a>00093 <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; 150 <a name="l00094"></a>00094 <span class="preprocessor">#endif // QT_NO_PRINTER</span> 151 <a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#ifdef Q_OS_WIN32</span> 152 <a name="l00096"></a>00096 <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/qaction.html">QAction</a> *actionHelpCheck4Updates; 153 <a name="l00097"></a>00097 <span class="preprocessor">#endif // Q_OS_WIN32</span> 154 <a name="l00098"></a>00098 <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; 155 <a name="l00099"></a>00099 <a class="code" href="class_c_t_s_p_model.html" title="This class implements table model for manipulating a task.">CTSPModel</a> *tspmodel; 156 <a name="l00100"></a>00100 <span class="preprocessor">#ifdef Q_OS_WINCE_WM</span> 157 <a name="l00101"></a>00101 <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; 158 <a name="l00102"></a>00102 <span class="preprocessor">#endif // Q_OS_WINCE_WM</span> 159 <a name="l00103"></a>00103 <span class="preprocessor"></span> 160 <a name="l00104"></a>00104 <span class="comment">// The solution graph SVG</span> 161 <a name="l00105"></a>00105 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qpicture.html">QPicture</a> graph; 162 <a name="l00106"></a>00106 163 <a name="l00107"></a>00107 <span class="comment">// Formats</span> 164 <a name="l00108"></a>00108 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qtexttableformat.html">QTextTableFormat</a> fmt_table; 165 <a name="l00109"></a>00109 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qtextblockformat.html">QTextBlockFormat</a> fmt_paragraph, 166 <a name="l00110"></a>00110 fmt_cell; 167 <a name="l00111"></a>00111 <a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qtextcharformat.html">QTextCharFormat</a> fmt_default, 168 <a name="l00112"></a>00112 fmt_selected, 169 <a name="l00113"></a>00113 fmt_alternate, 170 <a name="l00114"></a>00114 fmt_altlist; 171 <a name="l00115"></a>00115 172 <a name="l00116"></a>00116 <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); 173 <a name="l00117"></a>00117 <span class="keywordtype">void</span> dragEnterEvent(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdragenterevent.html">QDragEnterEvent</a> *ev); 174 <a name="l00118"></a>00118 <span class="keywordtype">void</span> drawNode(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qpainter.html">QPainter</a> &pic, <span class="keywordtype">int</span> nstep, <span class="keywordtype">bool</span> left = <span class="keyword">false</span>, <a class="code" href="struct_t_s_p_solver_1_1_s_step.html" title="This structure represents one step of solving.">SStep</a> *step = NULL); 175 <a name="l00119"></a>00119 <span class="keywordtype">void</span> dropEvent(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qdropevent.html">QDropEvent</a> *ev); 176 <a name="l00120"></a>00120 <span class="keywordtype">bool</span> hasUpdater() <span class="keyword">const</span>; 177 <a name="l00121"></a>00121 <span class="keywordtype">void</span> initDocStyleSheet(); 178 <a name="l00122"></a>00122 <span class="keywordtype">void</span> loadLangList(); 179 <a name="l00123"></a>00123 <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>()); 180 <a name="l00124"></a>00124 <span class="keywordtype">bool</span> maybeSave(); 181 <a name="l00125"></a>00125 <span class="keywordtype">void</span> outputMatrix(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qtextcursor.html">QTextCursor</a> &cur, <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); 182 <a name="l00126"></a>00126 <span class="keywordtype">void</span> outputMatrix(<a class="codeRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qtextcursor.html">QTextCursor</a> &cur, <span class="keyword">const</span> <a class="code" href="struct_t_s_p_solver_1_1_s_step.html" title="This structure represents one step of solving.">SStep</a> &step); 183 <a name="l00127"></a>00127 <span class="keywordtype">void</span> retranslateUi(<span class="keywordtype">bool</span> all = <span class="keyword">true</span>); 184 <a name="l00128"></a>00128 <span class="keywordtype">bool</span> saveTask(); 185 <a name="l00129"></a>00129 <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>); 186 <a name="l00130"></a>00130 <span class="keywordtype">void</span> setupUi(); 187 <a name="l00131"></a>00131 <span class="keywordtype">void</span> toggleSolutionActions(<span class="keywordtype">bool</span> enable = <span class="keyword">true</span>); 188 <a name="l00132"></a>00132 <span class="keywordtype">void</span> toggleTranclucency(<span class="keywordtype">bool</span> enable); 189 <a name="l00133"></a>00133 }; 190 <a name="l00134"></a>00134 191 <a name="l00135"></a>00135 <span class="preprocessor">#endif // MAINWINDOW_H</span> 175 192 </pre></div></div> 176 193 <!--- window showing the filter options --> … … 179 196 onmouseout="return searchBox.OnSearchSelectHide()" 180 197 onkeydown="return searchBox.OnSearchSelectKey(event)"> 181 <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>198 <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> 182 199 183 200 <!-- iframe showing the search results (closed by default) --> … … 188 205 </div> 189 206 190 <hr size="1"/><address style="text-align: right;"><small>Generated on Fri Apr 9 00:25:382010 for TSPSG: TSP Solver and Generator by 207 <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Apr 28 02:47:10 2010 for TSPSG: TSP Solver and Generator by 191 208 <a href="http://www.doxygen.org/index.html"> 192 209 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
Note: See TracChangeset
for help on using the changeset viewer.