summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata-qt/cached-qml/main.qml
blob: f5f32f6bdeb923a825485cd62efe7d35b645622a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.6
import QtQuick.Window 2.2
import "stuff.js" as Stuff

Window {
    visible: true
    width: 640
    height: 480
    title: Stuff.title()

    MainForm {
        anchors.fill: parent
        mouseArea.onClicked: {
            console.log(qsTr('Clicked on background. Text: "' + textEdit.text + '"'))
        }
    }
}