#pragma once #include "ZxObjRectTool.h" // 文本工具 class I_PLOTCURVE_T_EXPORT ZxObjTextTool : public ZxObjRectTool { Q_OBJECT public: ZxObjTextTool(); //ZxObjTextTool(const ZxObjTextTool & c); protected: //virtual bool onLeftDown(const QPointF& pt); virtual bool onLeftUp(const QPointF& pt); //virtual bool onMouseMove(const QPointF& pt); virtual void onPaint(QPainter* painter, const ZxPaintParam& param); };