SHAPER  9.13.0
XGUI_FacesPanelSelector Class Reference

Processing selection by the faces panel. More...

Inheritance diagram for XGUI_FacesPanelSelector:
Inheritance graph

Signals

void activated ()
 control is activated More...
 
void deactivated ()
 control is deactivated More...
 

Public Member Functions

 XGUI_FacesPanelSelector (XGUI_FacesPanel *thePanel)
 Constructor. More...
 
virtual ~XGUI_FacesPanelSelector ()
 Destructor. More...
 
virtual QString getType ()
 Returns name of the selector. More...
 
virtual void reset ()
 Set empty widget that need to be activated widget if it is not empty. More...
 
virtual void setActive (const bool &isActive)
 Sets control active. More...
 
virtual void processSelection ()
 Processes current selection of workshop. Reaction to selection change in workshop. More...
 
void setEnable (const bool &theEnabled)
 Sets enable/disable state of the selector. More...
 
bool isEnabled () const
 Returns whether the selector is enabled or not. More...
 
virtual bool needToBeActivated () const
 Returns whether the selector should be activated as soon as possible (by deactivatate other) More...
 

Static Public Member Functions

static QString Type ()
 Returns name of the selector. More...
 

Protected Attributes

XGUI_FacesPanelmyPanel
 processed panel More...
 
bool myIsEnabled
 enable state of the selector More...
 

Detailed Description

Processing selection by the faces panel.

Constructor & Destructor Documentation

◆ XGUI_FacesPanelSelector()

XGUI_FacesPanelSelector::XGUI_FacesPanelSelector ( XGUI_FacesPanel thePanel)

Constructor.

Parameters
thePanelthe workshop faces panel

◆ ~XGUI_FacesPanelSelector()

virtual XGUI_FacesPanelSelector::~XGUI_FacesPanelSelector ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Type()

static QString XGUI_FacesPanelSelector::Type ( )
inlinestatic

Returns name of the selector.

◆ getType()

virtual QString XGUI_FacesPanelSelector::getType ( )
inlinevirtual

Returns name of the selector.

Implements XGUI_ActiveControlSelector.

◆ reset()

void XGUI_FacesPanelSelector::reset ( )
virtual

Set empty widget that need to be activated widget if it is not empty.

Reimplemented from XGUI_ActiveControlSelector.

◆ setActive()

void XGUI_FacesPanelSelector::setActive ( const bool &  isActive)
virtual

Sets control active.

It should activates/deactivates selection and selection filters.

Parameters
isActiveif true, the control becomes active

Implements XGUI_ActiveControlSelector.

◆ processSelection()

void XGUI_FacesPanelSelector::processSelection ( )
virtual

Processes current selection of workshop. Reaction to selection change in workshop.

Implements XGUI_ActiveControlSelector.

◆ setEnable()

void XGUI_ActiveControlSelector::setEnable ( const bool &  theEnabled)
inlineinherited

Sets enable/disable state of the selector.

If disable, it will not react to selection

Parameters
theEnabledif true, selector is enabled

◆ isEnabled()

bool XGUI_ActiveControlSelector::isEnabled ( ) const
inlineinherited

Returns whether the selector is enabled or not.

Returns
boolean result

◆ needToBeActivated()

virtual bool XGUI_ActiveControlSelector::needToBeActivated ( ) const
inlinevirtualinherited

Returns whether the selector should be activated as soon as possible (by deactivatate other)

Returns
boolean result

Reimplemented in XGUI_PropertyPanelSelector.

◆ activated

void XGUI_ActiveControlSelector::activated ( )
signalinherited

control is activated

◆ deactivated

void XGUI_ActiveControlSelector::deactivated ( )
signalinherited

control is deactivated

Field Documentation

◆ myPanel

XGUI_FacesPanel* XGUI_FacesPanelSelector::myPanel
protected

processed panel

◆ myIsEnabled

bool XGUI_ActiveControlSelector::myIsEnabled
protectedinherited

enable state of the selector