#include <ModelAPI_Tools.h>
-#include <QDoubleSpinBox>
+#include <ModuleBase_DoubleSpinBox.h>
#include <QLabel>
#include <QButtonGroup>
setWindowTitle("Deflection");
QGridLayout* aLay = new QGridLayout(this);
- myDeflection = new QDoubleSpinBox(this);
+ myDeflection = new ModuleBase_DoubleSpinBox(this);
+ myDeflection->setDecimals(12);
myDeflection->setRange(0, 1);
aLay->addWidget(new QLabel("Deviation", this), 0, 0);
aLay->addWidget(myDeflection, 0, 1);
moveObjects();
else if (theId == "COLOR_CMD")
changeColor(aObjects);
+ else if (theId == "DEFLECTION_CMD")
+ changeDeflection(aObjects);
else if (theId == "SHOW_CMD") {
showObjects(aObjects, true);
mySelector->updateSelectionBy(ModuleBase_ISelection::Browser);