Changeset b424a7e320 in tspsg for src/mainwindow.h
- Timestamp:
- Aug 2, 2009, 9:47:45 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 6b3d3c1bbb
- Parents:
- 9aa0e521ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.h
r9aa0e521ed rb424a7e320 38 38 { 39 39 Q_OBJECT 40 40 41 public: 41 42 MainWindow(QWidget *parent = 0); 42 43 void closeEvent(QCloseEvent *); 44 43 45 private slots: 44 46 void actionFileNewTriggered(); … … 58 60 void spinCitiesValueChanged(int); 59 61 void numCitiesChanged(int); 62 60 63 private: 61 64 QSettings *settings; 62 65 QPrinter *printer; 63 66 CTSPModel *tspmodel; 67 QString fileName; 64 68 QActionGroup *groupSettingsLanguageList; 65 69 QStringList output; 70 void enableSolutionActions(bool enable = true); 71 void initDocStyleSheet(); 66 72 bool loadLanguage(QString lang = ""); 67 73 void loadLangList(); 68 void initDocStyleSheet(); 74 bool maybeSave(); 75 void outputMatrix(tMatrix, QStringList &, int nRow = -1, int nCol = -1); 76 void setFileName(QString fileName = trUtf8("Untitled") + ".tspt"); 69 77 bool saveTask(); 70 void outputMatrix(tMatrix, QStringList &, int nRow = -1, int nCol = -1);71 void enableSolutionActions(bool enable = true);72 78 }; 73 79
Note: See TracChangeset
for help on using the changeset viewer.