X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolFooWithWidgetBase.cxx;h=f6074f9405dfde6f7adad8d04df420b11a09e9ef;hb=6789a2e30f7c951de93ebd0c0596e7168ec6e061;hp=719c9b0aed1bc449c156cb4288ec14877dfb31a4;hpb=4ea2c946973c570cbe540a27cf44d6acdf44867c;p=clitk.git diff --git a/vv/vvToolFooWithWidgetBase.cxx b/vv/vvToolFooWithWidgetBase.cxx index 719c9b0..f6074f9 100644 --- a/vv/vvToolFooWithWidgetBase.cxx +++ b/vv/vvToolFooWithWidgetBase.cxx @@ -1,7 +1,7 @@ /*========================================================================= 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 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr @@ -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(); } //------------------------------------------------------------------------------