/[zanavi_public1]/navit/navit/gui/qml/skins/navit/PageSettingsTools.qml
ZANavi

Contents of /navit/navit/gui/qml/skins/navit/PageSettingsTools.qml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File size: 824 byte(s)
import files
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 }

   
Visit the ZANavi Wiki