X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetShapeSelector.h;h=7284d8ae59ec8c7e305457122850d1a75f53c1b3;hb=d29ed3f3f7c0e119d2917b2d4120aa7b473220f4;hp=eee5389a1dd11fbb115130362d07b5a7d1f2bc97;hpb=f47c90a323b39a5c01cee810005e2094ffbb07ea;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetShapeSelector.h b/src/ModuleBase/ModuleBase_WidgetShapeSelector.h index eee5389a1..7284d8ae5 100644 --- a/src/ModuleBase/ModuleBase_WidgetShapeSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetShapeSelector.h @@ -15,7 +15,6 @@ #include #include -#include class Config_WidgetAPI; class QWidget; @@ -84,7 +83,7 @@ Q_OBJECT /// Returns true if selected shape corresponds to requested shape types /// This method is called only in sub-shapes selection mode - virtual bool acceptSubShape(boost::shared_ptr theShape) const; + virtual bool acceptSubShape(std::shared_ptr theShape) const; /// Returns true if selected object corresponds to requested Object type /// Thid method is used in any selection mode @@ -92,7 +91,7 @@ Q_OBJECT // Set the given object as a value of the widget - void setObject(ObjectPtr theObj, boost::shared_ptr theShape = boost::shared_ptr()); + void setObject(ObjectPtr theObj, std::shared_ptr theShape = std::shared_ptr()); //----------- Class members ------------- private: @@ -103,7 +102,7 @@ Q_OBJECT ModuleBase_IWorkshop* myWorkshop; ObjectPtr mySelectedObject; - boost::shared_ptr myShape; + std::shared_ptr myShape; QStringList myShapeTypes; QStringList myObjectTypes; @@ -111,9 +110,6 @@ Q_OBJECT /// If true then local selector has to be activated in context bool myUseSubShapes; - QPalette myBasePalet; - QPalette myInactivePalet; - bool myIsActive; Handle(ModuleBase_ObjectTypesFilter) myObjTypeFilter;