X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolFooWithWidgetBase.cxx;h=8d844ab84b0180b632b1dc9657dddee9db663be7;hb=632adadb8b9230458aeab8ddccc736d674edc87a;hp=719c9b0aed1bc449c156cb4288ec14877dfb31a4;hpb=4ea2c946973c570cbe540a27cf44d6acdf44867c;p=clitk.git diff --git a/vv/vvToolFooWithWidgetBase.cxx b/vv/vvToolFooWithWidgetBase.cxx index 719c9b0..8d844ab 100644 --- a/vv/vvToolFooWithWidgetBase.cxx +++ b/vv/vvToolFooWithWidgetBase.cxx @@ -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,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #include "vvToolFooWithWidgetBase.h" //------------------------------------------------------------------------------ @@ -25,9 +25,10 @@ ADD_TOOL(vvToolFooWithWidgetBase); //------------------------------------------------------------------------------ vvToolFooWithWidgetBase::vvToolFooWithWidgetBase(vvMainWindowBase * parent, Qt::WindowFlags f) - :vvToolWidgetBase(parent, f), - vvToolBase(parent), - Ui::vvToolFoo() { + :vvToolWidgetBase(parent, f), + vvToolBase(parent), + Ui::vvToolFoo() +{ // Setup the UI Ui_vvToolFoo::setupUi(mToolWidget); } @@ -35,13 +36,15 @@ vvToolFooWithWidgetBase::vvToolFooWithWidgetBase(vvMainWindowBase * parent, Qt:: //------------------------------------------------------------------------------ -vvToolFooWithWidgetBase::~vvToolFooWithWidgetBase() { +vvToolFooWithWidgetBase::~vvToolFooWithWidgetBase() +{ } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ -void vvToolFooWithWidgetBase::Initialize() { +void vvToolFooWithWidgetBase::Initialize() +{ SetToolName("Foo"); SetToolMenuName("Foo with WidgetBase"); SetToolIconFilename(":/common/icons/ducky.png"); @@ -51,14 +54,16 @@ void vvToolFooWithWidgetBase::Initialize() { //------------------------------------------------------------------------------ -void vvToolFooWithWidgetBase::InputIsSelected(vvSlicerManager *m) { - +void vvToolFooWithWidgetBase::InputIsSelected(vvSlicerManager *m) +{ + } //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ -void vvToolFooWithWidgetBase::apply() { +void vvToolFooWithWidgetBase::apply() +{ close(); } //------------------------------------------------------------------------------