Does anybody have a comment about the Loader QML component.

I would like to support a IOS like Segue where the current QML file has
a graphic transition to another QML file

When I set the source of a loader component, obviously it dumps the
current QML OpenGL objects and loads the new QML objects.

But is there a way to define a transition between the QML source so that
the appearance of an IOS Segue when the entire screen flies away and
rolls away.

Loader QML Snippet:

import QtQuick 2.2
import QtQuick.Windows 2.1

Window {

        id: topwindow
        visible: true

        width: Screen.width
        height: Screen.height
        color: "black"
        title: "test"

        Loader
        {
                id: genload
                anchors.fill: parent
                source: "startup.qml"
                onLoaded:
                {
                        item.focusinit()
                }
                
        }
        
        function setsource(srcqml)
        {
                genload.source = srcqml
        }

}
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to