SHAPER  9.12.0
XGUI_ErrorMgr Class Reference

Class of Errors manager object. More...

Inheritance diagram for XGUI_ErrorMgr:
Inheritance graph

Public Member Functions

 XGUI_ErrorMgr (QObject *theParent, ModuleBase_IWorkshop *theWorkshop)
 Constructor. More...
 
virtual ~XGUI_ErrorMgr ()
 Virtual destructor. More...
 
virtual void updateActions (const FeaturePtr &theFeature)
 Update actions for the given feature. More...
 
void updateAcceptAllAction (const FeaturePtr &theFeature)
 Update enable state of AcceptAll action if the feature uses it. More...
 
bool isApplyEnabled () const
 Returns true if the apply is enabled for the current feature. More...
 
virtual void setPropertyPanel (ModuleBase_IPropertyPanel *theProp)
 Set property pane to the operation. More...
 
ModuleBase_IPropertyPanelpropertyPanel () const
 

Protected Slots

virtual void onWidgetChanged ()
 Reimplemented from ModuleBase_ErrorMgr::onWidgetChanged(). More...
 

Protected Attributes

ModuleBase_IPropertyPanelmyPropertyPanel
 Access to property panel. More...
 

Detailed Description

Class of Errors manager object.

Constructor & Destructor Documentation

◆ XGUI_ErrorMgr()

XGUI_ErrorMgr::XGUI_ErrorMgr ( QObject theParent,
ModuleBase_IWorkshop theWorkshop 
)

Constructor.

Parameters
theParenta parent object
theWorkshopa workshop object

◆ ~XGUI_ErrorMgr()

XGUI_ErrorMgr::~XGUI_ErrorMgr ( )
virtual

Virtual destructor.

Member Function Documentation

◆ updateActions()

void XGUI_ErrorMgr::updateActions ( const FeaturePtr &  theFeature)
virtual

Update actions for the given feature.

Parameters
theFeaturea feature

Implements ModuleBase_IErrorMgr.

◆ updateAcceptAllAction()

void XGUI_ErrorMgr::updateAcceptAllAction ( const FeaturePtr &  theFeature)

Update enable state of AcceptAll action if the feature uses it.

Parameters
theFeaturea feature

to allow the module have the button always enabled

◆ isApplyEnabled()

bool XGUI_ErrorMgr::isApplyEnabled ( ) const

Returns true if the apply is enabled for the current feature.

◆ onWidgetChanged

void XGUI_ErrorMgr::onWidgetChanged ( )
protectedvirtualslot

Reimplemented from ModuleBase_ErrorMgr::onWidgetChanged().

◆ setPropertyPanel()

void ModuleBase_IErrorMgr::setPropertyPanel ( ModuleBase_IPropertyPanel theProp)
virtualinherited

Set property pane to the operation.

Parameters
thePropa property panel instance

◆ propertyPanel()

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

Field Documentation

◆ myPropertyPanel

ModuleBase_IPropertyPanel* ModuleBase_IErrorMgr::myPropertyPanel
protectedinherited

Access to property panel.