From ac8d0cdc2e748ef2868fc601e038c41b15703ef2 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Thu, 22 Jul 2010 05:53:35 +0000 Subject: [PATCH] future possibility to choose the tool menu --- vv/vvToolBase.h | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.1