From: David Sarrut Date: Fri, 30 Mar 2012 11:42:22 +0000 (+0200) Subject: Add mReadStateFlag mImageIndex m_XmlReader GetListOfTool X-Git-Tag: v1.3.0~52^2~21 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=23db23a1df2317ebf7fee20dc9d5a51cfc5e4762;p=clitk.git Add mReadStateFlag mImageIndex m_XmlReader GetListOfTool --- diff --git a/vv/vvToolCreatorBase.h b/vv/vvToolCreatorBase.h index d85fa80..b2c942f 100644 --- a/vv/vvToolCreatorBase.h +++ b/vv/vvToolCreatorBase.h @@ -27,6 +27,7 @@ class QAction; class vvToolBaseBase; +class QXmlStreamReader; //------------------------------------------------------------------------------ class vvToolCreatorBase: public QObject { @@ -43,6 +44,8 @@ class vvToolCreatorBase: public QObject { void addMenuToContextMenu(QMenu * m); void SetMenuName(std::string m) { m_MenuName = m; } + std::vector & GetListOfTool() { return mListOfTool; } + QString mToolName; QString mToolMenuName; QString mToolIconFilename; @@ -52,6 +55,9 @@ class vvToolCreatorBase: public QObject { bool mUseContextMenu; QMenu * mToolMenu; std::vector mListOfActions; + std::auto_ptr m_XmlReader; + bool mReadStateFlag; + int mImageIndex; public slots: virtual void MenuToolSlot();