32 #ifndef pqAnimationTimeWidget_h 33 #define pqAnimationTimeWidget_h 40 #include <QScopedPointer> 64 Q_PROPERTY(
double timeValue READ timeValue WRITE setTimeValue NOTIFY timeValueChanged)
65 Q_PROPERTY(QString playMode READ playMode WRITE setPlayMode NOTIFY playModeChanged)
66 Q_PROPERTY(
bool playModeReadOnly READ playModeReadOnly WRITE setPlayModeReadOnly)
67 Q_PROPERTY(QString timeLabel READ timeLabel WRITE setTimeLabel)
68 Q_PROPERTY(QList<QVariant> timestepValues READ timestepValues WRITE setTimestepValues)
70 typedef QWidget Superclass;
89 void setTimestepValues(const QList<QVariant>& list);
90 const QList<QVariant>& timestepValues() const;
97 void setTimeValue(
double time);
98 double timeValue() const;
105 RealNumberNotation notation() const;
111 int precision() const;
117 void setPlayMode(const QString& mode);
118 QString playMode() const;
126 void setPlayModeReadOnly(
bool val);
127 bool playModeReadOnly() const;
134 void setTimeLabel(const QString& val);
135 QString timeLabel() const;
144 VTK_LEGACY(
void setTimeNotation(const QChar& val));
158 void timeValueChanged();
159 void playModeChanged();
167 void setAnimationScene(
vtkSMProxy* animationScene);
173 void setNotation(RealNumberNotation _notation);
179 void setPrecision(
int precision);
185 QScopedPointer<pqInternals> Internals;
RealNumberNotation
This enum specifies which notations to use for displaying the value.
#define PQCOMPONENTS_EXPORT
#define VTK_LEGACY(method)
pqLineEdit subclass that supports a low precision view when inactive
proxy for a VTK object(s) on a server