]> Creatis software - clitk.git/blobdiff - vv/vvToolFooWithWidgetBase.cxx
Enable interactive display in tool binarize
[clitk.git] / vv / vvToolFooWithWidgetBase.cxx
index 56f5a2205b61cf9ccf806d4dbba7fcc4f470838e..f6074f9405dfde6f7adad8d04df420b11a09e9ef 100644 (file)
@@ -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<vvToolFooWithWidgetBase>(parent), 
-   Ui::vvToolFoo() {
+  :vvToolWidgetBase(parent, f),
+   vvToolBase<vvToolFooWithWidgetBase>(parent),
+   Ui::vvToolFoo()
+{
   // Setup the UI
   Ui_vvToolFoo::setupUi(mToolWidget);
 }
@@ -35,30 +36,34 @@ vvToolFooWithWidgetBase::vvToolFooWithWidgetBase(vvMainWindowBase * parent, Qt::
 
 
 //------------------------------------------------------------------------------
-vvToolFooWithWidgetBase::~vvToolFooWithWidgetBase() {
+vvToolFooWithWidgetBase::~vvToolFooWithWidgetBase()
+{
 }
 //------------------------------------------------------------------------------
 
 
 //------------------------------------------------------------------------------
-void vvToolFooWithWidgetBase::Initialize() {
+void vvToolFooWithWidgetBase::Initialize()
+{
   SetToolName("Foo");
   SetToolMenuName("Foo with WidgetBase");
-  SetToolIconFilename(":/new/prefix1/icons/ducky.png");
+  SetToolIconFilename(":/common/icons/ducky.png");
   SetToolTip("Make 'foo' on an image.");
 }
 //------------------------------------------------------------------------------
 
 
 //------------------------------------------------------------------------------
-void vvToolFooWithWidgetBase::InputIsSelected(vvSlicerManager *m) {
-  
+void vvToolFooWithWidgetBase::InputIsSelected(vvSlicerManager *m)
+{
+
 }
 //------------------------------------------------------------------------------
 
 
 //------------------------------------------------------------------------------
-void vvToolFooWithWidgetBase::apply() {
+void vvToolFooWithWidgetBase::apply()
+{
   close();
 }
 //------------------------------------------------------------------------------