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
10 property alias menuFixed: _menuFixed
11 property Flow menuDynamic
13 property bool contexMenu: false
16 mask.state = "dialog";
24 anchors.top: root.menuDynamic.bottom
25 anchors.topMargin: Const.DEFAULT_MARGIN
27 visible: root.contexMenu
33 //y: root.height-root.menuHeight+1*Const.DEFAULT_MARGIN
35 anchors.top: root.contexMenu ? line.bottom : root.menuDynamic.bottom
36 anchors.topMargin: Const.DEFAULT_MARGIN
38 x: Const.DEFAULT_MARGIN
40 width: root.width-2*Const.DEFAULT_MARGIN
41 spacing: Const.DEFAULT_MARGIN
44 label: qsTr("Account");
47 if(pageStack.currentPage.title!=qsTr("Account")) {
48 pageStack.push("AccountPage.qml");
54 label: qsTr("Settings");
57 if(pageStack.currentPage.title!=qsTr("Settings")) {
58 pageStack.push("SettingsPage.qml");
64 label: qsTr("About Ubi");