ifw-fcf 7.1.4
Loading...
Searching...
No Matches
InsWidgets.hpp
Go to the documentation of this file.
1#ifndef INS_WIDGETS_H
2#define INS_WIDGETS_H
3
4#include <QtUiPlugin/QDesignerCustomWidgetInterface>
5#include <qplugin.h>
6
7class InsWidgets : 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
15public:
16 explicit InsWidgets(QObject *parent = 0);
17
18 virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
19
20private:
21 QList<QDesignerCustomWidgetInterface*> m_widgets;
22};
23
24#endif // INS_WIDGETS_H
Definition InsWidgets.hpp:8
InsWidgets(QObject *parent=0)
Definition InsWidgets.cpp:19
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition InsWidgets.cpp:36