CommonToolbar allows UI manipulation of the right most vertical toolbar.
More...
CommonToolbar allows UI manipulation of the right most vertical toolbar.
◆ changeState()
void CommonToolbar::changeState |
( |
string |
| ) |
|
Changes the state of the common toolbar.
- Parameters
-
state,the | new state for the Common Toolbar. Allowed states: select, move, note, delete, inspect, drawpolygon, addsimple, addcomplex |
◆ setDisabled()
void CommonToolbar::setDisabled |
( |
bool |
| ) |
|
Enables or disables input events to this widget.
- Parameters
-
bDisabled,true | to disable input events to this widget, false to enable input events. |
◆ setVisible()
void CommonToolbar::setVisible |
( |
bool |
| ) |
|
Shows or hides this widget from view.
- Parameters
-
bVisible,true | to show this widget, false to hide it. |
◆ setWidgetDisable()
void CommonToolbar::setWidgetDisable |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Enables or disables the specified child widget.
- Parameters
-
widgetName,where | widgetName can be one of the following: SelectBtn, MoveBtn, NoteBtn, DeleteBtn, InspectBtn, DrawPolyBtn, AddSimpleBtn, AddComplexPDUBtn. |
bDisabled,true | to disable input events to this child widget, false to enable input events. |
◆ setWidgetVisible()
void CommonToolbar::setWidgetVisible |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Shows or hides the specified child widget.
- Parameters
-
widgetName,where | widgetName can be one of the following: SelectBtn, MoveBtn, NoteBtn, DeleteBtn, InspectBtn, DrawPolyBtn, AddSimpleBtn, AddComplexPDUBtn. |
bVisible,true | to show this child widget, false to hide it. |
The documentation for this class was generated from the following file: