17 #ifndef GAZEBO_GUI_TIMEWIDGET_HH_ 18 #define GAZEBO_GUI_TIMEWIDGET_HH_ 28 class TimeWidgetPrivate;
37 public:
explicit TimeWidget(QWidget *_parent = 0);
44 public:
void ShowRealTimeFactor(
bool _show);
48 public:
void ShowRealTime(
bool _show);
52 public:
void ShowSimTime(
bool _show);
56 public:
void ShowIterations(
bool _show);
60 public:
void ShowStepWidget(
bool _show);
64 public:
void ShowFPS(
bool _show);
68 public:
bool IsPaused()
const;
73 public:
void SetPaused(
bool _paused);
77 public:
void EmitSetSimTime(QString _string);
81 public:
void EmitSetRealTime(QString _string);
85 public:
void EmitSetIterations(QString _string);
89 public:
void EmitSetFPS(QString _string);
93 public:
void SetPercentRealTimeEdit(QString _text);
97 public slots:
void OnStepValueChanged(
int _value);
100 public slots:
void OnTimeReset();
104 signals:
void SetSimTime(QString _string);
108 signals:
void SetRealTime(QString _string);
112 signals:
void SetIterations(QString _string);
116 signals:
void SetFPS(QString _string);
120 private: TimeWidgetPrivate *dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26