I haven't tried myself but can you do an animation on the z property?!

--

Sent from my Nokia N9



On 16/06/12 9:36 qt-...@johnea.net wrote:



Hello,


I'm recently starting to use QML for an embedded system touch screen interface.


The general layout of the screen has a main square to the left and a control 
area down the right side containing control buttons. Ascii art sketch 8-) :

--------------------
| | |

| | C |
| Main | n |
| | t |
| | l |

| | |
--------------------


When a button in the Cntl area is clicked, I'd like for the new contents of the 
Main screen to slide in from the right, as if it were coming "out from under" 
the Cntl rectangle.


Everything I've tried so far causes the new content to animate over the control 
rectangle.


I'm basically anchoring new content.left to Main.right and animating the x 
property with x:-main.width.


Thank you for suggestions of the best way to perform this "hidden surface 
removal" during animation...


johnea

_______________________________________________

Qt-qml mailing list

Qt-qml@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml



_______________________________________________
Qt-qml mailing list
Qt-qml@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to