]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Shape plane filter should process shapes of objects selected in object browser.
authornds <natalia.donis@opencascade.com>
Fri, 3 Jul 2015 15:23:08 +0000 (18:23 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 3 Jul 2015 15:23:48 +0000 (18:23 +0300)
Provides the vidget validated by IWorkshop to use the filters of AIS context
The goal is to ask context filters by preselection an in onSelectionChanged for presentations from OB only.

src/ModuleBase/ModuleBase_WidgetSelector.cpp

index 1b9df3d5791662a726fa62917a0e56e6838723f2..e979b9c48caf69fc9be896485be1464bc64e049e 100755 (executable)
@@ -11,6 +11,8 @@
 
 #include <ModelAPI_ResultConstruction.h>
 
+#include <TopoDS_Iterator.hxx>
+
 ModuleBase_WidgetSelector::ModuleBase_WidgetSelector(QWidget* theParent,
                                                      ModuleBase_IWorkshop* theWorkshop,
                                                      const Config_WidgetAPI* theData,
@@ -58,8 +60,6 @@ void ModuleBase_WidgetSelector::onSelectionChanged()
     updateFocus();
 }
 
-#include <TopoDS_Iterator.hxx>
-
 //********************************************************************
 bool ModuleBase_WidgetSelector::acceptSubShape(const GeomShapePtr& theShape,
                                                const ResultPtr& theResult) const