version 2.13.0
add Map library (MapView with OSM maps and items) and mapviewer util
This commit is contained in:
23
libs/map/plugin/mapview_designerplugin.h
Normal file
23
libs/map/plugin/mapview_designerplugin.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef MAP_DESIGNERPLUGIN_H
|
||||
#define MAP_DESIGNERPLUGIN_H
|
||||
|
||||
#include <QtCore/qplugin.h>
|
||||
#include <QtDesigner/QtDesigner>
|
||||
|
||||
|
||||
class MapDesignerPlugin
|
||||
: public QObject
|
||||
, public QDesignerCustomWidgetCollectionInterface {
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "qad.map")
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
|
||||
public:
|
||||
MapDesignerPlugin(QObject * parent = 0);
|
||||
virtual QList<QDesignerCustomWidgetInterface *> customWidgets() const;
|
||||
|
||||
private:
|
||||
QList<QDesignerCustomWidgetInterface *> m_widgets;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user