Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 1.1
- import com.meego 1.0
- PageStackWindow {
- id: appWindow
- initialPage: mainPage
- MainPage{id: mainPage}
- ToolBarLayout {
- id: commonTools
- visible: true
- anchors.bottom: parent.bottom;
- ToolIcon {
- platformIconId: "toolbar-view-menu";
- anchors.right: parent===undefined ? undefined : parent.right
- onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close()
- }
- ButtonRow {
- style: TabButtonStyle { }
- anchors.left: parent.left;
- TabButton {
- text: "Main"
- tab: mainPage
- }
- TabButton {
- text: "Map"
- tab: mapPage
- }
- }
- }
- Menu {
- id: myMenu
- visualParent: pageStack
- MenuLayout {
- MenuItem { text: "Sample menu item" }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement