summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-17 19:33:29 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-20 16:53:10 +0100
commita0d27513f4eff3f76fd85e6442aca443b7c05a53 (patch)
tree2239ed849796744299fbe25ab3cc50c2867160e9 /examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml
parent9ba631edb469599d3973982f8d5d72a9ba059eab (diff)
whitespace fixes
remove trailing spaces & expand tabs Change-Id: Ia088c8cc8a83d068f6e2ec84903b5220cd3411f1 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml')
-rw-r--r--examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml b/examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml
index 384a6c52..7978ed42 100644
--- a/examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml
+++ b/examples/declarative/tutorials/gettingStarted/parts/part4/SimpleButton.qml
@@ -42,16 +42,16 @@ import QtQuick 1.0
Rectangle {
id: simplebutton
- color: "grey"
+ color: "grey"
width: 150; height: 75
-
+
Text{
id: buttonLabel
anchors.centerIn: parent
- text: "button label"
+ text: "button label"
}
- MouseArea{
+ MouseArea{
id: buttonMouseArea
anchors.fill: parent
onClicked: console.log(buttonLabel.text + " clicked" )