Changeset View
Changeset View
Standalone View
Standalone View
src/freebusyurldialog.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 43 | { | |||
---|---|---|---|---|---|
51 | mainLayout->addWidget(topFrame); | 51 | mainLayout->addWidget(topFrame); | ||
52 | QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); | 52 | QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); | ||
53 | okButton->setShortcut(Qt::CTRL | Qt::Key_Return); | 53 | okButton->setShortcut(Qt::CTRL | Qt::Key_Return); | ||
54 | connect(buttonBox, &QDialogButtonBox::rejected, this, &FreeBusyUrlDialog::reject); | 54 | connect(buttonBox, &QDialogButtonBox::rejected, this, &FreeBusyUrlDialog::reject); | ||
55 | mainLayout->addWidget(buttonBox); | 55 | mainLayout->addWidget(buttonBox); | ||
56 | okButton->setDefault(true); | 56 | okButton->setDefault(true); | ||
57 | 57 | | |||
58 | QBoxLayout *topLayout = new QVBoxLayout(topFrame); | 58 | QBoxLayout *topLayout = new QVBoxLayout(topFrame); | ||
59 | topLayout->setMargin(0); | 59 | topLayout->setContentsMargins(0, 0, 0, 0); | ||
60 | 60 | | |||
61 | mWidget = new FreeBusyUrlWidget(attendee, topFrame); | 61 | mWidget = new FreeBusyUrlWidget(attendee, topFrame); | ||
62 | topLayout->addWidget(mWidget); | 62 | topLayout->addWidget(mWidget); | ||
63 | 63 | | |||
64 | mWidget->loadConfig(); | 64 | mWidget->loadConfig(); | ||
65 | connect(okButton, &QPushButton::clicked, this, &FreeBusyUrlDialog::slotOk); | 65 | connect(okButton, &QPushButton::clicked, this, &FreeBusyUrlDialog::slotOk); | ||
66 | } | 66 | } | ||
67 | 67 | | |||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |