2014-06-02 16:59 GMT+08:00 BOUCARD Olivier <boucard_oliv...@yahoo.fr>:

> The best way is to use a Loader item.


thx. like this?

> import QtQuick 2.2
> Rectangle {
>     id: root
>     visible: true
>     width: 760; height: 520
>     color: "red"
>     Loader { id: pageLoader }
>     MouseArea {
>         anchors.fill: parent
>         onClicked: pageLoader.source = "subwindow2.qml"
>     }
> }



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

Reply via email to