X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ftest.qml;fp=src%2Ftest.qml;h=b1af437d616959e231cc7436d613d4eb9a4591cd;hb=54324efd46ae66014ebc139686e1a47e8833e66f;hp=0000000000000000000000000000000000000000;hpb=31671a02709b0eaa02875acab784968e206bd0da;p=quickdice diff --git a/src/test.qml b/src/test.qml new file mode 100644 index 0000000..b1af437 --- /dev/null +++ b/src/test.qml @@ -0,0 +1,37 @@ +import Qt 4.7 + +Rectangle { + width: 640 + height: 480 + color: defaultColor + + Text { + id: name + text: message + anchors.centerIn: parent + } + + Rectangle { + id: myButton + width: 250 + height: 25 + color: defaultColor + + MouseArea { + anchors.fill: parent + onClicked: { + console.log("onMyButtonClicked"); + action.trigger(); + } + + } + + Text { + id: myButtonText + text: ">> Close button <<" + font.pointSize: 16 + anchors.centerIn: parent + } + } + +}