#pragma once #include "iGuiPlotCmdHelper.h" class iGuiPlotPF; // 该类是iGuiPlot的Cmd命令分发处理 class M_GUI_PLOT_EXPORT iGuiPlotPFCmdHelper : public iGuiPlotCmdHelper { Q_OBJECT public: explicit iGuiPlotPFCmdHelper(iGuiPlotPF* p); ~iGuiPlotPFCmdHelper(); //protected: virtual void initToolBar(QToolBar* pToolBar, QString sType); virtual bool runAction(QString sAction); // virtual void fuzzyCheckStates(QAction* pAction, bool& bRepeatedHit); //ActionCheckMode getAcmOf(QAction* pAction); virtual void finalWithAcm(bool bToNone, bool bChangeToolBar = false); public slots: virtual void slotLoadGraph(); virtual void slotSaveGraph(); virtual void slotSaveTemplate(); virtual void slotHelp(); protected: iGuiPlotPF* m_pGuiPlotPF; friend class iGuiPlotPF; };