1 #ifndef MARGINSWIDGET_H
2 #define MARGINSWIDGET_H
10 class MarginsWidget
: public QWidget
15 MarginsWidget(QWidget
*parent
= 0);
17 QMargins
value() const;
18 void setValue(const QMargins
&value
);
19 void setUnits(const QString
&units
);
28 class MarginsFWidget
: public QWidget
33 MarginsFWidget(QWidget
*parent
= 0);
35 QMarginsF
value() const;
36 void setValue(const QMarginsF
&value
);
37 void setUnits(const QString
&units
);
38 void setSingleStep(qreal step
);
42 QDoubleSpinBox
*_bottom
;
43 QDoubleSpinBox
*_left
;
44 QDoubleSpinBox
*_right
;
47 #endif // MARGINSWIDGET_H