]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
fix for Bug GVIEW10594
authorpkv <pkv@opencascade.com>
Tue, 22 Nov 2005 13:06:10 +0000 (13:06 +0000)
committerpkv <pkv@opencascade.com>
Tue, 22 Nov 2005 13:06:10 +0000 (13:06 +0000)
src/VVTK/VVTK_PickingDlg.cxx

index af0a00b7985b1ef8e04f414e4ca3dd3dac176310..e67cc41bc95f89ca13ef8a770c1911d4e20518b7 100644 (file)
@@ -77,8 +77,13 @@ VVTK_PickingDlg::VVTK_PickingDlg( QWidget* parent, const char* name )
   CursorGroupLayout->setMargin(11);
 
   QLabel* PyramidHeightLabel = new QLabel( tr( "PYRAMID_HEIGHT" ), CursorGroup );
-  myPyramidHeightSpinBox = new QtxDblSpinBox( 1.0, 100.0, 1.0, CursorGroup );
+  double aHeightMin=1.e-7;
+  double aHeightMax=10.;
+  double aHeightStep=0.1;
+  myPyramidHeightSpinBox = new QtxDblSpinBox(aHeightMin, aHeightMax, aHeightStep, CursorGroup );
+  
   myPyramidHeightSpinBox->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
+  
 
   QLabel* SelectionColorLabel = new QLabel( tr( "SELECTION_COLOR" ), CursorGroup );
   mySelectionColorButton = new QPushButton( CursorGroup );