#include <XGUI_Selection.h>
#include <XGUI_OperationMgr.h>
-#include <ModuleBase_ParamSpinBox.h>
+#include <ModuleBase_DoubleSpinBox.h>
#include <ModuleBase_Tools.h>
#include <ModuleBase_IViewWindow.h>
aLabel->setPixmap(QPixmap(":pictures/x_point.png"));
aGroupLay->addWidget(aLabel, 0, 0);
- myXSpin = new ModuleBase_ParamSpinBox(myGroupBox);
+ myXSpin = new ModuleBase_DoubleSpinBox(myGroupBox);
myXSpin->setMinimum(-DBL_MAX);
myXSpin->setMaximum(DBL_MAX);
myXSpin->setToolTip(tr("X"));
aLabel->setPixmap(QPixmap(":pictures/y_point.png"));
aGroupLay->addWidget(aLabel, 1, 0);
- myYSpin = new ModuleBase_ParamSpinBox(myGroupBox);
+ myYSpin = new ModuleBase_DoubleSpinBox(myGroupBox);
myYSpin->setMinimum(-DBL_MAX);
myYSpin->setMaximum(DBL_MAX);
myYSpin->setToolTip(tr("Y"));
class ModelAPI_Feature;
class ModuleBase_IWorkshop;
-class ModuleBase_ParamSpinBox;
+class ModuleBase_DoubleSpinBox;
class ModuleBase_IViewWindow;
class GeomAPI_Pnt2d;
class XGUI_Workshop;
XGUI_Workshop* myWorkshop;
QGroupBox* myGroupBox; ///< the parent group box for all intenal widgets
- ModuleBase_ParamSpinBox* myXSpin; ///< the spin box for the X coordinate
- ModuleBase_ParamSpinBox* myYSpin; ///< the spin box for the Y coordinate
+ ModuleBase_DoubleSpinBox* myXSpin; ///< the spin box for the X coordinate
+ ModuleBase_DoubleSpinBox* myYSpin; ///< the spin box for the Y coordinate
//std::string myOptionParam; /// Parameter name which has to be taken from previous feature