SimulationPanel allows for UI manipulation of the Simulation Panel.
More...
SimulationPanel allows for UI manipulation of the Simulation Panel.
◆ back()
void SimulationPanel::back |
( |
| ) |
|
Simulates clicking on the Back button.
◆ changePlaySpeed()
void SimulationPanel::changePlaySpeed |
( |
int |
| ) |
|
Changes the play speed of the simulation.
- Parameters
-
value,the | value of the play speed. |
◆ forward()
void SimulationPanel::forward |
( |
| ) |
|
Simulates clicking on the Capture / Forward button.
◆ isPlaying()
bool SimulationPanel::isPlaying |
( |
| ) |
|
Returns true if the simulation is currently playing, otherwise false.
- Returns
- bool, true if the simulation is currently playing, otherwise false.
◆ play()
void SimulationPanel::play |
( |
| ) |
|
Simulates clicking on the Auto Capture / Play button.
◆ populateEventList()
void SimulationPanel::populateEventList |
( |
| ) |
|
Refreshes the display of the event list.
◆ resetSimulation()
void SimulationPanel::resetSimulation |
( |
| ) |
|
Simulates clicking on the Reset Simulation button.
◆ setAllFilters()
void SimulationPanel::setAllFilters |
( |
| ) |
|
Enables or disables all of the event list filters.
◆ setConstantDelay()
void SimulationPanel::setConstantDelay |
( |
bool |
| ) |
|
Enables or disables constant delay.
- Parameters
-
bSet,true | to enable constant delay, false to disable it. |
◆ setDisabled()
void SimulationPanel::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. |
◆ setFilter()
void SimulationPanel::setFilter |
( |
QString |
, |
|
|
bool |
|
|
) |
| |
Enables or disables the specified event list filter.
- Parameters
-
protocol,the | name of the protocol. |
bSet,true | to check the event list filter, false to uncheck it. |
◆ setVisible()
void SimulationPanel::setVisible |
( |
bool |
| ) |
|
Shows or hides this widget from view.
- Parameters
-
bVisible,true | to show this widget, false to hide it. |
◆ setWidgetDisable()
void SimulationPanel::setWidgetDisable |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Enables or disables the specified child widget.
- Parameters
-
widgetName,where | widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn. |
bDisabled,true | to disable input events to this child widget, false to enable input events. |
◆ setWidgetVisible()
void SimulationPanel::setWidgetVisible |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Shows or hides the specified child widget.
- Parameters
-
widgetName,where | widgetName can be one of the following: ResetSimulationBtn, BackBtn, PlayBtn, ForwardBtn, EditFilterBtn, ShowAllBtn, ConstantDelayBtn. |
bVisible,true | to show this child widget, false to hide it. |
◆ showFiltersDialog()
void SimulationPanel::showFiltersDialog |
( |
| ) |
|
Simulates clicking on the Edit Filters button.
The documentation for this class was generated from the following file: