Changeset View
Changeset View
Standalone View
Standalone View
korgac/alarmdialog.cpp
Show First 20 Lines • Show All 261 Lines • ▼ Show 20 Line(s) | 260 | const QString s = xi18nc("@info default incidence details string", | |||
---|---|---|---|---|---|
262 | "to view its details here.</emphasis>"); | 262 | "to view its details here.</emphasis>"); | ||
263 | mDetailView->setDefaultMessage(s); | 263 | mDetailView->setDefaultMessage(s); | ||
264 | topLayout->addWidget(mDetailView); | 264 | topLayout->addWidget(mDetailView); | ||
265 | mDetailView->hide(); | 265 | mDetailView->hide(); | ||
266 | mLastItem = nullptr; | 266 | mLastItem = nullptr; | ||
267 | 267 | | |||
268 | QWidget *suspendBox = new QWidget(topBox); | 268 | QWidget *suspendBox = new QWidget(topBox); | ||
269 | QHBoxLayout *suspendBoxHBoxLayout = new QHBoxLayout(suspendBox); | 269 | QHBoxLayout *suspendBoxHBoxLayout = new QHBoxLayout(suspendBox); | ||
270 | suspendBoxHBoxLayout->setMargin(0); | 270 | suspendBoxHBoxLayout->setContentsMargins(0, 0, 0, 0); | ||
271 | topLayout->addWidget(suspendBox); | 271 | topLayout->addWidget(suspendBox); | ||
272 | 272 | | |||
273 | QLabel *l = new QLabel(i18nc("@label:spinbox", "Suspend &duration:"), suspendBox); | 273 | QLabel *l = new QLabel(i18nc("@label:spinbox", "Suspend &duration:"), suspendBox); | ||
274 | suspendBoxHBoxLayout->addWidget(l); | 274 | suspendBoxHBoxLayout->addWidget(l); | ||
275 | 275 | | |||
276 | mSuspendSpin = new QSpinBox(suspendBox); | 276 | mSuspendSpin = new QSpinBox(suspendBox); | ||
277 | suspendBoxHBoxLayout->addWidget(mSuspendSpin); | 277 | suspendBoxHBoxLayout->addWidget(mSuspendSpin); | ||
278 | mSuspendSpin->setRange(1, 9999); | 278 | mSuspendSpin->setRange(1, 9999); | ||
▲ Show 20 Lines • Show All 862 Lines • Show Last 20 Lines |