X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetPoint2DFlyout.h;h=03fe0b17746155388b241abc0e8ad08f7c07f7e3;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=f6eeb7af374b4c6798784705df78a9385d52874c;hpb=def1d660542e39cc9ed4ee27ab8cce8d231be01a;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetPoint2DFlyout.h b/src/PartSet/PartSet_WidgetPoint2DFlyout.h old mode 100755 new mode 100644 index f6eeb7af3..03fe0b177 --- a/src/PartSet/PartSet_WidgetPoint2DFlyout.h +++ b/src/PartSet/PartSet_WidgetPoint2DFlyout.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: PartSet_WidgetPoint2dFlyout.h -// Created: 14 Oct 2015 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2023 CEA, EDF +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// 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 +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef PartSet_WidgetPoint2DFlyout_H #define PartSet_WidgetPoint2DFlyout_H @@ -30,7 +43,14 @@ public: /// Destructor virtual ~PartSet_WidgetPoint2DFlyout() {}; - /// Checks if the selection presentation is valid in widget + /// Set the given wrapped value to the current widget + /// This value should be processed in the widget according to the needs + /// \param theValues the wrapped widget values + /// \param theToValidate a validation flag + virtual bool setSelection(QList>& theValues, + const bool theToValidate); + + /// Checks if the selection presentation is valid in widget /// \param theValue a selected presentation in the view /// \return a boolean value virtual bool isValidSelectionCustom(const std::shared_ptr& theValue);