cut  1.2.2-pre1
pyside2designerpluginCollection.hpp
Go to the documentation of this file.
1 #ifndef PYSIDE2DESIGNERPLUGINCOLLECTION_HPP
2 #define PYSIDE2DESIGNERPLUGINCOLLECTION_HPP
3 
4 #include <QtUiPlugin/QDesignerCustomWidgetInterface>
5 #include <qplugin.h>
6 
7 class pyside2designerpluginCollection : public QObject, public QDesignerCustomWidgetCollectionInterface
8 {
9  Q_OBJECT
10  Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
11 #if QT_VERSION >= 0x050000
12  Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
13 #endif // QT_VERSION >= 0x050000
14 
15 public:
16  explicit pyside2designerpluginCollection(QObject *parent = 0);
17 
18  virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
19 
20 private:
21  QList<QDesignerCustomWidgetInterface*> m_widgets;
22 };
23 
24 #endif // PYSIDE2DESIGNERPLUGINCOLLECTION_HPP
pyside2designerpluginCollection::customWidgets
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition: pyside2designerpluginCollection.cpp:63
pyside2designerpluginCollection::pyside2designerpluginCollection
pyside2designerpluginCollection(QObject *parent=0)
Definition: pyside2designerpluginCollection.cpp:14
pyside2designerpluginCollection
Definition: pyside2designerpluginCollection.hpp:8