pqAnimationTimeWidget is a widget that can be used to show/set the current animation time. More...
#include <pqAnimationTimeWidget.h>
Inherits QWidget.
Public Types | |
using | RealNumberNotation = pqDoubleLineEdit::RealNumberNotation |
Public Slots | |
void | setAnimationScene (vtkSMProxy *animationScene) |
Set the animation scene proxy which is reflected/controlled by this widget. More... | |
void | setNotation (RealNumberNotation _notation) |
Set the notation used to display the number. More... | |
void | setPrecision (int precision) |
Set the precision used to display the number. More... | |
Signals | |
void | timeValueChanged () |
void | playModeChanged () |
void | dummySignal () |
Public Member Functions | |
pqAnimationTimeWidget (QWidget *parent=0) | |
~pqAnimationTimeWidget () override | |
vtkSMProxy * | animationScene () const |
Provides access to the animation scene proxy currently controlled/reflected by this widget. More... | |
RealNumberNotation | notation () const |
Return the notation used to display the number. More... | |
int | precision () const |
Return the precision used to display the number. More... | |
void | setTimestepValues (const QList< QVariant > &list) |
Get/Set the list of timestep. More... | |
const QList< QVariant > & | timestepValues () const |
Get/Set the list of timestep. More... | |
void | setTimeValue (double time) |
Get/set the current time value. More... | |
double | timeValue () const |
Get/set the current time value. More... | |
void | setPlayMode (const QString &mode) |
Get/set the animation playback mode. More... | |
QString | playMode () const |
Get/set the animation playback mode. More... | |
void | setPlayModeReadOnly (bool val) |
Get/set whether the user should be able to change the animation play mode using this widget. More... | |
bool | playModeReadOnly () const |
Get/set whether the user should be able to change the animation play mode using this widget. More... | |
void | setTimeLabel (const QString &val) |
Get/set the label text to use for the "time" parameter. More... | |
QString | timeLabel () const |
Get/set the label text to use for the "time" parameter. More... | |
void | setTimePrecision (int) |
int | timePrecision () const |
void | setTimeNotation (const QChar &val) |
QChar | timeNotation () const |
void | setTimeStepCount (int count) |
int | timeStepCount () const |
Properties | |
double | timeValue |
QString | playMode |
bool | playModeReadOnly |
QString | timeLabel |
QList< QVariant > | timestepValues |
pqAnimationTimeWidget is a widget that can be used to show/set the current animation time.
The widget allow the user to do the following:
Definition at line 60 of file pqAnimationTimeWidget.h.
Definition at line 76 of file pqAnimationTimeWidget.h.
pqAnimationTimeWidget::pqAnimationTimeWidget | ( | QWidget * | parent = 0 | ) |
|
override |
vtkSMProxy* pqAnimationTimeWidget::animationScene | ( | ) | const |
Provides access to the animation scene proxy currently controlled/reflected by this widget.
void pqAnimationTimeWidget::setTimestepValues | ( | const QList< QVariant > & | list | ) |
Get/Set the list of timestep.
QList<QVariant>
is a list of variants convertible to double.
const QList<QVariant>& pqAnimationTimeWidget::timestepValues | ( | ) | const |
Get/Set the list of timestep.
QList<QVariant>
is a list of variants convertible to double.
void pqAnimationTimeWidget::setTimeValue | ( | double | time | ) |
Get/set the current time value.
double pqAnimationTimeWidget::timeValue | ( | ) | const |
Get/set the current time value.
RealNumberNotation pqAnimationTimeWidget::notation | ( | ) | const |
Return the notation used to display the number.
int pqAnimationTimeWidget::precision | ( | ) | const |
Return the precision used to display the number.
void pqAnimationTimeWidget::setPlayMode | ( | const QString & | mode | ) |
Get/set the animation playback mode.
QString pqAnimationTimeWidget::playMode | ( | ) | const |
Get/set the animation playback mode.
void pqAnimationTimeWidget::setPlayModeReadOnly | ( | bool | val | ) |
Get/set whether the user should be able to change the animation play mode using this widget.
bool pqAnimationTimeWidget::playModeReadOnly | ( | ) | const |
Get/set whether the user should be able to change the animation play mode using this widget.
void pqAnimationTimeWidget::setTimeLabel | ( | const QString & | val | ) |
Get/set the label text to use for the "time" parameter.
QString pqAnimationTimeWidget::timeLabel | ( | ) | const |
Get/set the label text to use for the "time" parameter.
void pqAnimationTimeWidget::setTimePrecision | ( | int | ) |
Use setPrecision
and setNotation
instead.
int pqAnimationTimeWidget::timePrecision | ( | ) | const |
Use setPrecision
and setNotation
instead.
void pqAnimationTimeWidget::setTimeNotation | ( | const QChar & | val | ) |
Use setPrecision
and setNotation
instead.
QChar pqAnimationTimeWidget::timeNotation | ( | ) | const |
Use setPrecision
and setNotation
instead.
void pqAnimationTimeWidget::setTimeStepCount | ( | int | count | ) |
No longer used. Use setTimestepValues
instead to provide the timesteps explicitly.
int pqAnimationTimeWidget::timeStepCount | ( | ) | const |
No longer used. Use setTimestepValues
instead to provide the timesteps explicitly.
|
signal |
|
signal |
|
signal |
|
slot |
Set the animation scene proxy which is reflected/controlled by this widget.
|
slot |
Set the notation used to display the number.
|
slot |
Set the precision used to display the number.
|
readwrite |
Definition at line 64 of file pqAnimationTimeWidget.h.
|
readwrite |
Definition at line 65 of file pqAnimationTimeWidget.h.
|
readwrite |
Definition at line 66 of file pqAnimationTimeWidget.h.
|
readwrite |
Definition at line 67 of file pqAnimationTimeWidget.h.
|
readwrite |
Definition at line 68 of file pqAnimationTimeWidget.h.