]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug IPAL19175 ( Qt4 porting: Gauss Viewer. It is impossible modification...
authormzn <mzn@opencascade.com>
Mon, 24 Mar 2008 13:08:54 +0000 (13:08 +0000)
committermzn <mzn@opencascade.com>
Mon, 24 Mar 2008 13:08:54 +0000 (13:08 +0000)
src/VISUGUI/VisuGUI_GaussPointsDlg.cxx

index 3dc31849766916eb8f298b0b6b04154463d4927c..e6c531db7c7d87f5372b1e29c5bdf54c04a7dc8e 100644 (file)
@@ -193,19 +193,17 @@ VisuGUI_GaussScalarBarPane::VisuGUI_GaussScalarBarPane (QWidget * parent):
 
   ColorLabel = new QLabel (tr("LBL_NB_COLORS"), ColLabGroup );
   ColorSpin = new QSpinBox( ColLabGroup );
-  ColorSpin->setMaximum( 2 );
-  ColorSpin->setMinimum( 256 );
+  ColorSpin->setMinimum( 2 );
+  ColorSpin->setMaximum( 256 );
   ColorSpin->setSingleStep( 1 );
-  
-  
   ColorSpin->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
   ColorSpin->setMinimumWidth( 70 );
   ColorSpin->setValue( 64 );
 
   LabelLabel = new QLabel (tr("LBL_NB_LABELS"), ColLabGroup);
   LabelSpin = new QSpinBox( ColLabGroup );
-  LabelSpin->setMaximum( 2 );
-  LabelSpin->setMinimum( 65 );
+  LabelSpin->setMinimum( 2 );
+  LabelSpin->setMaximum( 65 );
   LabelSpin->setSingleStep( 1 );
   LabelSpin->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
   LabelSpin->setMinimumWidth( 70 );