1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
3 import "UIConstants.js" as Const
8 property alias menuHeight: root.boxHeight
9 property alias menuFixed: _menuFixed
10 property Flow menuDynamic
11 property bool contexMenu: false
14 mask.state = "dialog";
22 anchors.top: root.menuDynamic.bottom
23 anchors.topMargin: Const.DEFAULT_MARGIN
25 visible: root.contexMenu
31 anchors.top: root.contexMenu ? line.bottom : root.menuDynamic.bottom
32 anchors.topMargin: Const.DEFAULT_MARGIN
34 x: Const.DEFAULT_MARGIN
36 width: root.width-2*Const.DEFAULT_MARGIN
37 spacing: Const.DEFAULT_MARGIN
40 label: qsTr("Account");
43 if(pageStack.currentPage.title!=qsTr("Account")) {
44 pageStack.push("AccountPage.qml");
50 label: qsTr("Settings");
53 if(pageStack.currentPage.title!=qsTr("Settings")) {
54 pageStack.push("SettingsPage.qml");
60 label: qsTr("About Ubi");