[SOLVED] animation when changing qml pages
QML and Qt Quick
5
Posts
2
Posters
2.3k
Views
1
Watching
-
There is no such QML element Page. Are you using components? If you are then animation is handled for you. If you are not then you will have to do a little bit of manual work. Read: http://doc.qt.digia.com/qt/qdeclarativeanimation.html
-
- Start without loader
- Create two screen sized pages (e.g. rectangles of different colour) side-by-side (one rectangle will naturally be out-of-screen, e.g. by setting property x to width)
- Add sliding animation using states and transitions (change rect 1 X from 0 to -width and rect 2 x from width to 0).
- Add loader when you will have animation in place.
Does that help?