class GeometryGUI;
class DlgRef_Skeleton;
+class QSpinBox;
class QDoubleSpinBox;
class QLineEdit;
class QButtonGroup;
#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
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* );
/*! 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& );