Go to the documentation of this file.
25 #ifndef QVTK_WIDGET_PLUGIN
26 #define QVTK_WIDGET_PLUGIN
30 #pragma GCC diagnostic push
31 #pragma GCC diagnostic ignored "-Wunused-parameter"
34 #include <QDesignerCustomWidgetInterface>
35 #include <QDesignerCustomWidgetCollectionInterface>
47 QString
name()
const override;
48 QString
domXml()
const override;
50 QString
group()
const override;
51 QIcon
icon()
const override;
53 QString
toolTip()
const override;
59 class QVTKPlugin :
public QObject,
public QDesignerCustomWidgetCollectionInterface
62 #if QT_VERSION >= 0x050000
63 Q_PLUGIN_METADATA(IID
"org.vtk.qvtkplugin")
65 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
70 QList<QDesignerCustomWidgetInterface*>
customWidgets()
const override;
85 #pragma GCC diagnostic pop
88 #endif //QVTK_WIDGET_PLUGIN
QList< QDesignerCustomWidgetInterface * > customWidgets() const override