2017-12-20 14:54:05 +01:00
|
|
|
/*!
|
2018-03-28 15:10:51 +02:00
|
|
|
* \copyright Copyright (c) 2017-2018 Governikus GmbH & Co. KG, Germany
|
2017-12-20 14:54:05 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDesignerCustomWidgetCollectionInterface>
|
|
|
|
|
|
|
|
namespace governikus
|
|
|
|
{
|
|
|
|
class GovernikusPluginCollection
|
|
|
|
: public QObject
|
|
|
|
, public QDesignerCustomWidgetCollectionInterface
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
|
|
|
|
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
|
|
|
|
|
|
|
public:
|
|
|
|
GovernikusPluginCollection(QObject* pParent = 0);
|
|
|
|
QList<QDesignerCustomWidgetInterface*> customWidgets() const override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QList<QDesignerCustomWidgetInterface*> mWidgets;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|