Salome HOME
Issue #2749: Update the point values only on mouse click
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetPointInput.h
index 7b6ec3b5940a3adef891f31494aa4b04a628f8e5..8026492118a1c46e6e7f5f66b69b391266cb5ea8 100644 (file)
@@ -61,7 +61,8 @@ public:
 
   /// Fills the attribute with the value of the selected owner
   /// \param thePrs a selected owner
-  virtual bool setSelectionCustom(const std::shared_ptr<ModuleBase_ViewerPrs>& thePrs);
+  virtual bool setSelection(QList<std::shared_ptr<ModuleBase_ViewerPrs>>& theValues,
+    const bool theToValidate);
 
 protected:
   /// Retunrs a list of possible shape types
@@ -76,6 +77,10 @@ protected:
   ModuleBase_ParamSpinBox* myYSpin;
   ModuleBase_ParamSpinBox* myZSpin;
 
+  FeaturePtr myXParam;
+  FeaturePtr myYParam;
+  FeaturePtr myZParam;
+
   double myDefaultValue[3];
 };