SHAPER
9.12.0
|
Interface to have an active control and process selection by the control. More...
Signals | |
void | activated () |
control is activated More... | |
void | deactivated () |
control is deactivated More... | |
Public Member Functions | |
XGUI_ActiveControlSelector () | |
Constructor. More... | |
virtual | ~XGUI_ActiveControlSelector () |
Destructor. More... | |
virtual QString | getType ()=0 |
Returns name of the selector. More... | |
virtual void | reset () |
Clear need to be activated widget if it exists. 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 void | setActive (const bool &isActive)=0 |
Sets control active. More... | |
virtual bool | needToBeActivated () const |
Returns whether the selector should be activated as soon as possible (by deactivatate other) More... | |
virtual void | processSelection ()=0 |
Processes current selection of workshop. Reaction to selection change in workshop. More... | |
Protected Attributes | |
bool | myIsEnabled |
enable state of the selector More... | |
Interface to have an active control and process selection by the control.
Activation of control may set selection modes and selection filters of the control.
|
inline |
Constructor.
theWorkshop | the current workshop instance |
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns name of the selector.
Implemented in XGUI_PropertyPanelSelector, and XGUI_FacesPanelSelector.
|
inlinevirtual |
Clear need to be activated widget if it exists.
Reimplemented in XGUI_PropertyPanelSelector, and XGUI_FacesPanelSelector.
|
inline |
Sets enable/disable state of the selector.
If disable, it will not react to selection
theEnabled | if true, selector is enabled |
|
inline |
Returns whether the selector is enabled or not.
|
pure virtual |
Sets control active.
It should activates/deactivates selection and selection filters.
isActive | if true, the control becomes active |
Implemented in XGUI_PropertyPanelSelector, and XGUI_FacesPanelSelector.
|
inlinevirtual |
Returns whether the selector should be activated as soon as possible (by deactivatate other)
Reimplemented in XGUI_PropertyPanelSelector.
|
pure virtual |
Processes current selection of workshop. Reaction to selection change in workshop.
Implemented in XGUI_PropertyPanelSelector, and XGUI_FacesPanelSelector.
|
signal |
control is activated
|
signal |
control is deactivated
|
protected |
enable state of the selector