X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchCreator.h;h=57ba50ecaf5507ac377d891ce416b1c353bf854c;hb=d753b4c529b94fb5be840ea857b45bb6f78bbb0a;hp=d94e0d6d9dee4011ad7e5a44941bf74245095642;hpb=f4b66a0744e13778ab35f7e165d968c868dd6d9f;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchCreator.h b/src/PartSet/PartSet_WidgetSketchCreator.h index d94e0d6d9..57ba50eca 100644 --- a/src/PartSet/PartSet_WidgetSketchCreator.h +++ b/src/PartSet/PartSet_WidgetSketchCreator.h @@ -55,7 +55,7 @@ public: /// This value should be processed in the widget according to the needs /// \param theValues the wrapped selection values /// \param theToValidate a validation of the values flag - virtual bool setSelection(QList& theValues, + virtual bool setSelection(QList>& theValues, const bool theToValidate); /// Editing mode depends on mode of current operation. This value is defined by it. @@ -67,7 +67,7 @@ public: /// restored.The valid/invalid value is cashed. /// \param theValue a selected presentation in the view /// \return a boolean value - virtual bool isValidSelection(const ModuleBase_ViewerPrs& theValue); + virtual bool isValidSelection(const std::shared_ptr& theValue); protected: /// If there is no operation in current session, start operation for modify parameters @@ -77,11 +77,11 @@ protected: /// Checks whether the selection presentation contains preview planes /// \param theValue a selection information /// \return a boolean value - virtual bool isValidSelectionCustom(const ModuleBase_ViewerPrs& theValue); + virtual bool isValidSelectionCustom(const std::shared_ptr& theValue); /// Saves the internal parameters to the given feature /// \return True in success - virtual bool storeValueCustom() const; + virtual bool storeValueCustom(); virtual bool restoreValueCustom(); @@ -127,7 +127,7 @@ private: /// Append new Sketch, set the selected plane for the sketch and start Edit operation. /// \param theValues a selection list /// \return true if the sketch is started - bool startSketchOperation(const QList& theValues); + bool startSketchOperation(const QList>& theValues); /// Sets the sub-object to list of base. static void setSketchObjectToList(const CompositeFeaturePtr& theFeature,