ddt 1.2.1
Loading...
Searching...
No Matches
ddtWidgetsPlugin.hpp
Go to the documentation of this file.
1
21#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
22#define DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
23
24#include <qplugin.h>
25
26#include <QtDesigner>
27#include <QtUiPlugin/QDesignerExportWidget>
28#include <QtWidgets>
29
33class DdtWidgetsPlugin : public QObject,
34 public QDesignerCustomWidgetCollectionInterface {
35 Q_OBJECT
36 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
37 Q_PLUGIN_METADATA(IID "ssyd.eso.ddt.widgetlibrary.DDTWidgets")
38
39 public:
44 explicit DdtWidgetsPlugin(QObject *parent = Q_NULLPTR);
49 virtual QList<QDesignerCustomWidgetInterface *> customWidgets() const;
50
51 private:
52 QList<QDesignerCustomWidgetInterface *> m_widgets;
53};
54
55#endif // DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
56
Definition ddtWidgetsPlugin.hpp:34
DdtWidgetsPlugin(QObject *parent=Q_NULLPTR)
Definition ddtWidgetsPlugin.cpp:42
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition ddtWidgetsPlugin.cpp:57