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/mGui/mGuiPlot/WellBdy/ZxObjBdyParalTool.h

33 lines
665 B
C++

#pragma once
#include "ZxObjToolBase.h"
#include "mGuiPlot_global.h"
//平行边界线工具
class M_GUI_PLOT_EXPORT ZxObjBdyParalTool : public ZxObjToolBase
{
Q_OBJECT
public:
ZxObjBdyParalTool();
protected:
virtual Qt::CursorShape getCursorBy(const int& nOption,
const int& nSubIndex);
public:
virtual bool onLeftDown(const QPointF& pt);
virtual bool onMouseMove(const QPointF& pt);
virtual bool onLeftDoubleClick(const QPointF& pt);
virtual void onPaint(QPainter* painter, const ZxPaintParam& param);
//绘制标签
void drawLabel(QPainter* painter, QString str, QPointF pt);
private:
};