X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.txx;h=0456f1f37c0556f559669c17d7f3e5e093b265e7;hb=35b59943e3ff753d6bb85429a1fe7f01cee75530;hp=86b71372ac04acd5b00e178052b444abddb298e6;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/vv/vvToolBase.txx b/vv/vvToolBase.txx index 86b7137..0456f1f 100644 --- a/vv/vvToolBase.txx +++ b/vv/vvToolBase.txx @@ -1,9 +1,9 @@ /*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Authors belong to: + Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,21 +14,26 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ + +//------------------------------------------------------------------------------ template -vvToolBase::vvToolBase(vvMainWindowBase * m) { - mMainWindowBase = m; +vvToolBase::vvToolBase(vvMainWindowBase * m) +{ + mMainWindowBase = m; } //------------------------------------------------------------------------------ -//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ // Default value (to be overwritten) template -void vvToolBase::Initialize() { +void vvToolBase::Initialize() +{ SetToolName("Unnamed tool (use SetToolName in Initialize())"); SetToolMenuName("Unnamed tool"); SetToolIconFilename(""); SetToolTip("Unamed tool."); } -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------