![]() |
VR-Forces 4.7 Class Documentation
|
Represents a widget that can animate the movement of other widgets. More...

Public Member Functions | |
| DtWidgetAnimator (QObject *parent=0) | |
| default constructor | |
| virtual | ~DtWidgetAnimator () |
| destructor | |
| void | move (QWidget *w, int top, int left, int time=800) |
| Animates the moving of the widget w. | |
| void | reset () |
| Stops the animator. | |
| void | slide (QWidget *w, AnimationType type=SlideOpenRToL, int time=200, const QRect &finalRect=QRect()) |
| Animates the showing of the widget w with the animation type given. | |
Protected Slots | |
| void | slot_timeLineFrameChanged (int) |
| void | slot_timeLineStateChanged (QTimeLine::State) |
| void | widgetDestroyed () |
| Called when the widget that is animating is destroyed. | |
Protected Member Functions | |
| void | setup () |
Protected Attributes | |
| QTimeLine * | myTimeLine |
| AnimationType | myAnimationType |
| QWidget * | myWidget |
| QPixmap | myPixmap |
| RenderArea * | myRendering |
| QPoint | myOrigin |
| QPoint | myDestination |
| QPoint | myVector |
| QRect | myFinalGeometry |
Represents a widget that can animate the movement of other widgets.
| makVrf::DtWidgetAnimator::DtWidgetAnimator | ( | QObject * | parent = 0 | ) |
default constructor
|
virtual |
destructor
Animates the moving of the widget w.
Use the time to specify how long (in milliseconds) the animation should last.
| void makVrf::DtWidgetAnimator::reset | ( | ) |
Stops the animator.
| void makVrf::DtWidgetAnimator::slide | ( | QWidget * | w, |
| AnimationType | type = SlideOpenRToL, |
||
| int | time = 200, |
||
| const QRect & | finalRect = QRect() |
||
| ) |
Animates the showing of the widget w with the animation type given.
Use the time to specify how long (in milliseconds) the animation should last.
|
protected |
|
protectedslot |
|
protectedslot |
|
protectedslot |
Called when the widget that is animating is destroyed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |