maptool:
报错,没实现;
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
#include <QVector>
|
||||
#include "RasterLayer.h"
|
||||
|
||||
class MapTool;
|
||||
|
||||
class Mapcavas : public QGraphicsView
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -49,6 +51,11 @@ public:
|
||||
|
||||
RasterLayer* rasterLayer() const;
|
||||
|
||||
// MapTool management
|
||||
void setMapTool(MapTool* tool);
|
||||
void unsetMapTool(MapTool* tool);
|
||||
MapTool* mapTool() const;
|
||||
|
||||
protected:
|
||||
QGraphicsScene *m_qtGraphicsScene;
|
||||
private:
|
||||
@ -56,6 +63,7 @@ private:
|
||||
QLabel *m_framNumberLabel;//<2F><>ʾʵʱ<CAB5>ɼ<EFBFBD><C9BC><EFBFBD><EFBFBD><EFBFBD>֡<EFBFBD><D6A1>
|
||||
|
||||
RasterLayer* m_rasterLayer = nullptr; // associated raster layer
|
||||
MapTool* m_mapTool = nullptr; // current active map tool
|
||||
|
||||
qreal m_translateSpeed; // ƽ<><C6BD><EFBFBD>ٶ<EFBFBD>
|
||||
qreal m_zoomDelta; // <20><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
Reference in New Issue
Block a user