[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/shells/mobile/research/qml-research/tokamak4
From: Marco Martin <notmart () gmail ! com>
Date: 2010-03-22 16:10:19
Message-ID: 20100322161019.A77C2AC86C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1106361 by mart:
keep it working
M +30 -26 HomeScreen.qml
--- trunk/playground/base/plasma/shells/mobile/research/qml-research/tokamak4/HomeScreen.qml \
#1106360:1106361 @@ -25,15 +25,16 @@
PropertyChanges { target: defaultBackground; y: 0 }
}
]
- transitions: Transition {
+ transitions: [
+ Transition {
from: "Visible"
to: "Hidden"
SequentialAnimation {
NumberAnimation { properties: "scale"; easing.type: "InQuad"; \
duration: 150 }
NumberAnimation { properties: "y"; easing.type: "InQuad"; \
duration: 400 } }
- }
- transitions: Transition {
+ },
+ Transition {
from: "Hidden"
to: "Visible"
SequentialAnimation {
@@ -41,6 +42,7 @@
NumberAnimation { properties: "scale"; easing.type: "InQuad"; \
duration: 150 } }
}
+ ]
}
Flipable {
@@ -87,46 +89,48 @@
}
}
]
- transitions: Transition {
+ transitions: [
+ Transition {
from: "Visible"
to: "Hidden"
SequentialAnimation {
NumberAnimation { properties: "scale"; easing.type: "InQuad"; \
duration: 150 }
NumberAnimation { properties: "y"; easing.type: "InQuad"; \
duration: 400 } }
- }
- transitions: Transition {
+ },
+ Transition {
from: "Hidden"
to: "Visible"
SequentialAnimation {
NumberAnimation { properties: "y"; easing.type: "InQuad"; \
duration: 500 }
NumberAnimation { properties: "scale"; easing.type: "InQuad"; \
duration: 150 } }
- }
+ },
- transitions: Transition {
- from: "Visible"
- to:"Back"
- ParallelAnimation {
- NumberAnimation {
- properties: "angle";
- duration: 800;
- easing.type: "Linear";
+ Transition {
+ from: "Visible"
+ to:"Back"
+ ParallelAnimation {
+ NumberAnimation {
+ properties: "angle";
+ duration: 800;
+ easing.type: "Linear";
+ }
}
- }
- }
+ },
- transitions: Transition {
- from: "Back"
- to:"Visible"
- ParallelAnimation {
- NumberAnimation {
- properties: "angle";
- duration: 800;
- easing.type: "Linear";
+ Transition {
+ from: "Back"
+ to:"Visible"
+ ParallelAnimation {
+ NumberAnimation {
+ properties: "angle";
+ duration: 800;
+ easing.type: "Linear";
+ }
}
}
- }
+ ]
MouseArea {
// change between default and 'back' states
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic