Changeset 67e53c96d7 in tspsg for src/mainwindow.cpp
- Timestamp:
- Oct 20, 2007, 9:16:42 PM (17 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- e664262f7d
- Parents:
- fc9f661ded
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rfc9f661ded r67e53c96d7 25 25 #include "mainwindow.h" 26 26 27 // TODO: Saving window state on close .27 // TODO: Saving window state on close 28 28 29 29 MainWindow::MainWindow(QWidget *parent) … … 83 83 // tableTask->setColumnWidth(k,tableTask->viewport()->width() / n); 84 84 // If number of cities increased we need to reset headers and set 85 // appropriate sizes for new column and row .85 // appropriate sizes for new column and row 86 86 if (increased) { 87 87 QTableWidgetItem *item = new QTableWidgetItem(trUtf8("Город ") + QVariant(n).toString()); … … 130 130 void MainWindow::Solve() 131 131 { 132 tabWidget->setCurrentIndex(1); 132 // tabWidget->setCurrentIndex(1); 133 CTSPSolver solver; 134 solver.solve(spinCities->value(),NULL); 133 135 // TODO: Task solving goes here :-) 134 136 }
Note: See TracChangeset
for help on using the changeset viewer.