Changeset 0007f69c46 in tspsg for src
- Timestamp:
- Sep 29, 2010, 11:54:39 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 97e90f9be6
- Parents:
- f5c945d7ac
- git-author:
- Oleksii Serdiuk <contacts@…> (09/29/10 23:54:39)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rf5c945d7ac r0007f69c46 1051 1051 QApplication::restoreOverrideCursor(); 1052 1052 } 1053 #else 1054 Q_UNUSED(silent) 1053 1055 #endif 1054 1056 settings->setValue("Check4Updates/LastAttempt", QDate::currentDate().toString(Qt::ISODate)); -
src/settingsdialog.cpp
rf5c945d7ac r0007f69c46 56 56 lineHorizontal->setPalette(p); 57 57 58 // Layout helpers 59 QBoxLayout *box; 60 QHBoxLayout *hbox; 58 61 #ifndef QT_NO_PRINTER 59 62 cbHQGraph = new QCheckBox(bgWhite); … … 65 68 cbHQGraph->setCursor(QCursor(Qt::PointingHandCursor)); 66 69 67 QBoxLayout *box = static_cast<QBoxLayout *>(tabOutput->layout());68 QHBoxLayout *hbox1= new QHBoxLayout();69 hbox 1->addSpacing(10);70 hbox 1->addWidget(cbHQGraph);71 box->insertLayout(box->indexOf(cbShowGraph) + 1, hbox 1);70 box = static_cast<QBoxLayout *>(tabOutput->layout()); 71 hbox = new QHBoxLayout(); 72 hbox->addSpacing(10); 73 hbox->addWidget(cbHQGraph); 74 box->insertLayout(box->indexOf(cbShowGraph) + 1, hbox); 72 75 connect(cbShowGraph, SIGNAL(toggled(bool)), cbHQGraph, SLOT(setEnabled(bool))); 73 76 #endif … … 94 97 95 98 box = static_cast<QBoxLayout *>(tabGeneral->layout()); 96 hbox 1= new QHBoxLayout();97 hbox 1->setSpacing(0);98 hbox 1->addWidget(cbCheck4Updates);99 hbox 1->addWidget(spinUpdateCheckInterval);100 hbox 1->addStretch();101 box->insertLayout(box->indexOf(cbUseNativeDialogs) + 1, hbox 1);99 hbox = new QHBoxLayout(); 100 hbox->setSpacing(0); 101 hbox->addWidget(cbCheck4Updates); 102 hbox->addWidget(spinUpdateCheckInterval); 103 hbox->addStretch(); 104 box->insertLayout(box->indexOf(cbUseNativeDialogs) + 1, hbox); 102 105 } else 103 106 cbCheck4Updates = NULL; … … 133 136 setLayout(vbox1); 134 137 #else // HANDHELD 135 // Layout helper elements 136 QVBoxLayout *vbox; 137 QHBoxLayout *hbox; 138 QVBoxLayout *vbox; // Layout helper 138 139 139 140 #ifdef Q_OS_WIN32 … … 191 192 hbox->addWidget(bgWhite); 192 193 193 #ifdef QT_NO_PRINTER194 QBoxLayout *box;195 #endif196 194 box = static_cast<QBoxLayout *>(tabGeneral->layout()); 197 195 box->insertWidget(box->indexOf(cbUseNativeDialogs) + 1, cbSaveState);
Note: See TracChangeset
for help on using the changeset viewer.