Changeset View
Changeset View
Standalone View
Standalone View
src/kontactplugin/korganizer/todosummarywidget.cpp
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | |||||
53 | using namespace KCalUtils; | 53 | using namespace KCalUtils; | ||
54 | 54 | | |||
55 | TodoSummaryWidget::TodoSummaryWidget(TodoPlugin *plugin, QWidget *parent) | 55 | TodoSummaryWidget::TodoSummaryWidget(TodoPlugin *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(this, QStringLiteral("korg-todo"), i18n("Pending To-dos")); | 63 | QWidget *header = createHeader(this, QStringLiteral("korg-todo"), i18n("Pending To-dos")); | ||
64 | mainLayout->addWidget(header); | 64 | mainLayout->addWidget(header); | ||
65 | 65 | | |||
66 | mLayout = new QGridLayout(); | 66 | mLayout = new QGridLayout(); | ||
67 | mainLayout->addItem(mLayout); | 67 | mainLayout->addItem(mLayout); | ||
68 | mLayout->setSpacing(3); | 68 | mLayout->setSpacing(3); | ||
69 | mLayout->setRowStretch(6, 1); | 69 | mLayout->setRowStretch(6, 1); | ||
▲ Show 20 Lines • Show All 370 Lines • Show Last 20 Lines |