5 SystemPalette { id: palette }
10 console.log("root height changed, height: " + height + ", width: " + width)
14 console.log("root state changed, state: " + state)
19 anchors { left: parent.left; right: panel.left; top: parent.top; bottom: parent.bottom }
24 x: panelSelectorButtonsBar.x
25 anchors.top: parent.top
26 width: (parent.width - panelSelectorButtonsBar.width ) / 2
30 id: panelSelectorButtonsBar
32 anchors { bottom: parent.bottom; right: parent.right }
33 width: root.height / 4
36 onHeightChanged: { console.log("panelSelectorButtonsBar, h:" + height) }
37 onWidthChanged: { console.log("panelSelectorButtonsBar, w:" + width) }
40 id: panelSelectorButtons
41 anchors { fill: parent; leftMargin: 1 }
48 image: "qrc:/res/user_info.png"
50 onButtonClicked: { panel.setView("qrc:/ProfileView.qml") }
55 image: "qrc:/res/friend_list.png"
57 onButtonClicked: { panel.setView("qrc:/FriendsView.qml") }
62 image: "qrc:/res/routing.png"
64 onButtonClicked: { panel.setView("qrc:/RoutingView.qml") }
69 image: "qrc:/res/location_search.png"
71 onButtonClicked: { panel.setView("qrc:/LocationsView.qml") }
87 anchors.bottom: panelSelectorButtonsBar.top
91 anchors.left: root.left
92 anchors.right: root.right
95 target: panelSelectorButtonsBar
97 height: root.width / 4
100 target: panelSelectorButtons