17 Q_PROPERTY(
bool panel READ hasPanel
18 WRITE setPanel NOTIFY panelChanged FINAL )
21 WRITE setBorderMetrics RESET resetBorderMetrics
22 NOTIFY borderMetricsChanged )
25 WRITE setBorderColors RESET resetBorderColors
26 NOTIFY borderColorsChanged )
28 Q_PROPERTY(
QskGradient setFillGradient READ fillGradient
29 WRITE setFillGradient RESET resetFillGradient
30 NOTIFY fillGradientChanged )
33 WRITE setPadding RESET resetPadding NOTIFY paddingChanged )
36 QSK_SUBCONTROLS( Panel )
38 QskBox( QQuickItem* parent =
nullptr );
39 QskBox(
bool hasPanel, QQuickItem* parent =
nullptr );
43 void setPanel(
bool );
44 bool hasPanel()
const;
48 void resetBorderMetrics();
52 void resetBorderColors();
56 void resetFillGradient();
58 void setPadding( qreal );
59 void setPadding(
const QMarginsF& );
61 QMarginsF padding()
const;
66 void panelChanged(
bool );
70 void paddingChanged(
const QMarginsF& );