2009-06-29 14:47:04 +02:00
|
|
|
#ifndef @COLLECTION_INCLUDE_GUARD@
|
|
|
|
|
#define @COLLECTION_INCLUDE_GUARD@
|
|
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QtDesigner>
|
|
|
|
|
#include <qplugin.h>
|
2009-06-29 14:47:04 +02:00
|
|
|
|
|
|
|
|
class @COLLECTION_PLUGIN_CLASS@ : public QObject, public QDesignerCustomWidgetCollectionInterface
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
2013-02-12 14:15:31 +01:00
|
|
|
@COLLECTION_PLUGIN_METADATA@
|
2009-06-29 14:47:04 +02:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit @COLLECTION_PLUGIN_CLASS@(QObject *parent = 0);
|
|
|
|
|
|
|
|
|
|
virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QList<QDesignerCustomWidgetInterface*> m_widgets;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|