dotherside/DOtherSide/IntegrationTest/main.qml

30 lines
551 B
QML
Raw Normal View History

2014-07-19 16:26:08 +00:00
import QtQuick 2.2
import QtQuick.Window 2.1
Window {
visible: true
width: 360
height: 360
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
Text {
text: qsTr("Hello World")
anchors.centerIn: parent
}
Component.onCompleted: {
console.log(dynamicQObject)
var result = 0;
result = dynamicQObject.foo();
console.log("Result:", result)
result = dynamicQObject.bar(10);
console.log("Result:", result)
}
}