21 Q_PROPERTY(QMargins margins READ margins WRITE setMargins NOTIFY marginsChanged)
22 Q_PROPERTY(QPainterPath clipPath READ clipPath WRITE setClipPath NOTIFY clipPathChanged)
27 QMargins margins() const;
28 QPainterPath clipPath() const;
31 void setMargins(QMargins margins);
32 void setClipPath(const QPainterPath &path);
35 void marginsChanged(QMargins margins);
36 void clipPathChanged(QPainterPath clipPath);
39 bool eventFilter(QObject *watched, QEvent *event) Q_DECL_OVERRIDE;
40 void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE;
41 void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
42 void showEvent(QShowEvent *event) Q_DECL_OVERRIDE;
43 void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE;
47 using QWidget::resize;
48 using QWidget::setGeometry;