#pragma once #include "Defines.h" #include "ZxObjCurveBaseTool.h" // 散点曲线工具 class I_PLOTCURVE_T_EXPORT ZxObjCurveDiscreteTool : public ZxObjCurveBaseTool { Q_OBJECT public: ZxObjCurveDiscreteTool(); protected: bool onLeftDown(const QPointF& pt); bool onLeftUp(const QPointF& pt); bool onMouseMove(const QPointF& pt); virtual void onPaint(QPainter* painter, const ZxPaintParam& param); protected: virtual Qt::CursorShape getCursorBy(const int& nOption, const int& nSubIndex); };