Changeset 0621172ec1 in tspsg
- Timestamp:
- Jun 22, 2009, 5:42:56 PM (16 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 5587b87fac
- Parents:
- 2394ede291
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
r2394ede291 r0621172ec1 150 150 } 151 151 152 #ifndef Q_OS_WINCE153 152 void MainWindow::closeEvent(QCloseEvent *event) 154 153 { 154 settings->setValue("NumCities",spinCities->value()); 155 #ifndef Q_OS_WINCE 155 156 // Saving windows state 156 settings->setValue("NumCities",spinCities->value());157 157 if (settings->value("SavePos",false).toBool()) { 158 158 settings->beginGroup("MainWindow"); … … 164 164 settings->endGroup(); 165 165 } 166 #endif // Q_OS_WINCE 166 167 QMainWindow::closeEvent(event); 167 168 } 168 #endif // Q_OS_WINCE -
src/mainwindow.h
r2394ede291 r0621172ec1 41 41 public: 42 42 MainWindow(QWidget *parent = 0); 43 #ifndef Q_OS_WINCE44 43 void closeEvent(QCloseEvent *event); 45 #endif // Q_OS_WINCE46 44 private slots: 47 45 void ChangeSettings(); -
tspsg.pri
r2394ede291 r0621172ec1 12 12 13 13 #Header files 14 HEADERS += src/mainwindow.h \ 14 HEADERS += src/defines.h \ 15 src/mainwindow.h \ 15 16 src/settingsdialog.h \ 16 17 src/tspmodel.h \ -
ui/settingsdialog.ce.ui
r2394ede291 r0621172ec1 196 196 <item> 197 197 <widget class="QPushButton" name="buttonColor"> 198 <property name="statusTip"> 199 <string>Задать цвет шрифта, используемого при печати</string> 200 </property> 198 201 <property name="text"> 199 202 <string>&Цвет...</string> -
ui/settingsdialog.ui
r2394ede291 r0621172ec1 285 285 <cursorShape>PointingHandCursor</cursorShape> 286 286 </property> 287 <property name="statusTip"> 288 <string>Задать цвет шрифта, используемого при печати</string> 289 </property> 287 290 <property name="text"> 288 291 <string>&Цвет...</string> … … 454 457 <resources> 455 458 <include location="../resources/tspsg.qrc"/> 456 <include location="../resources/tspsg.qrc"/>457 459 </resources> 458 460 <connections/>
Note: See TracChangeset
for help on using the changeset viewer.