diff options
Diffstat (limited to 'examples/declarative/ui-components')
10 files changed, 19 insertions, 19 deletions
diff --git a/examples/declarative/ui-components/dialcontrol/dialcontrol.pro b/examples/declarative/ui-components/dialcontrol/dialcontrol.pro index a2159f30..622a2ac9 100644 --- a/examples/declarative/ui-components/dialcontrol/dialcontrol.pro +++ b/examples/declarative/ui-components/dialcontrol/dialcontrol.pro @@ -14,8 +14,8 @@ QML_IMPORT_PATH = # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += diff --git a/examples/declarative/ui-components/flipable/flipable.pro b/examples/declarative/ui-components/flipable/flipable.pro index af1892f7..6ddf19c1 100644 --- a/examples/declarative/ui-components/flipable/flipable.pro +++ b/examples/declarative/ui-components/flipable/flipable.pro @@ -14,8 +14,8 @@ QML_IMPORT_PATH = # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += diff --git a/examples/declarative/ui-components/flipable/qml/flipable/content/Card.qml b/examples/declarative/ui-components/flipable/qml/flipable/content/Card.qml index f90e5549..49781aac 100644 --- a/examples/declarative/ui-components/flipable/qml/flipable/content/Card.qml +++ b/examples/declarative/ui-components/flipable/qml/flipable/content/Card.qml @@ -49,7 +49,7 @@ Flipable { property int yAxis: 0 property int angle: 0 - width: front.width; height: front.height + width: front.width; height: front.height front: Image { id: frontImage; smooth: true } back: Image { source: "back.png"; smooth: true } diff --git a/examples/declarative/ui-components/flipable/qml/flipable/flipable.qml b/examples/declarative/ui-components/flipable/qml/flipable/flipable.qml index ee333f1b..ec1c1e83 100644 --- a/examples/declarative/ui-components/flipable/qml/flipable/flipable.qml +++ b/examples/declarative/ui-components/flipable/qml/flipable/flipable.qml @@ -43,7 +43,7 @@ import "content" Rectangle { id: window - + width: 480; height: 320 color: "darkgreen" diff --git a/examples/declarative/ui-components/main/main.pro b/examples/declarative/ui-components/main/main.pro index d44b7adc..25a2d7c2 100644 --- a/examples/declarative/ui-components/main/main.pro +++ b/examples/declarative/ui-components/main/main.pro @@ -14,8 +14,8 @@ DEFINES += ORIENTATIONLOCK # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += diff --git a/examples/declarative/ui-components/main/qml/main/SearchBox.qml b/examples/declarative/ui-components/main/qml/main/SearchBox.qml index 3085d8ed..fddd0bad 100644 --- a/examples/declarative/ui-components/main/qml/main/SearchBox.qml +++ b/examples/declarative/ui-components/main/qml/main/SearchBox.qml @@ -66,9 +66,9 @@ FocusScope { font.italic: true } - MouseArea { + MouseArea { anchors.fill: parent - onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } + onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } } TextInput { @@ -84,7 +84,7 @@ FocusScope { source: "images/clear.png" opacity: 0 - MouseArea { + MouseArea { anchors.fill: parent onClicked: { textInput.text = ''; focusScope.focus = true; textInput.openSoftwareInputPanel(); } } diff --git a/examples/declarative/ui-components/progressbar/progressbar.pro b/examples/declarative/ui-components/progressbar/progressbar.pro index 66365c2e..cc9f886e 100644 --- a/examples/declarative/ui-components/progressbar/progressbar.pro +++ b/examples/declarative/ui-components/progressbar/progressbar.pro @@ -14,8 +14,8 @@ QML_IMPORT_PATH = # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += diff --git a/examples/declarative/ui-components/searchbox/qml/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/qml/searchbox/SearchBox.qml index 3085d8ed..fddd0bad 100644 --- a/examples/declarative/ui-components/searchbox/qml/searchbox/SearchBox.qml +++ b/examples/declarative/ui-components/searchbox/qml/searchbox/SearchBox.qml @@ -66,9 +66,9 @@ FocusScope { font.italic: true } - MouseArea { + MouseArea { anchors.fill: parent - onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } + onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } } TextInput { @@ -84,7 +84,7 @@ FocusScope { source: "images/clear.png" opacity: 0 - MouseArea { + MouseArea { anchors.fill: parent onClicked: { textInput.text = ''; focusScope.focus = true; textInput.openSoftwareInputPanel(); } } diff --git a/examples/declarative/ui-components/slideswitch/qml/slideswitch/content/Switch.qml b/examples/declarative/ui-components/slideswitch/qml/slideswitch/content/Switch.qml index 792d848e..115cec3a 100644 --- a/examples/declarative/ui-components/slideswitch/qml/slideswitch/content/Switch.qml +++ b/examples/declarative/ui-components/slideswitch/qml/slideswitch/content/Switch.qml @@ -53,7 +53,7 @@ Item { function toggle() { if (toggleswitch.state == "on") toggleswitch.state = "off"; - else + else toggleswitch.state = "on"; } //![2] diff --git a/examples/declarative/ui-components/slideswitch/slideswitch.pro b/examples/declarative/ui-components/slideswitch/slideswitch.pro index 7f7c981c..b09167f1 100644 --- a/examples/declarative/ui-components/slideswitch/slideswitch.pro +++ b/examples/declarative/ui-components/slideswitch/slideswitch.pro @@ -14,8 +14,8 @@ DEFINES += ORIENTATIONLOCK # DEFINES += QMLJSDEBUGGER # If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. +# the following lines and add the respective components to the +# MOBILITY variable. # CONFIG += mobility # MOBILITY += |