pqAnimationTimeWidget is a widget that can be used to show/set the current animation time.
More...
#include <pqAnimationTimeWidget.h>
Inherits QWidget.
pqAnimationTimeWidget is a widget that can be used to show/set the current animation time.
The widget allow the user to do the following:
- View and/or change the current time value (in seq modes), or current time step value (in snap-to-timesteps mode).
Definition at line 26 of file pqAnimationTimeWidget.h.
◆ RealNumberNotation
◆ pqAnimationTimeWidget()
pqAnimationTimeWidget::pqAnimationTimeWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqAnimationTimeWidget()
pqAnimationTimeWidget::~pqAnimationTimeWidget |
( |
| ) |
|
|
override |
◆ animationScene()
vtkSMProxy* pqAnimationTimeWidget::animationScene |
( |
| ) |
const |
Provides access to the animation scene proxy currently controlled/reflected by this widget.
◆ setAnimationScene()
void pqAnimationTimeWidget::setAnimationScene |
( |
pqAnimationScene * |
animationScene | ) |
|
Set the animation scene which is reflected/controlled by this widget.
◆ setTimestepValues()
void pqAnimationTimeWidget::setTimestepValues |
( |
const QList< QVariant > & |
list | ) |
|
Get/Set the list of timestep.
QList<QVariant>
is a list of variants convertible to double.
◆ timestepValues()
const QList<QVariant>& pqAnimationTimeWidget::timestepValues |
( |
| ) |
const |
Get/Set the list of timestep.
QList<QVariant>
is a list of variants convertible to double.
◆ setStartTime()
void pqAnimationTimeWidget::setStartTime |
( |
double |
start | ) |
|
Get/Set the animation start time.
◆ startTime()
double pqAnimationTimeWidget::startTime |
( |
| ) |
const |
Get/Set the animation start time.
◆ setEndTime()
void pqAnimationTimeWidget::setEndTime |
( |
double |
end | ) |
|
Get/Set the animation end time.
◆ endTime()
double pqAnimationTimeWidget::endTime |
( |
| ) |
const |
Get/Set the animation end time.
◆ setNumberOfFrames()
void pqAnimationTimeWidget::setNumberOfFrames |
( |
int |
nbOfFrame | ) |
|
Get/Set the number of frames.
◆ numberOfFrames()
int pqAnimationTimeWidget::numberOfFrames |
( |
| ) |
const |
Get/Set the number of frames.
◆ setCurrentTime()
void pqAnimationTimeWidget::setCurrentTime |
( |
double |
t | ) |
|
Set the current animation time.
◆ notation()
Return the notation used to display the number.
- See also
- setNotation()
◆ precision()
int pqAnimationTimeWidget::precision |
( |
| ) |
const |
Return the precision used to display the number.
- See also
- setPrecision()
◆ setPlayMode()
void pqAnimationTimeWidget::setPlayMode |
( |
const QString & |
mode | ) |
|
Get/set the animation playback mode.
◆ playMode()
QString pqAnimationTimeWidget::playMode |
( |
| ) |
const |
Get/set the animation playback mode.
◆ setTimeLabel()
void pqAnimationTimeWidget::setTimeLabel |
( |
const QString & |
val | ) |
|
Get/set the label text to use for the "time" parameter.
◆ timeLabel()
QString pqAnimationTimeWidget::timeLabel |
( |
| ) |
const |
Get/set the label text to use for the "time" parameter.
◆ playModeChanged
void pqAnimationTimeWidget::playModeChanged |
( |
| ) |
|
|
signal |
◆ dummySignal
void pqAnimationTimeWidget::dummySignal |
( |
| ) |
|
|
signal |
◆ render
void pqAnimationTimeWidget::render |
( |
| ) |
|
|
slot |
Re render the widget.
This can be helpful when notation/precision settings have changed.
◆ updateCurrentTime
void pqAnimationTimeWidget::updateCurrentTime |
( |
double |
t | ) |
|
|
protectedslot |
Update the current time in the widget GUI.
◆ playMode
QString pqAnimationTimeWidget::playMode |
|
readwrite |
◆ numberOfFrames
int pqAnimationTimeWidget::numberOfFrames |
|
readwrite |
◆ startTime
double pqAnimationTimeWidget::startTime |
|
readwrite |
◆ endTime
double pqAnimationTimeWidget::endTime |
|
readwrite |
◆ timeLabel
QString pqAnimationTimeWidget::timeLabel |
|
readwrite |
◆ timestepValues
QList<QVariant> pqAnimationTimeWidget::timestepValues |
|
readwrite |
The documentation for this class was generated from the following file: