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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ZxSubAxisBase.h"
|
|
|
|
|
|
|
|
|
|
// 坐标轴Y
|
|
|
|
|
class I_PLOTBASE_EXPORT ZxSubAxisY : public ZxSubAxisBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
ZX_DECLARE_DYNAMIC
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
ZxSubAxisY();
|
|
|
|
|
ZxSubAxisY(const QString& name);
|
|
|
|
|
ZxSubAxisY(const ZxSubAxisY& c);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
virtual void paintBack(QPainter* painter, const ZxPaintParam& param);
|
|
|
|
|
|
|
|
|
|
// virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
// virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
virtual float getValueForPos(float fPos) const;
|
|
|
|
|
virtual float getPosForValue(float fVal) const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|