Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_TIMEPANEL_HH_
18 #define GAZEBO_GUI_TIMEPANEL_HH_
28 #include "gazebo/msgs/MessageTypes.hh"
40 class TimePanelPrivate;
50 public:
explicit TimePanel(QWidget *_parent = 0);
57 public:
void ShowRealTimeFactor(
bool _show);
61 public:
void ShowRealTime(
bool _show);
65 public:
void ShowSimTime(
bool _show);
69 public:
void ShowIterations(
bool _show);
73 public:
void ShowStepWidget(
bool _show);
77 public:
void ShowFPS(
bool _show);
81 public:
bool IsPaused()
const;
86 public:
void SetPaused(
bool _paused);
89 public slots:
void TogglePause();
93 public slots:
void OnStepValueChanged(
int _value);
96 public slots:
void OnTimeReset();
100 signals:
void SetTimeWidgetVisible(
bool _visible);
104 signals:
void SetLogPlayWidgetVisible(
bool _visible);
107 private slots:
void Update();
110 private slots:
void OnPlayActionChanged();
115 private:
void OnFullScreen(
bool _value);
119 private:
void OnStats(ConstWorldStatisticsPtr &_msg);
123 private: TimePanelPrivate *dataPtr;
void ShowFPS(bool _show)
Show fps.
Forward declarations for the common classes.
Definition: Animation.hh:26
void ShowIterations(bool _show)
Show the iterations.
Forward declarations for transport.
bool IsPaused() const
Returns if the simulation is displayed as paused.
void ShowStepWidget(bool _show)
Show the step widget.
void TogglePause()
Toggle simulation paused state.
void ShowRealTimeFactor(bool _show)
Show real time factor.
void SetLogPlayWidgetVisible(bool _visible)
QT signal to set visibility of log play widget.
void OnStepValueChanged(int _value)
Qt call back when the step value in the spinbox changed.
void SetTimeWidgetVisible(bool _visible)
QT signal to set visibility of time widget.
void ShowSimTime(bool _show)
Show sim time.
void OnTimeReset()
QT callback when the reset time button is pressed.
void SetPaused(bool _paused)
Set whether to display the simulation as paused.
gui
Definition: KeyEventHandler.hh:29
void ShowRealTime(bool _show)
Show real time.
virtual ~TimePanel()
Destructor.
Definition: TimePanel.hh:44
TimePanel(QWidget *_parent=0)
Constructor.