#pragma once #include "iGuiPlotCmdHelper.h" class ZxObjWmPointTool; class ZxObjWmLineTool; // 该类是iGuiPlot的Cmd命令分发处理 class M_GUI_PLOT_EXPORT iGuiPlotMapCmdHelper : public iGuiPlotCmdHelper { Q_OBJECT public: explicit iGuiPlotMapCmdHelper(iGuiPlot* p); ~iGuiPlotMapCmdHelper(); virtual bool runAction(QString sAction); public slots: void slotObjFinished(); void slotPointsHit(QVector vec); protected: ZxObjWmPointTool* m_pTool1; ZxObjWmLineTool* m_pTool2; friend class iGuiPlot; };