aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/exampleslauncher/content
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-09-20 17:16:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-21 07:11:25 +0200
commitc07ea77a6201ef5595ff5714fba891be4408fa9a (patch)
treea76327735961f81130bffeeb9a62f2fcb7fec8bb /examples/declarative/particles/exampleslauncher/content
parentef98f5a80369e3f014585edc3dd63a2ec331d1ea (diff)
Add whitespace
Change-Id: Iad55228ffa86bbf63b12a33d0f00ce734807c071 Reviewed-on: http://codereview.qt-project.org/5199 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/declarative/particles/exampleslauncher/content')
-rw-r--r--examples/declarative/particles/exampleslauncher/content/Shell.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/declarative/particles/exampleslauncher/content/Shell.qml b/examples/declarative/particles/exampleslauncher/content/Shell.qml
index 3a327915ed..8f9d5b3fc6 100644
--- a/examples/declarative/particles/exampleslauncher/content/Shell.qml
+++ b/examples/declarative/particles/exampleslauncher/content/Shell.qml
@@ -40,36 +40,36 @@
import QtQuick 2.0
-Loader{
+Loader {
id: ldr
visible: false
focus: visible
onVisibleChanged: source = ""
opacity: visible?1:0
- Behavior on opacity{NumberAnimation{}}
+ Behavior on opacity {NumberAnimation {}}
- function setDemo(str){
+ function setDemo(str) {
visible = true;
source = str;
}
- Image{//TODO: Augment with PARTICLES
+ Image {//TODO: Augment with PARTICLES
z: 1
source: "../../images/launcherIcons/close.png"
- MouseArea{
+ MouseArea {
anchors.fill: parent
onClicked: ldr.visible = false;
}
}
- Rectangle{
+ Rectangle {
z: -1
anchors.fill: parent
color:"black"
- Text{
+ Text {
color: "white"
anchors.centerIn: parent
text: ldr.Status == Loader.Error ? "Error :(" : "Loading..."
}
- MouseArea{
+ MouseArea {
id: graball
anchors.fill: parent
onClicked:;