Differential D19358 Diff 52758 src/ksieveui/autocreatescripts/sieveconditions/widgets/selectsizewidget.cpp
Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/autocreatescripts/sieveconditions/widgets/selectsizewidget.cpp
Show All 23 Lines | |||||
24 | #include <QHBoxLayout> | 24 | #include <QHBoxLayout> | ||
25 | 25 | | |||
26 | using namespace KSieveUi; | 26 | using namespace KSieveUi; | ||
27 | 27 | | |||
28 | SelectSizeWidget::SelectSizeWidget(QWidget *parent) | 28 | SelectSizeWidget::SelectSizeWidget(QWidget *parent) | ||
29 | : QWidget(parent) | 29 | : QWidget(parent) | ||
30 | { | 30 | { | ||
31 | QHBoxLayout *hbox = new QHBoxLayout(this); | 31 | QHBoxLayout *hbox = new QHBoxLayout(this); | ||
32 | hbox->setMargin(0); | 32 | hbox->setContentsMargins(0, 0, 0, 0); | ||
33 | 33 | | |||
34 | mSpinBoxSize = new QSpinBox(this); | 34 | mSpinBoxSize = new QSpinBox(this); | ||
35 | mSpinBoxSize->setMinimum(1); | 35 | mSpinBoxSize->setMinimum(1); | ||
36 | mSpinBoxSize->setMaximum(99999); | 36 | mSpinBoxSize->setMaximum(99999); | ||
37 | hbox->addWidget(mSpinBoxSize); | 37 | hbox->addWidget(mSpinBoxSize); | ||
38 | connect(mSpinBoxSize, QOverload<int>::of(&QSpinBox::valueChanged), this, &SelectSizeWidget::valueChanged); | 38 | connect(mSpinBoxSize, QOverload<int>::of(&QSpinBox::valueChanged), this, &SelectSizeWidget::valueChanged); | ||
39 | 39 | | |||
40 | mSelectSizeType = new SelectSizeTypeComboBox(this); | 40 | mSelectSizeType = new SelectSizeTypeComboBox(this); | ||
Show All 26 Lines |