Changeset View
Changeset View
Standalone View
Standalone View
src/kontactplugin/korganizer/apptsummarywidget.cpp
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | |||||
53 | #include <QVBoxLayout> | 53 | #include <QVBoxLayout> | ||
54 | 54 | | |||
55 | ApptSummaryWidget::ApptSummaryWidget(KOrganizerPlugin *plugin, QWidget *parent) | 55 | ApptSummaryWidget::ApptSummaryWidget(KOrganizerPlugin *plugin, QWidget *parent) | ||
56 | : KontactInterface::Summary(parent) | 56 | : KontactInterface::Summary(parent) | ||
57 | , mPlugin(plugin) | 57 | , mPlugin(plugin) | ||
58 | { | 58 | { | ||
59 | QVBoxLayout *mainLayout = new QVBoxLayout(this); | 59 | QVBoxLayout *mainLayout = new QVBoxLayout(this); | ||
60 | mainLayout->setSpacing(3); | 60 | mainLayout->setSpacing(3); | ||
61 | mainLayout->setMargin(3); | 61 | mainLayout->setContentsMargins(3, 3, 3, 3); | ||
62 | 62 | | |||
63 | QWidget *header = createHeader( | 63 | QWidget *header = createHeader( | ||
64 | this, QStringLiteral("view-calendar-upcoming-events"), i18n("Upcoming Events")); | 64 | this, QStringLiteral("view-calendar-upcoming-events"), i18n("Upcoming Events")); | ||
65 | mainLayout->addWidget(header); | 65 | mainLayout->addWidget(header); | ||
66 | 66 | | |||
67 | mLayout = new QGridLayout(); | 67 | mLayout = new QGridLayout(); | ||
68 | mainLayout->addItem(mLayout); | 68 | mainLayout->addItem(mLayout); | ||
69 | mLayout->setSpacing(3); | 69 | mLayout->setSpacing(3); | ||
▲ Show 20 Lines • Show All 241 Lines • Show Last 20 Lines |