#pragma once #include "ZxObjPoint.h" class I_PLOTCURVE_T_EXPORT ZxObjPointSlr : public ZxObjPoint { Q_OBJECT ZX_DECLARE_DYNAMIC public: ZxObjPointSlr(); ZxObjPointSlr(const QString& sName, ZxSubAxisX* pAxisX, ZxSubAxisY* pAxisY); ~ZxObjPointSlr(); virtual void init(const QString& sName, ZxSubAxisX* pAxisX, ZxSubAxisY* pAxisY); public: // 辅助信息 virtual void initSubObjs(); virtual void resetOthers(); // 封装 virtual void initTools(); // 设置显示的标识 void setPointTag(QString s); protected: // 设置图元对象的属性标志 virtual void initFlags(); public: virtual void paintBack(QPainter* painter, const ZxPaintParam& param); };