32 #ifndef pqAnimationTimeWidget_h 33 #define pqAnimationTimeWidget_h 35 #include "pqApplicationComponentsModule.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 setTimeStepCount(
int count);
93 int timeStepCount() const;
98 void setPlayMode(const QString& mode);
99 QString playMode() const;
105 void setPlayModeReadOnly(
bool val);
106 bool playModeReadOnly() const;
111 void setTimeLabel(const QString& val);
112 QString timeLabel() const;
114 void timeValueChanged();
115 void playModeChanged();
123 void setAnimationScene(
vtkSMProxy* animationScene);
126 void updateTimestepCountLabelVisibility();
133 void timestepValueChanged();
136 Q_DISABLE_COPY(pqAnimationTimeWidget)
142 QScopedPointer<pqInternals> Internals;
proxy for a VTK object(s) on a server