--- /dev/null
+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
+ }
+ }
+
+}