aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/accessibility/content/Button.qml
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-01-21 15:53:47 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-21 16:19:33 +0100
commit0111e8b35341f363f6728f89f92232e86f3de3c5 (patch)
tree1f8a47708f3ac8243d1979fc4fa117099ec3948a /examples/quick/accessibility/content/Button.qml
parent9e604dcd07d5b943520ab2a3d472bd23fdd577ec (diff)
Clean up accessibility QtQuick example
Remove an undefined value (column.h) used in the accessibility example and fix minor indentation and style issues. Task-number: QTBUG-29225 Change-Id: I118ca7ee4fd24a3e94eb9b39e60514314ddcd7f0 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/quick/accessibility/content/Button.qml')
-rw-r--r--examples/quick/accessibility/content/Button.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/accessibility/content/Button.qml b/examples/quick/accessibility/content/Button.qml
index 8afc1978ee..4034f074a9 100644
--- a/examples/quick/accessibility/content/Button.qml
+++ b/examples/quick/accessibility/content/Button.qml
@@ -64,8 +64,7 @@ Rectangle {
GradientStop { position: 1.0;
color: button.focus ? "red" : "blue" }
}
- // border.width: 1
- //border.color: "black";
+
radius: 5
antialiasing: true
@@ -84,5 +83,6 @@ Rectangle {
anchors.fill: parent
onClicked: parent.clicked()
}
+
Keys.onSpacePressed: clicked()
}