#pragma once #include "ZxSubAxisBase.h" // 坐标轴X class I_PLOTBASE_EXPORT ZxSubAxisX : public ZxSubAxisBase { Q_OBJECT ZX_DECLARE_DYNAMIC public: ZxSubAxisX(); ZxSubAxisX(const QString& name); ZxSubAxisX(const ZxSubAxisX & c); public: virtual void paintBack(QPainter* painter, const ZxPaintParam& param); virtual float getValueForPos(float fPos) const; virtual float getPosForValue(float fVal) const; };