12class QQuickWidgetPlugin:
public QObject,
public QDesignerCustomWidgetInterface
15 Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetInterface")
16 Q_INTERFACES(QDesignerCustomWidgetInterface)
18 explicit QQuickWidgetPlugin(QObject *parent =
nullptr);
20 QString name()
const override;
21 QString group()
const override;
22 QString toolTip()
const override;
23 QString whatsThis()
const override;
24 QString includeFile()
const override;
25 QIcon icon()
const override;
26 bool isContainer()
const override;
27 QWidget *createWidget(QWidget *parent) override;
28 bool isInitialized()
const override;
29 void initialize(QDesignerFormEditorInterface *core) override;
30 QString domXml()
const override;
33 void sceneGraphError(QQuickWindow::SceneGraphError,
const QString &);
36 bool m_initialized =
false;