20 #ifndef ModuleBase_WidgetValidator_H_
21 #define ModuleBase_WidgetValidator_H_
23 #include "ModuleBase.h"
25 #include "ModuleBase_Definitions.h"
27 #include <SelectMgr_ListOfFilter.hxx>
61 virtual void selectionFilters(QIntList& theModuleSelectionFilters,
62 SelectMgr_ListOfFilter& theSelectionFilters);
73 virtual bool isValidSelection(
const std::shared_ptr<ModuleBase_ViewerPrs>& theValue);
79 virtual void storeAttributeValue(
const std::shared_ptr<ModelAPI_Attribute>& theAttribute);
86 virtual void restoreAttributeValue(
const std::shared_ptr<ModelAPI_Attribute>& theAttribute,
92 bool isValidAttribute(
const std::shared_ptr<ModelAPI_Attribute>& theAttribute)
const;
95 void clearValidatedCash();
100 bool isFilterActivated()
const;
106 bool getValidState(
const std::shared_ptr<ModuleBase_ViewerPrs>& theValue,
bool& theValid);
111 void storeValidState(
const std::shared_ptr<ModuleBase_ViewerPrs>& theValue,
const bool theValid);
Generic attribute of the Object.
Definition: ModelAPI_Attribute.h:34
Class which provides access to Workshop object services.
Definition: ModuleBase_IWorkshop.h:48
Presentation.
Definition: ModuleBase_ViewerPrs.h:37