X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetPointInput.h;h=0be91a2c79c48c8f3afb6f7579199fd7744bd9c1;hb=77ce6d35ac8d2f0fdaecb4f23e0870bf74e36103;hp=7b6ec3b5940a3adef891f31494aa4b04a628f8e5;hpb=3264b4a29ab742384af02f661e289633f8d7234e;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetPointInput.h b/src/ModuleBase/ModuleBase_WidgetPointInput.h index 7b6ec3b59..0be91a2c7 100644 --- a/src/ModuleBase/ModuleBase_WidgetPointInput.h +++ b/src/ModuleBase/ModuleBase_WidgetPointInput.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef ModuleBase_WidgetPointInput_H @@ -61,7 +60,8 @@ public: /// Fills the attribute with the value of the selected owner /// \param thePrs a selected owner - virtual bool setSelectionCustom(const std::shared_ptr& thePrs); + virtual bool setSelection(QList>& theValues, + const bool theToValidate); protected: /// Retunrs a list of possible shape types @@ -76,6 +76,10 @@ protected: ModuleBase_ParamSpinBox* myYSpin; ModuleBase_ParamSpinBox* myZSpin; + FeaturePtr myXParam; + FeaturePtr myYParam; + FeaturePtr myZParam; + double myDefaultValue[3]; };