#pragma once #include "iSubWnd.h" class ZxPlot; class iPlotCurveWxT; class iDockBaseWx; class M_SUB_WND_EXPORT iSubWndTool : public iSubWnd { Q_OBJECT public: explicit iSubWndTool(QWidget *parent = 0, QString sExt = ""); ~iSubWndTool(); // 配置窗体 virtual void configWnd(); virtual void loadData(QString sWell = ""); //加载数据 virtual void runUpdate(); //刷新 protected: // 初始化UI virtual QWidget* initUiMainWx(); virtual void initUiDockWxs(); public slots: // void slotLeftDoubleClickOnPlot(ZxPlot *); private: private: VVecVariant m_vvecData; QStringList m_listTags; //轴标题(表头) QStringList m_listUnits; //单位 };