diff options
Diffstat (limited to 'weather-qml/UnknownForecast.qml')
-rw-r--r-- | weather-qml/UnknownForecast.qml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/weather-qml/UnknownForecast.qml b/weather-qml/UnknownForecast.qml new file mode 100644 index 0000000..4f86cbe --- /dev/null +++ b/weather-qml/UnknownForecast.qml @@ -0,0 +1,30 @@ +import Qt 4.6 + +ForecastView { + id: root + isClear: true + + HungItem { + id: question + x: scaledX(260) + y: scaledY(-800) + itemX: 8 + itemY: 190 + height: 476 + finalY: scaledY(-255) + itemImage: "images/na_icon.png" + lineImage: "images/na_icon_line.png" + } + + states : State { + name: "final" + PropertyChanges { target: question; y: question.finalY; } + } + + transitions: Transition { + NumberAnimation { target: question; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + onPresent: { root.state = "final"; } +} |