[Interest] Loader QML Transitions

Federico Buti bacarozzo at gmail.com
Thu Nov 6 15:22:18 CET 2014


I think you can exploit the status
<http://qt-project.org/doc/qt-5/qml-qtquick-loader.html#status-prop> associated
with the Loader.

Cheers,
F.

On 6 November 2014 15:16, rpzrpzrpz at gmail.com <rpzrpzrpz at gmail.com> wrote:

> 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141106/8eedcfae/attachment.html>


More information about the Interest mailing list