You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iPlot/iPlotCurveT/Objects/ZxObjCurveFlowTool.h

33 lines
604 B
C

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