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.
26 lines
554 B
C++
26 lines
554 B
C++
#pragma once
|
|
|
|
#include "ZxAxisHelperDouble.h"
|
|
|
|
// 线性类
|
|
class I_PLOTBASE_EXPORT ZxAxisHelperDoubleLinear : public ZxAxisHelperDouble
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ZxAxisHelperDoubleLinear(ZxSubAxisBase* p);
|
|
~ZxAxisHelperDoubleLinear();
|
|
|
|
protected:
|
|
|
|
// 获取绘制的位置信息
|
|
virtual void locateOneTickTag(QPainter* painter, double dPos, QString s, \
|
|
QRectF& rt, int& flag);
|
|
// 绘制函数
|
|
virtual void drawTickAndTags(QPainter* painter, QRectF& rt);
|
|
|
|
public slots:
|
|
|
|
protected:
|
|
};
|