![]() |
VR-Forces 4.0.4 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) |
| 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 |
Represents a widget that can animate the movement of other widgets.
| makVrf::DtWidgetAnimator::DtWidgetAnimator | ( | QObject * | parent = 0 | ) |
default constructor
| virtual makVrf::DtWidgetAnimator::~DtWidgetAnimator | ( | ) | [virtual] |
destructor
| void makVrf::DtWidgetAnimator::move | ( | QWidget * | w, |
| int | top, | ||
| int | left, | ||
| int | time = 800 |
||
| ) |
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 |
||
| ) |
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.
| void makVrf::DtWidgetAnimator::setup | ( | ) | [protected] |
| void makVrf::DtWidgetAnimator::slot_timeLineFrameChanged | ( | int | ) | [protected, slot] |
| void makVrf::DtWidgetAnimator::slot_timeLineStateChanged | ( | QTimeLine::State | ) | [protected, slot] |
| void makVrf::DtWidgetAnimator::widgetDestroyed | ( | ) | [protected, slot] |
Called when the widget that is animating is destroyed.
QTimeLine* makVrf::DtWidgetAnimator::myTimeLine [protected] |
QWidget* makVrf::DtWidgetAnimator::myWidget [protected] |
QPixmap makVrf::DtWidgetAnimator::myPixmap [protected] |
RenderArea* makVrf::DtWidgetAnimator::myRendering [protected] |
QPoint makVrf::DtWidgetAnimator::myOrigin [protected] |
QPoint makVrf::DtWidgetAnimator::myDestination [protected] |
QPoint makVrf::DtWidgetAnimator::myVector [protected] |