Changeset 6beb157497 in tspsg for src/settingsdialog.cpp
- Timestamp:
- Feb 23, 2010, 11:17:48 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- b2bf8e3b6b
- Parents:
- 11086c2def
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
r11086c2def r6beb157497 42 42 buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor)); 43 43 44 #if def Q_OS_WINCE44 #if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN) 45 45 // Layout helper elements 46 46 QVBoxLayout *vbox1; … … 55 55 hbox1->addWidget(buttonHelp); 56 56 hbox1->addStretch(); 57 hbox1->addWidget(buttonBox);58 57 59 58 // Central layout … … 151 150 // setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::MSWindowsFixedSizeDialogHint); 152 151 setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint); 153 #if ndef Q_OS_WINCE152 #if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) 154 153 // Setting initial text of dialog hint label to own status tip text. 155 154 labelHint->setText(labelHint->statusTip()); … … 164 163 cbUseTranslucency->setChecked(settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool()); 165 164 #endif // Q_OS_WIN32 166 #if ndef Q_OS_WINCE165 #if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) 167 166 cbSaveState->setChecked(settings->value("SavePos", DEF_SAVEPOS).toBool()); 168 167 #endif // Q_OS_WINCE … … 223 222 void SettingsDialog::accept() 224 223 { 225 #if ndef Q_OS_WINCE224 #if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) 226 225 settings->setValue("SavePos", cbSaveState->isChecked()); 227 226 #endif // Q_OS_WINCE … … 282 281 } 283 282 284 #if ndef Q_OS_WINCE283 #if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) 285 284 bool SettingsDialog::event(QEvent *ev) 286 285 {
Note: See TracChangeset
for help on using the changeset viewer.