#ifndef QAD_BLOCKVIEW_H #define QAD_BLOCKVIEW_H #include #include class QADBlockView : public QObject , public QDesignerCustomWidgetCollectionInterface { Q_OBJECT Q_INTERFACES(QDesignerCustomWidgetCollectionInterface) #if QT_VERSION >= 0x050000 Q_PLUGIN_METADATA(IID "qad.blockview") #endif public: explicit QADBlockView(QObject * parent = 0); virtual QList customWidgets() const; private: QList m_widgets; }; #endif // QAD_BLOCKVIEW_H