ifw-fcfui 1.0.1
 
Loading...
Searching...
No Matches
InsWidgets.hpp
Go to the documentation of this file.
1
5
6#ifndef INS_WIDGETS_H
7#define INS_WIDGETS_H
8
9#include <QtUiPlugin/QDesignerCustomWidgetInterface>
10#include <qplugin.h>
11
12class InsWidgets : public QObject, public QDesignerCustomWidgetCollectionInterface
13{
14 Q_OBJECT
15 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
16#if QT_VERSION >= 0x050000
17 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
18#endif // QT_VERSION >= 0x050000
19
20public:
21 explicit InsWidgets(QObject *parent = 0);
22
23 virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
24
25private:
26 QList<QDesignerCustomWidgetInterface*> m_widgets;
27};
28
29#endif // INS_WIDGETS_H
InsWidgets(QObject *parent=0)
Definition InsWidgets.cpp:24
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition InsWidgets.cpp:41