|
ParaView
|
pqCurrentTimeToolbar is a toolbar that shows the current animation time. More...
#include <pqCurrentTimeToolbar.h>

Public Slots | |
| void | setAnimationScene (pqAnimationScene *) |
| Set the animation scene. | |
Signals | |
| void | changeSceneTime (double) |
| emitted to request the scene to change it's animation time. | |
Public Member Functions | |
| pqCurrentTimeToolbar (const QString &title, QWidget *parent=0) | |
| pqCurrentTimeToolbar (QWidget *parent=0) | |
| virtual | ~pqCurrentTimeToolbar () |
| pqAnimationScene * | animationScene () const |
| Returns the current animation scene to which this toolbar is linked. | |
Protected Slots | |
| void | sceneTimeChanged (double) |
| Called when animation scene reports that it's time has changed. | |
| void | currentTimeEdited () |
| When user edits the line-edit. | |
| void | currentTimeIndexChanged () |
| When user edits the spin-box. | |
| void | onPlayModeChanged () |
| void | onTimeStepsChanged () |
| Update range for the spin box. | |
Protected Attributes | |
| QLineEdit * | TimeLineEdit |
| QSpinBox * | TimeSpinBox |
pqCurrentTimeToolbar is a toolbar that shows the current animation time.
It stays linked with the current animation scene's animation time. To use this, simply create this toolbar and place it in the GUI as needed. Either set the current animation scene directly or connect it to the pqAnimationManager's scene-changed signal.
Definition at line 48 of file pqCurrentTimeToolbar.h.
| pqCurrentTimeToolbar::pqCurrentTimeToolbar | ( | const QString & | title, |
| QWidget * | parent = 0 |
||
| ) |
| pqCurrentTimeToolbar::pqCurrentTimeToolbar | ( | QWidget * | parent = 0 | ) |
| virtual pqCurrentTimeToolbar::~pqCurrentTimeToolbar | ( | ) | [virtual] |
| pqAnimationScene* pqCurrentTimeToolbar::animationScene | ( | ) | const |
Returns the current animation scene to which this toolbar is linked.
| void pqCurrentTimeToolbar::setAnimationScene | ( | pqAnimationScene * | ) | [slot] |
Set the animation scene.
| void pqCurrentTimeToolbar::sceneTimeChanged | ( | double | ) | [protected, slot] |
Called when animation scene reports that it's time has changed.
| void pqCurrentTimeToolbar::currentTimeEdited | ( | ) | [protected, slot] |
When user edits the line-edit.
| void pqCurrentTimeToolbar::currentTimeIndexChanged | ( | ) | [protected, slot] |
When user edits the spin-box.
| void pqCurrentTimeToolbar::onPlayModeChanged | ( | ) | [protected, slot] |
| void pqCurrentTimeToolbar::onTimeStepsChanged | ( | ) | [protected, slot] |
Update range for the spin box.
| void pqCurrentTimeToolbar::changeSceneTime | ( | double | ) | [signal] |
emitted to request the scene to change it's animation time.
QLineEdit* pqCurrentTimeToolbar::TimeLineEdit [protected] |
Definition at line 83 of file pqCurrentTimeToolbar.h.
QSpinBox* pqCurrentTimeToolbar::TimeSpinBox [protected] |
Definition at line 84 of file pqCurrentTimeToolbar.h.
1.7.5.1