X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBase.txx;h=ffb4ec13c632cc50df1c09eee1c3a7c5bb092dae;hb=afede09ad631dcf7297e3189aeb1d2288fb25902;hp=c86fe7f76098f313b8098547480de9d2d89384d2;hpb=0083c3fb2c66812489631c7551709d121de51625;p=clitk.git diff --git a/vv/vvToolBase.txx b/vv/vvToolBase.txx index c86fe7f..ffb4ec1 100644 --- a/vv/vvToolBase.txx +++ b/vv/vvToolBase.txx @@ -1,17 +1,37 @@ +/*========================================================================= + 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."); } -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------