SHAPER  9.12.0
ModuleBase_IErrorMgr Class Referenceabstract

An interface to Errors manager object. More...

Inheritance diagram for ModuleBase_IErrorMgr:
Inheritance graph

Public Member Functions

 ModuleBase_IErrorMgr (QObject *theParent=0)
 Default constructor. More...
 
virtual ~ModuleBase_IErrorMgr ()
 Virtual destructor. More...
 
virtual void setPropertyPanel (ModuleBase_IPropertyPanel *theProp)
 Set property pane to the operation. More...
 
ModuleBase_IPropertyPanelpropertyPanel () const
 
virtual void updateActions (const std::shared_ptr< ModelAPI_Feature > &theFeature)=0
 Update actions for the given feature. More...
 

Protected Slots

virtual void onWidgetChanged ()=0
 Process values changed event for processing feature attribute validation errors. More...
 

Protected Attributes

ModuleBase_IPropertyPanelmyPropertyPanel
 Access to property panel. More...
 

Detailed Description

An interface to Errors manager object.

Constructor & Destructor Documentation

◆ ModuleBase_IErrorMgr()

ModuleBase_IErrorMgr::ModuleBase_IErrorMgr ( QObject theParent = 0)

Default constructor.

Parameters
theParenta parent object

◆ ~ModuleBase_IErrorMgr()

ModuleBase_IErrorMgr::~ModuleBase_IErrorMgr ( )
virtual

Virtual destructor.

Member Function Documentation

◆ setPropertyPanel()

void ModuleBase_IErrorMgr::setPropertyPanel ( ModuleBase_IPropertyPanel theProp)
virtual

Set property pane to the operation.

Parameters
thePropa property panel instance

◆ propertyPanel()

ModuleBase_IPropertyPanel* ModuleBase_IErrorMgr::propertyPanel ( ) const
inline
Returns
Currently installed property panel

◆ updateActions()

virtual void ModuleBase_IErrorMgr::updateActions ( const std::shared_ptr< ModelAPI_Feature > &  theFeature)
pure virtual

Update actions for the given feature.

Parameters
theFeaturea feature

Implemented in XGUI_ErrorMgr.

◆ onWidgetChanged

virtual void ModuleBase_IErrorMgr::onWidgetChanged ( )
protectedpure virtualslot

Process values changed event for processing feature attribute validation errors.

Field Documentation

◆ myPropertyPanel

ModuleBase_IPropertyPanel* ModuleBase_IErrorMgr::myPropertyPanel
protected

Access to property panel.