32 #ifndef pqAnimationTimeWidget_h 33 #define pqAnimationTimeWidget_h 35 #include "pqComponentsModule.h" 37 #include <QScopedPointer> 59 Q_PROPERTY(
double timeValue READ timeValue WRITE setTimeValue NOTIFY timeValueChanged)
60 Q_PROPERTY(
int timeStepCount READ timeStepCount WRITE setTimeStepCount)
61 Q_PROPERTY(QString playMode READ playMode WRITE setPlayMode)
62 Q_PROPERTY(
bool playModeReadOnly READ playModeReadOnly WRITE setPlayModeReadOnly)
63 Q_PROPERTY(QString timeLabel READ timeLabel WRITE setTimeLabel)
65 typedef QWidget Superclass;
80 void setTimeValue(
double time);
81 double timeValue() const;
86 void setTimePrecision(
int val);
87 int timePrecision() const;
92 void setTimeNotation(const QChar& val);
93 QChar timeNotation() const;
98 void setTimeStepCount(
int count);
99 int timeStepCount() const;
104 void setPlayMode(const QString& mode);
105 QString playMode() const;
111 void setPlayModeReadOnly(
bool val);
112 bool playModeReadOnly() const;
117 void setTimeLabel(const QString& val);
118 QString timeLabel() const;
120 void timeValueChanged();
121 void playModeChanged();
129 void setAnimationScene(
vtkSMProxy* animationScene);
134 void repopulateTimeComboBox();
140 QString formatDouble(
double value);
143 void updateTimestepCountLabelVisibility();
150 void timeSpinBoxChanged();
157 void timeLineEditChanged();
164 void timeComboBoxChanged();
170 void timeRadioButtonToggled();
179 QScopedPointer<pqInternals> Internals;
proxy for a VTK object(s) on a server