[Qt-qml] Traversing between views

warwick.allison at nokia.com warwick.allison at nokia.com
Tue Apr 13 01:51:02 CEST 2010


> A.qml and B.qml are  part of QML application in my
> case.But, they represent two different view all together with different
> widgets.

Either load both and transition visually:

Item {
    A { opacity: 0 }
    B { opacity: 1 }
    ... logic to change opacities ...
}

Or use Loader to load just one at a time (really only necessary if A and B are quite large and complicated).

--
Warwick




More information about the Qt-qml mailing list