aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/accessibility/accessibility.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/accessibility/accessibility.qml')
-rw-r--r--examples/quick/accessibility/accessibility.qml16
1 files changed, 14 insertions, 2 deletions
diff --git a/examples/quick/accessibility/accessibility.qml b/examples/quick/accessibility/accessibility.qml
index 2804d2abc8..e987561bb1 100644
--- a/examples/quick/accessibility/accessibility.qml
+++ b/examples/quick/accessibility/accessibility.qml
@@ -59,12 +59,13 @@ Rectangle {
id: column
spacing: 6
anchors.fill: parent
+ anchors.margins: 10
width: parent.width
Row {
spacing: 6
width: column.width
- Button { width: 100; height: column.h + 20; text: "Send" }
- Button { width: 100; height: column.h + 20; text: "Discard" }
+ Button { width: 100; height: column.h + 20; text: "Send"; onClicked : { status.text = "Send" } }
+ Button { width: 100; height: column.h + 20; text: "Discard"; onClicked : { status.text = "Discard" } }
}
Row {
@@ -106,5 +107,16 @@ Rectangle {
wrapMode: TextEdit.WordWrap
}
}
+ Text {
+ id : status
+ width: column.width
+ }
+
+ Row {
+ spacing: 6
+ width: column.width
+ Checkbox { checked: false }
+ Slider { value: 10 }
+ }
}
}