From: dsarrut Date: Thu, 22 Jul 2010 05:53:35 +0000 (+0000) Subject: future possibility to choose the tool menu X-Git-Tag: v1.2.0~511 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ac8d0cdc2e748ef2868fc601e038c41b15703ef2;p=clitk.git future possibility to choose the tool menu --- diff --git a/vv/vvToolBase.h b/vv/vvToolBase.h index 4e825f9..2abd2a6 100644 --- a/vv/vvToolBase.h +++ b/vv/vvToolBase.h @@ -34,6 +34,7 @@ public: static void SetToolIconFilename(QString n) { vvToolCreator::GetInstance()->mToolIconFilename = n; } static void SetToolTip(QString n) { vvToolCreator::GetInstance()->mToolTip = n; } static void SetToolExperimental(bool exp) { vvToolCreator::GetInstance()->mExperimental = exp; } + static void SetToolInMenu(std::string menu) { vvToolCreator::GetInstance()->SetMenuName(menu); } static QIcon GetToolIcon() { return QIcon(vvToolCreator::GetInstance()->mToolIconFilename); } static QString & GetToolName() { return vvToolCreator::GetInstance()->mToolName; }