Changeset 07e43cf61a in tspsg for src/mainwindow.h
- Timestamp:
- Oct 5, 2012, 5:30:23 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- 47c811cc09
- Parents:
- 7a39458d16
- git-author:
- Oleksii Serdiuk <contacts@…> (10/05/12 17:30:23)
- git-committer:
- Oleksii Serdiuk <contacts@…> (10/05/12 21:58:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.h
r7a39458d16 r07e43cf61a 32 32 33 33 #include "ui_mainwindow.h" 34 #include " settingsdialog.h"34 #include "tspsolver.h" 35 35 36 #include "tspmodel.h"36 #include <QPicture> 37 37 38 38 #ifdef Q_OS_WIN32 … … 41 41 #endif 42 42 43 using namespace TSPSolver; 43 class CTSPModel; 44 45 #ifndef HANDHELD 46 class QtToolbarDialog; 47 class QtToolBarManager; 48 #endif 49 50 #ifndef QT_NO_PRINTER 51 class QPrinter; 52 #endif 44 53 45 54 /*! … … 143 152 void closeEvent(QCloseEvent *ev); 144 153 void dragEnterEvent(QDragEnterEvent *ev); 145 void drawNode(QPainter &pic, int nstep, bool left = false, SStep *step = NULL);154 void drawNode(QPainter &pic, int nstep, bool left = false, TSPSolver::SStep *step = NULL); 146 155 void dropEvent(QDropEvent *ev); 147 156 QByteArray generateImage(const QString &format); … … 152 161 void loadToolbarList(); 153 162 bool maybeSave(); 154 void outputMatrix(QTextCursor &cur, const T Matrix &matrix);155 void outputMatrix(QTextCursor &cur, const SStep &step);163 void outputMatrix(QTextCursor &cur, const TSPSolver::TMatrix &matrix); 164 void outputMatrix(QTextCursor &cur, const TSPSolver::SStep &step); 156 165 #ifdef Q_OS_SYMBIAN 157 166 void resizeEvent(QResizeEvent *ev); … … 166 175 167 176 #ifdef Q_OS_SYMBIAN 177 #include <QMessageBox> 168 178 // A quickly hacked QMessageBox for Symbian that supports three buttons. 169 179 class QSMessageBox: public QMessageBox {
Note: See TracChangeset
for help on using the changeset viewer.