1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
2 import "UIConstants.js" as Const
10 Component.onCompleted: init()
13 if(Utils.isAuthorized()) {
14 //title = "Hi, "+Utils.name();
16 console.log("not authorized!");
17 pageStack.initialPage = "LoginPage.qml";
22 [qsTr("About Ubi"),false]
25 function menuFun(id) {
26 if(id==qsTr("About Ubi")) {
33 anchors.centerIn: parent
36 source: "images/cloud.png"
37 width: 150; height: 98
47 anchors.horizontalCenter: parent.horizontalCenter
49 pageStack.push("FilesPage.qml");
50 pageStack.currentPage.init();
64 label: qsTr("Account")
65 anchors.horizontalCenter: parent.horizontalCenter
67 pageStack.push("AccountPage.qml");
71 label: qsTr("Settings")
72 anchors.horizontalCenter: parent.horizontalCenter
73 onButtonClicked: pageStack.push("SettingsPage.qml");
77 //onButtonClicked: tip.show("Ala ma kota!")
78 //onButtonClicked: dialog.open()
79 //onButtonClicked: U1.getAccount()
90 //iconSource: "images/ubi50.png"
91 text: qsTr("<b>Ubi</b> 0.9.1<br/>"
92 +"Ubuntu One client for Maemo 5<br/>"
93 +"<small>Copyright © 2012 Michal Kosciesza</small><br/>")
94 onOpened: mask.state = "dialog"
95 onCanceled: mask.state = "idle"
100 anchors.bottom: parent.bottom
101 anchors.bottomMargin: 10
102 anchors.horizontalCenter: parent.horizontalCenter
105 text: "| v0.9.0 beta |"