2011-11-01 17:41:15 +01:00
|
|
|
TopPanel
|
|
|
|
id: topMenu
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
focusable: false
|
|
|
|
|
|
|
|
TopButton
|
2011-11-02 04:02:56 +01:00
|
|
|
id: settingsButton
|
2011-11-01 17:41:15 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
margin.top: 3
|
|
|
|
margin.left: 6
|
|
|
|
|
|
|
|
UIWidget
|
|
|
|
size: 16 16
|
2011-11-02 04:02:56 +01:00
|
|
|
image: /core_styles/icons/settings.png
|
2011-11-01 17:41:15 +01:00
|
|
|
anchors.centerIn: parent
|
|
|
|
phantom: true
|
|
|
|
|
|
|
|
TopButton
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin.left: 6
|
2011-11-02 04:02:56 +01:00
|
|
|
onClick: EnterGame.show()
|
2011-11-01 17:41:15 +01:00
|
|
|
|
|
|
|
UIWidget
|
|
|
|
size: 16 16
|
2011-11-02 04:02:56 +01:00
|
|
|
image: /core_styles/icons/login.png
|
2011-11-01 17:41:15 +01:00
|
|
|
anchors.centerIn: parent
|
|
|
|
phantom: true
|
|
|
|
|
|
|
|
TopButton
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin.top: 3
|
|
|
|
margin.right: 6
|
2011-11-02 04:02:56 +01:00
|
|
|
onClick: |
|
|
|
|
if Game.isOnline() then
|
|
|
|
Game.logout(false)
|
|
|
|
else
|
|
|
|
exit()
|
|
|
|
end
|
2011-11-01 17:41:15 +01:00
|
|
|
|
|
|
|
UIWidget
|
|
|
|
size: 16 16
|
2011-11-02 04:02:56 +01:00
|
|
|
image: /core_styles/icons/logout.png
|
2011-11-01 17:41:15 +01:00
|
|
|
anchors.centerIn: parent
|
|
|
|
phantom: true
|