]> Creatis software - clitk.git/blobdiff - vv/vvToolCropImage.h
Make clitkBSplineDeformableRegistration work with itk BSplines
[clitk.git] / vv / vvToolCropImage.h
index c118bf1cf0c6534d20c61595a5df4dd15fcacb3f..76e5b6f5e58e613d5caba160edc52c3b5c445798 100644 (file)
@@ -3,7 +3,7 @@
 
   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
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
 #ifndef VVTOOLCROPIMAGE_H
 #define VVTOOLCROPIMAGE_H
+
+//qt
 #include <QtDesigner/QDesignerExportWidget>
 #include <QDialog>
 
+// vv
 #include "vvToolBase.h"
 #include "vvToolWidgetBase.h"
 #include "vvMainWindowBase.h"
@@ -48,15 +51,15 @@ public slots:
   void sliderYMaxValueChanged(int s);
   void sliderZMinValueChanged(int s);
   void sliderZMaxValueChanged(int s);
-  // void sliderTMinValueChanged(int s);
-  // void sliderTMaxValueChanged(int s);
+  void sliderTMinValueChanged(int s);
+  void sliderTMaxValueChanged(int s);
   void autoCropValueChanged(double v);
 
   //-----------------------------------------------------
   static void Initialize() {
     SetToolName("Crop");
     SetToolMenuName("Crop");
-    SetToolIconFilename(":/new/prefix1/icons/crop.png");
+    SetToolIconFilename(":/common/icons/crop.png");
     SetToolTip("Crop image.");
   }
 
@@ -66,6 +69,7 @@ public slots:
   int * mInitialExtent;
   int mExtentSize;
   void UpdateExtent();
+  virtual void closeEvent(QCloseEvent *event);
 
 }; // end class vvToolCropImage
 //------------------------------------------------------------------------------