version 2.18.0
add GraphicRanges to graphic library new graphic_analysis library
This commit is contained in:
24
libs/graphic_analysis/plugin/qad_graphic_analysis.h
Normal file
24
libs/graphic_analysis/plugin/qad_graphic_analysis.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef QAD_GRAPHIC_H
|
||||
#define QAD_GRAPHIC_H
|
||||
|
||||
#include <QtCore/qplugin.h>
|
||||
#include <QtDesigner/QtDesigner>
|
||||
|
||||
class QADGraphicAnalysis
|
||||
: public QObject
|
||||
, public QDesignerCustomWidgetCollectionInterface {
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
#if QT_VERSION >= 0x050000
|
||||
Q_PLUGIN_METADATA(IID "qad.graphic_analysis")
|
||||
#endif
|
||||
|
||||
public:
|
||||
explicit QADGraphicAnalysis(QObject * parent = 0);
|
||||
virtual QList<QDesignerCustomWidgetInterface *> customWidgets() const;
|
||||
|
||||
private:
|
||||
QList<QDesignerCustomWidgetInterface *> m_widgets;
|
||||
};
|
||||
|
||||
#endif // QAD_GRAPHIC_H
|
||||
Reference in New Issue
Block a user