ddt 1.4.0
 
Loading...
Searching...
No Matches
ddtWidgetsPlugin.hpp
Go to the documentation of this file.
1
11
12#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
13#define DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
14
15#include <qplugin.h>
16
17#include <QtDesigner>
18#include <QtUiPlugin/QDesignerExportWidget>
19#include <QtWidgets>
20
24class DdtWidgetsPlugin : public QObject,
25 public QDesignerCustomWidgetCollectionInterface {
26 Q_OBJECT
27 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
28 Q_PLUGIN_METADATA(IID "ssyd.eso.ddt.widgetlibrary.DDTWidgets")
29
30 public:
35 explicit DdtWidgetsPlugin(QObject *parent = Q_NULLPTR);
40 virtual QList<QDesignerCustomWidgetInterface *> customWidgets() const;
41
42 private:
43 QList<QDesignerCustomWidgetInterface *> m_widgets;
44};
45
46#endif // DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
DdtWidgetsPlugin(QObject *parent=Q_NULLPTR)
Definition ddtWidgetsPlugin.cpp:33
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition ddtWidgetsPlugin.cpp:48