aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlvaluetypes/data/returnValues.qml
blob: 1f9816f6660634b9a0911fa967d9749509facbe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Test 1.0
import QtQuick 2.0

MyTypeObject {
    property bool test1: false;
    property bool test2: false;

    Component.onCompleted: {
        var a = method();

        test1 = (a.width == 13)
        test2 = (a.height == 14)

        size = a;
    }
}