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

Contents of /navit/navit/gui/qml/skins/navit/PageMain.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: 959 byte(s)
import files
1 import Qt 4.7
2 import "pagenavigation.js" as Navit
3
4 Rectangle {
5 id: page
6
7 width: main.width; height: main.height
8 color: "Black"
9
10 Grid {
11 columns: 2; rows: 2
12 anchors.horizontalCenter: parent.horizontalCenter;
13 anchors.top: page.top;anchors.topMargin:page.height/10
14 spacing: parent.height/6
15
16 ButtonIcon {
17 id: btnDestination; text: "Drive to\npoint on map"; icon: "gui_active.svg"; onClicked: { route.addDestination(); gui.backToMap() }
18 }
19 ButtonIcon {
20 id: btnNavigate; text: "Navigate\nto . . ."; icon: "cursor.svg"; onClicked: Navit.load("PageNavigate.qml");
21 }
22 ButtonIcon {
23 id: btnRoute; text: "Route\ninformation"; icon: "nav_destination_wh.svg"; onClicked: Navit.load("PageRoute.qml");
24 }
25 ButtonIcon {
26 id: btnSettings; text: "Settings"; icon: "gui_settings.svg"; onClicked: Navit.load("PageSettings.qml");
27 }
28 }
29 }

   
Visit the ZANavi Wiki