#pragma once #include "Defines.h" #include "ZxObjToolBase.h" /// 多边形区域工具缩放 class I_PLOTCURVE_T_EXPORT ZxObjPolygonTool : public ZxObjToolBase { Q_OBJECT public: ZxObjPolygonTool(); //ZxObjPolygonTool(const ZxObjPolygonTool& c); public: virtual void onPaint(QPainter* painter, const ZxPaintParam& param); protected: virtual Qt::CursorShape getCursorBy(const int& nOption, const int& nSubIndex); protected: QVector m_vecPoints; };