Salome HOME
INT PAL 0052679: Set default "Diameter" value when adding new ball element
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_PropertiesDlg.h
index eb3e551fc71c84670e285f23668759528e16c841..c2f964653351fe655f2226db5a96e04eabae0675 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -38,6 +38,7 @@ class QGroupBox;
 class QtxColorButton;
 class QtxBiColorTool;
 class QtxIntSpinBox;
+class QtxDoubleSpinBox;
 class VTKViewer_MarkerWidget;
 
 class SMESHGUI_EXPORT SMESHGUI_PropertiesDlg : public SMESHGUI_Dialog
@@ -81,10 +82,10 @@ public:
 
   void              setBallColor( const QColor& );
   QColor            ballColor() const;
-  void              setBallSize( int );
-  int               ballSize() const;
-  void              setBallScale( int );
-  int               ballScale() const;
+  // void           setBallSize( int );
+  // int            ballSize() const;
+  void              setBallScale( double );
+  double            ballScale() const;
 
   void              setOrientationColor( const QColor& );
   QColor            orientationColor() const;
@@ -133,8 +134,8 @@ private:
   QtxIntSpinBox*          myElem0dSize;
   // - balls
   QtxColorButton*         myBallColor;
-  QtxIntSpinBox*          myBallSize;
-  QtxIntSpinBox*          myBallScale;
+  // QtxIntSpinBox*       myBallSize;
+  QtxDoubleSpinBox*       myBallScale;
   // - orientation vectors
   QtxColorButton*         myOrientationColor;
   QtxIntSpinBox*          myOrientationSize;