Widget which displays log playback options. More...
#include <LogPlayWidget.hh>
Inherits QWidget.
Public Slots | |
void | OnCurrentTime () |
Callback when the current time has been edited. More... | |
void | OnForward () |
Jump to the end of the log file. More... | |
void | OnPause () |
Pause simulation. More... | |
void | OnPlay () |
Play simulation. More... | |
void | OnRewind () |
Jump to the start of the log file. More... | |
void | OnSeek (const common::Time &_time) |
Jump to a given time in the log file. More... | |
void | OnStepBack () |
Step simulation back. More... | |
void | OnStepForward () |
Step simulation forward. More... | |
Signals | |
void | HidePause () |
Qt signal to hide the pause button. More... | |
void | HidePlay () |
Qt signal to hide the play button. More... | |
void | SetCurrentDays (const QString &) |
Qt signal used to set the current day line edit. More... | |
void | SetCurrentHours (const QString &) |
Qt signal used to set the current hour line edit. More... | |
void | SetCurrentMinutes (const QString &) |
Qt signal used to set the current minute line edit. More... | |
void | SetCurrentSeconds (const QString &) |
Qt signal used to set the current second line edit. More... | |
void | SetCurrentTime (const common::Time &_time) |
Qt signal used to set the current time in the view. More... | |
void | SetEndTime (const QString &) |
Qt signal used to set the end time line edit. More... | |
void | SetEndTime (const common::Time &_time) |
Qt signal used to set the end time in the view. More... | |
void | SetStartTime (const common::Time &_time) |
Qt signal used to set the start time in the view. More... | |
void | ShowPause () |
Qt signal to show the pause button. More... | |
void | ShowPlay () |
Qt signal to show the play button. More... | |
Public Member Functions | |
LogPlayWidget (QWidget *_parent=0) | |
Constructor. More... | |
virtual | ~LogPlayWidget () |
Destructor. More... | |
void | EmitSetCurrentTime (const common::Time &_time) |
Emit signal to set current time. More... | |
void | EmitSetEndTime (const common::Time &_time) |
Emit signal to set end time. More... | |
void | EmitSetStartTime (const common::Time &_time) |
Emit signal to set start time. More... | |
bool | IsPaused () const |
Returns if the simulation is displayed as paused. More... | |
void | SetPaused (const bool _paused) |
Set whether to display the simulation as paused. More... | |
Widget which displays log playback options.
|
explicit |
Constructor.
[in] | _parent | Parent widget, commonly a TimePanel. |
|
virtual |
Destructor.
void EmitSetCurrentTime | ( | const common::Time & | _time | ) |
Emit signal to set current time.
[in] | _time | Current time. |
void EmitSetEndTime | ( | const common::Time & | _time | ) |
Emit signal to set end time.
[in] | _time | End time. |
void EmitSetStartTime | ( | const common::Time & | _time | ) |
Emit signal to set start time.
[in] | _time | Start time. |
|
signal |
Qt signal to hide the pause button.
|
signal |
Qt signal to hide the play button.
bool IsPaused | ( | ) | const |
Returns if the simulation is displayed as paused.
|
slot |
Callback when the current time has been edited.
|
slot |
Jump to the end of the log file.
|
slot |
Pause simulation.
|
slot |
Play simulation.
|
slot |
Jump to the start of the log file.
|
slot |
Jump to a given time in the log file.
[in] | _time | Desired time |
|
slot |
Step simulation back.
|
slot |
Step simulation forward.
|
signal |
Qt signal used to set the current day line edit.
[in] | _string | String representation of current day. |
|
signal |
Qt signal used to set the current hour line edit.
[in] | _string | String representation of current hour. |
|
signal |
Qt signal used to set the current minute line edit.
[in] | _string | String representation of current minute. |
|
signal |
Qt signal used to set the current second line edit.
[in] | _string | String representation of current second. |
|
signal |
Qt signal used to set the current time in the view.
[in] | _time | Current time. |
|
signal |
Qt signal used to set the end time line edit.
[in] | _string | String representation of current time. |
|
signal |
Qt signal used to set the end time in the view.
[in] | _time | End time. |
void SetPaused | ( | const bool | _paused | ) |
Set whether to display the simulation as paused.
[in] | _p | True to display the simulation as paused. False indicates the simulation is running |
|
signal |
Qt signal used to set the start time in the view.
[in] | _time | Start time. |
|
signal |
Qt signal to show the pause button.
|
signal |
Qt signal to show the play button.