]> Creatis software - clitk.git/blobdiff - vv/vvOverlayPanel.cxx
allow the user to change the width of VF arrows
[clitk.git] / vv / vvOverlayPanel.cxx
index a1c06acb1d45e00408ce058041e39b7b928c27f0..ab8a917de3a17cb32c2035f5248212759ca1b7d0 100644 (file)
@@ -40,6 +40,7 @@ vvOverlayPanel::vvOverlayPanel(QWidget * parent):QWidget(parent)
     connect(subSamplingSpinBox,SIGNAL(editingFinished()),this,SLOT(setVFProperty()));
     connect(scaleSpinBox,SIGNAL(editingFinished()),this,SLOT(setVFProperty()));
     connect(lutCheckBox,SIGNAL(clicked()),this,SLOT(setVFProperty()));
+    connect(vfWidthSpinBox,SIGNAL(editingFinished()),this,SLOT(setVFProperty()));
     connect(colorHorizontalSlider,SIGNAL(valueChanged(int)),this,SLOT(setOverlayProperty()));
     connect(opacityHorizontalSlider,SIGNAL(valueChanged(int)),this,SLOT(setFusionProperty()));
     connect(fusionColorMapComboBox,SIGNAL(currentIndexChanged(int)),this,SLOT(setFusionProperty()));
@@ -94,7 +95,8 @@ void vvOverlayPanel::setVFProperty()
 {
     emit VFPropertyUpdated(subSamplingSpinBox->value(),
                            scaleSpinBox->value(),
-                           lutCheckBox->checkState());
+                           lutCheckBox->checkState(),
+                           vfWidthSpinBox->value());
 }
 
 void vvOverlayPanel::getCurrentVectorInfo(int visibility, double x,double y,double z, double value)