X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.h;h=e86b0407df78d6657e7f1ec7511a11d46203f6e0;hb=996a050b898c093fa00462b1a4aa78b9a515cb2a;hp=005217fb30be94ad0fa8513fc332b2f5e3dd7663;hpb=0a85e47a06c7d046d06a4645b724c4e81b19998d;p=clitk.git diff --git a/vv/vvToolBase.h b/vv/vvToolBase.h index 005217f..e86b040 100644 --- a/vv/vvToolBase.h +++ b/vv/vvToolBase.h @@ -3,8 +3,8 @@ Program: vv Module: $RCSfile: vvToolBase.h,v $ Language: C++ - Date: $Date: 2010/02/24 11:42:42 $ - Version: $Revision: 1.3 $ + Date: $Date: 2010/03/01 07:37:25 $ + Version: $Revision: 1.4 $ Author : David Sarrut (david.sarrut@creatis.insa-lyon.fr) Copyright (C) 2008 @@ -43,6 +43,10 @@ public: static void SetToolIconFilename(QString n) { vvToolCreator::mSingleton->mToolIconFilename = n; } static void SetToolTip(QString n) { vvToolCreator::mSingleton->mToolTip = n; } + void AddImage(vvImage::Pointer image,std::string filename) { + CREATOR(ToolType)->GetMainWindow()->AddImage(image,filename); + } + }; //------------------------------------------------------------------------------