summaryrefslogtreecommitdiffstats
path: root/weather-qml/SplashScreen.qml
blob: bee13c8f1a579ddc179967f3d97fa93a02c2e857 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import Qt 4.6

Item {
    id: splash

    Image {
        id: bg
        source: "images/bg_loading.png"
        anchors.fill: parent
    }

    Image {
        id: bottomMenu
        source: "images/city_name_background_bigger.png"
        anchors.bottom: bottomBar.top
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Throbber {
        id: "progress"
        anchors.topMargin: 10
        anchors.top: infoLabel.bottom
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Text {
        id: infoLabel
        text: "Loading"
        color: "white"
        font.family: "Nokia Sans"
        font.pixelSize: 22
        anchors.top: parent.top
        anchors.topMargin: parent.height * 0.3
        anchors.horizontalCenter: parent.horizontalCenter
        verticalAlignment: "AlignVCenter"
        horizontalAlignment: "AlignHCenter"
    }

    Image {
        id: umbrella
        source: "images/umbrella.png"
        anchors.bottom: bottomBar.top
        anchors.bottomMargin: 20
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Image {
        id: bottomBar
        source: "images/bg_bottom_options.png"
        anchors.bottom: parent.bottom
        anchors.horizontalCenter: parent.horizontalCenter
    }
}