X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetMultiSelector.h;h=385eabf3fc4dc9f7f0c5bf138c1ec4059cdd09f2;hb=074b1d850036614d4a08999c4bc4e8630db63d2b;hp=e0b257ca4495790b6d0a872e9730af9b9bc451b4;hpb=6d0364ff4f55e3cd5087063b0895635c03e78635;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.h b/src/ModuleBase/ModuleBase_WidgetMultiSelector.h index e0b257ca4..385eabf3f 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.h @@ -73,6 +73,10 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge /// The methiod called when widget is deactivated virtual void deactivate(); + /// Fills the attribute with the value of the selected owner + /// \param theOwner a selected owner + virtual bool setSelection(const Handle_SelectMgr_EntityOwner& theOwner); + public slots: /// Slot is called on selection type changed void onSelectionTypeChanged(); @@ -102,10 +106,6 @@ protected slots: /// to backup, otherwise set the backed up values to the attribute virtual void backupAttributeValue(const bool isBackup); - /// Fills the attribute with the value of the selected owner - /// \param theOwner a selected owner - virtual void setSelection(const Handle_SelectMgr_EntityOwner& theOwner); - /// Set current shape type for selection void setCurrentShapeType(const TopAbs_ShapeEnum theShapeType);