X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetValidated.h;h=0ac6657e7d302fe66846362903933581a8412ec6;hb=c8e35a67c60489a46aaf7c8ff75001511ac2635b;hp=95f558029661cddad8f1bd80aafaa1a936600933;hpb=01d6bb2a163b2c89e86444bc8b4f1a24a58e4c2a;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetValidated.h b/src/ModuleBase/ModuleBase_WidgetValidated.h index 95f558029..0ac6657e7 100644 --- a/src/ModuleBase/ModuleBase_WidgetValidated.h +++ b/src/ModuleBase/ModuleBase_WidgetValidated.h @@ -19,6 +19,7 @@ class QWidget; class ModuleBase_IWorkshop; class ModuleBase_ISelection; +class ModelAPI_Validator; class Config_WidgetAPI; class Handle_SelectMgr_EntityOwner; @@ -79,6 +80,12 @@ protected: /// \param toActivate a flag about activation or deactivation the filters virtual void activateFilters(ModuleBase_IWorkshop* theWorkshop, const bool toActivate) const; + /// Puts additional validators to the given list + /// \param theValidators a list of validators + /// \param theArguments a list of validators arguments + virtual void customValidators(std::list& theValidators, + std::list >& theArguments) const; + /// Returns a list of selected presentations. Firstly it is obtained from the viewer, /// if there are not selected objects in the viewer, it get the selection from the object browser. /// If the browser has selected objects, the viewer prs objects are created with only object