ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes
pqCurrentTimeToolbar Class Reference

pqCurrentTimeToolbar is a toolbar that shows the current animation time. More...

#include <pqCurrentTimeToolbar.h>

Inheritance diagram for pqCurrentTimeToolbar:
Inheritance graph
[legend]

List of all members.

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 ()
pqAnimationSceneanimationScene () 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

Detailed Description

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.


Constructor & Destructor Documentation

pqCurrentTimeToolbar::pqCurrentTimeToolbar ( const QString &  title,
QWidget *  parent = 0 
)
pqCurrentTimeToolbar::pqCurrentTimeToolbar ( QWidget *  parent = 0)
virtual pqCurrentTimeToolbar::~pqCurrentTimeToolbar ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

QLineEdit* pqCurrentTimeToolbar::TimeLineEdit [protected]

Definition at line 83 of file pqCurrentTimeToolbar.h.

QSpinBox* pqCurrentTimeToolbar::TimeSpinBox [protected]

Definition at line 84 of file pqCurrentTimeToolbar.h.


The documentation for this class was generated from the following file: