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/Src/nmNum/nmPlot/nmObjToolBase.cpp

43 lines
832 B
C++

#include <QPainter>
#include "nmObjToolBase.h"
nmObjToolBase::nmObjToolBase() : ZxObjToolBase()
{
m_oNot = NOT_UNKNWON;
}
bool nmObjToolBase::onLeftDown(const QPointF& pt)
{
return ZxObjToolBase::onLeftDown(pt);
}
bool nmObjToolBase::onMouseMove(const QPointF& pt)
{
return ZxObjToolBase::onMouseMove(pt);
}
bool nmObjToolBase::onLeftUp(const QPointF& pt)
{
return ZxObjToolBase::onLeftUp(pt);
}
bool nmObjToolBase::onLeftDoubleClick(const QPointF& pt)
{
return ZxObjToolBase::onLeftDoubleClick(pt);
}
bool nmObjToolBase::onMouseWheel(const QPointF& pt, int delta)
{
return ZxObjToolBase::onMouseWheel(pt, delta);
}
void nmObjToolBase::onPaint(QPainter* painter, const ZxPaintParam& param)
{
ZxObjToolBase::onPaint(painter, param);
}
NM_Obj_Type nmObjToolBase::getNOT()
{
return m_oNot;
}