aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativescriptdebugging/data/backtrace1.qml
blob: 8bba61ec152f20fca6912df31147afe8d962418b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import QtQuick 2.0
import Qt.test 1.0
import "backtrace1.js" as Script

Rectangle {
    id: mainRectangle

    property string foo: "Default";
    width: 200
    height: 200


    MyTestObject {

        function append(a, b) {
            return a + " " + b;
        }


        id: testObject;
        someProperty: append("Hello", mainRectangle.foo)

        onSignaled: {
            Script.functionInScript(value , "b");
        }
    }
}