#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 double getValueForPos(double fPos) const; virtual double getPosForValue(double fVal) const; };