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.
nmWATI/Include/iGui/iGuiConfig/iWxConfigPlotTemplate.h

50 lines
969 B
C++

#pragma once
#include "iWxConfigBase.h"
#include "iGuiConfig_global.h"
class iPlotCurveWxT;
class ZxPtyDock;
class ZxRenderItem;
class IxPtySource;
class X_GUI_CONFIG_EXPORT iWxConfigPlotTemplate : public iWxConfigBase
{
Q_OBJECT
public:
explicit iWxConfigPlotTemplate(QWidget *parent = 0);
~iWxConfigPlotTemplate();
// 初始化
virtual void initUI();
// 序列化
virtual void onSerialize(ZxSerializer* ser);
virtual void onDeserialize(ZxSerializer* ser);
// 执行
virtual bool runActionBy(QString sName);
private slots:
// 把
virtual void slotLoad();
virtual void slotSave();
void slotOpenFolder();
void slotGraphItemPoliciesInstalled(ZxRenderItem*);
void slotItemPropertyTempl(IxPtySource* p, bool b, bool bSelf);
private:
// 初始化
void initPlotWx();
void initPtyWx();
void drawRandomCharts();
private:
iPlotCurveWxT* m_pWxPlot;
ZxPtyDock* m_pDockPty;
};