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.
36 lines
621 B
C++
36 lines
621 B
C++
#pragma once
|
|
|
|
#include "ZxDot.h"
|
|
#include "mGuiPlot_global.h"
|
|
|
|
class ZxDataGaugeBase;
|
|
|
|
// 曲线信息描述,为了传递曲线数据而设定
|
|
class M_GUI_PLOT_EXPORT iCurveDesc
|
|
{
|
|
public:
|
|
|
|
iCurveDesc();
|
|
|
|
// n = 0,设置Dot/Pen 1:Pen 2:Dot
|
|
void setColor(QColor clr, int n = 0);
|
|
|
|
public:
|
|
|
|
VecFloat m_vecX;
|
|
VecFloat m_vecY;
|
|
|
|
bool m_bLineVisible;
|
|
PlotObjectType m_oCurveType;
|
|
|
|
ZxDot m_oDot; //点绘制模式
|
|
QPen m_oPen; //线绘制模式
|
|
|
|
bool m_bUseY2;
|
|
QString m_sCurveName;
|
|
|
|
ZxDataGaugeBase* m_pDataObj;
|
|
|
|
double m_dOffsetDt; //这是基准时间的偏移量
|
|
};
|