X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.txx;h=0456f1f37c0556f559669c17d7f3e5e093b265e7;hb=58f6f4201ec9091b5150f6576da25bfedeabbdce;hp=c86fe7f76098f313b8098547480de9d2d89384d2;hpb=0083c3fb2c66812489631c7551709d121de51625;p=clitk.git diff --git a/vv/vvToolBase.txx b/vv/vvToolBase.txx index c86fe7f..0456f1f 100644 --- a/vv/vvToolBase.txx +++ b/vv/vvToolBase.txx @@ -1,17 +1,39 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.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 + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - 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."); } -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------