#include <GeomAPI_Shape.h>
#include <TopAbs_ShapeEnum.hxx>
+#include <SelectMgr_ListOfFilter.hxx>
#include <QStringList>
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
- virtual bool storeValue() const;
+ virtual bool storeValueCustom() const;
/// The methiod called when widget is activated
virtual void activateCustom();
/// Clear attribute
void clearAttribute();
+ /// Fills the given list with all widget filters. It can be used by activation widget for the viewer
+ /// or by checking the selection parameter in addition to check validity of the selection argument
+ /// It creates an object type filter if it has not been created yet and save it in the class field
+ /// \param theFilters a list of filter
+ void selectionFilters(SelectMgr_ListOfFilter& theFilters);
+
//----------- Class members -------------
protected:
/// Label of the widget