33class Q_DECL_EXPORT
QmlWidget :
public QQuickPaintedItem
36 Q_PROPERTY(QWidget *widget READ widget WRITE setWidget NOTIFY widgetChanged)
39 QWidget *widget(
void);
40 void setWidget(QWidget *widget);
41 void paint(QPainter *painter)
override;
44 QWidget *m_widget =
nullptr;
47 void widgetChanged(QWidget *widget);