aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickitem/data/visualParentOwnershipWindow.qml
blob: 30fc844d7a6a557d49749e543180da7b81a3540b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 2.0
import QtQuick.Window 2.1

Window {
    Component {
        id: factory
        Item {}
    }

    property Item keepAliveProperty;

    function createItemWithoutParent() {
        return factory.createObject(/*parent*/ null);
    }
}