Salome HOME
Remove some methods of GEOMBase_Helper (IObjectCount(), firstIObject(), lastIObject...
[modules/geom.git] / src / GEOMBase / GEOMBase_Skeleton.h
index 089681038cbde94dadef25bd7b1e46ab82e9523d..b41134016337cb854d2e5336e0c40a046e1ad468 100644 (file)
@@ -33,6 +33,7 @@
 
 class GeometryGUI;
 class DlgRef_Skeleton;
+class QSpinBox;
 class QDoubleSpinBox;
 class QLineEdit;
 class QButtonGroup;
@@ -41,6 +42,8 @@ class QPushButton;
 #ifndef COORD_MIN
 #  define COORD_MIN -1e+15
 #  define COORD_MAX +1e+15
+#  define MAX_NUMBER 100000
+#  define DBL_DIGITS_DISPLAY 16
 #endif // COORD_MIN
 
 class GEOMBASE_EXPORT GEOMBase_Skeleton : public QDialog, public GEOMBase_Helper
@@ -48,13 +51,14 @@ class GEOMBASE_EXPORT GEOMBase_Skeleton : public QDialog, public GEOMBase_Helper
   Q_OBJECT
 
 public:
-    GEOMBase_Skeleton( GeometryGUI*, QWidget* = 0, const char* = 0, bool = false, Qt::WindowFlags = 0 );
+    GEOMBase_Skeleton( GeometryGUI*, QWidget* = 0, bool = false, Qt::WindowFlags = 0 );
     ~GEOMBase_Skeleton();
 
 private:
     void Init();
 
 protected:
+    void                initSpinBox( QSpinBox*, int, int, int = 1 );
     void                initSpinBox( QDoubleSpinBox*, double, double, double = 0.1, int = 3 );
     
     void                closeEvent( QCloseEvent* );
@@ -66,11 +70,14 @@ protected:
 
     /*! returns contents of "Name" field
      */
-    virtual const char* getNewObjectName() const;
+    virtual QString getNewObjectName() const;
 
     /*! returns id of a selected "constructor" radio button or '-1' in case of error
      */
     int                 getConstructorId() const;
+    /*! set selected "constructor" radio button id
+     */
+    void                setConstructorId( const int );
 
     void                setHelpFileName( const QString& );