summaryrefslogtreecommitdiffstats
path: root/weather-qml/UnknownForecast.qml
blob: 4f86cbe5a876aa6ef45fa565c93ce33d1fb5c560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"; }
}