summaryrefslogtreecommitdiff
path: root/navit/gui/qml/skins/navit/PageSettingsLocale.qml
blob: 4412484840eb206bc16b29e11e1146c71a057044 (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
import Qt 4.7
import "pagenavigation.js" as Navit

Rectangle {
    id: page

    width: gui.width; height: gui.height
    border.width: 1
    color: "Black"
    opacity: 0

    function pageOpen() {
        page.opacity = 1;
    }
    
    Component.onCompleted: pageOpen();    
    
    Behavior on opacity {
        NumberAnimation { id: opacityAnimation; duration: 300; alwaysRunToEnd: true }
    }

    Grid {
        columns: 1;rows: 3
        anchors.horizontalCenter: parent.horizontalCenter;
        anchors.verticalCenter: parent.verticalCenter; 

	Text { id: lang; text: gui.localeName; color: "White";font.pointSize: gui.height/24 }
	Text { id: langname; text: gui.langName; color: "White";font.pointSize: gui.height/24 }
	Text { id: ctryname; text: gui.ctryName; color: "White";font.pointSize: gui.height/24 }
    }

    Cellar {anchors.bottom: page.bottom; anchors.horizontalCenter: page.horizontalCenter; width: page.width }
}