blob: 87c1272e2418ba0713f8a401464129578c0b9c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import Qt 4.6
Rectangle {
id: page
function pageOpen(command) {
if ( command=="menu") {
gui.returnSource="";
gui.setPage("main.qml");
}
if (command=="quit") {
navit.quit();
}
}
Component.onCompleted: pageOpen(gui.commandFunction);
Text { id: myText; anchors.centerIn: parent; text: "Hi, i'm Navit!"; color: "Black"; font.pointSize: gui.height/32 }
}
|