1 |
import Qt 4.7
|
2 |
import "pagenavigation.js" as Navit
|
3 |
|
4 |
Rectangle {
|
5 |
id: page
|
6 |
|
7 |
width: gui.width; height: gui.height
|
8 |
border.width: 1
|
9 |
color: "Black"
|
10 |
opacity: 0
|
11 |
|
12 |
function pageOpen() {
|
13 |
page.opacity = 1;
|
14 |
}
|
15 |
|
16 |
Component.onCompleted: pageOpen();
|
17 |
|
18 |
Behavior on opacity {
|
19 |
NumberAnimation { id: opacityAnimation; duration: 300; alwaysRunToEnd: true }
|
20 |
}
|
21 |
|
22 |
Grid {
|
23 |
columns: 1;rows: 1
|
24 |
anchors.horizontalCenter: parent.horizontalCenter;
|
25 |
anchors.verticalCenter: parent.verticalCenter;
|
26 |
ButtonIcon {
|
27 |
id: btnDisplay; text: "Locale"; icon: "gui_actions.svg"; onClicked: Navit.load("PageSettingsLocale.qml");
|
28 |
}
|
29 |
}
|
30 |
|
31 |
Cellar {anchors.bottom: page.bottom; anchors.horizontalCenter: page.horizontalCenter; width: page.width }
|
32 |
}
|