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
|
2011-11-03 13:17:10 +01:00
|
|
|
margin.top: 4
|
2011-11-01 17:41:15 +01:00
|
|
|
margin.left: 6
|
2011-11-03 20:07:07 +01:00
|
|
|
tooltip: Options
|
2011-11-16 18:58:42 +01:00
|
|
|
icon: /core_styles/icons/settings.png
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: Options.create()
|
2011-11-01 17:41:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
TopButton
|
2011-11-16 18:24:43 +01:00
|
|
|
id: enterGameButton
|
2011-11-01 17:41:15 +01:00
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin.left: 6
|
2011-11-03 20:07:07 +01:00
|
|
|
tooltip: Enter game with a character
|
2011-11-16 18:58:42 +01:00
|
|
|
icon: /core_styles/icons/login.png
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: |
|
2011-11-03 10:59:11 +01:00
|
|
|
if Game.isOnline() then
|
|
|
|
CharacterList.show()
|
|
|
|
else
|
|
|
|
EnterGame.show()
|
|
|
|
end
|
2011-11-01 17:41:15 +01:00
|
|
|
|
2011-11-16 18:24:43 +01:00
|
|
|
TopButton
|
|
|
|
id: motdButton
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin.left: 6
|
|
|
|
tooltip: Message of the day
|
2011-11-16 18:58:42 +01:00
|
|
|
icon: /core_styles/icons/motd.png
|
2011-11-16 19:08:42 +01:00
|
|
|
visible: false
|
|
|
|
@onClick: EnterGame.displayMotd()
|
2011-11-16 18:24:43 +01:00
|
|
|
|
2011-11-01 17:41:15 +01:00
|
|
|
TopButton
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
2011-11-03 13:17:10 +01:00
|
|
|
margin.top: 4
|
2011-11-01 17:41:15 +01:00
|
|
|
margin.right: 6
|
2011-11-03 20:07:07 +01:00
|
|
|
tooltip: Logout
|
2011-11-16 18:58:42 +01:00
|
|
|
icon: /core_styles/icons/logout.png
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: |
|
2011-11-02 04:02:56 +01:00
|
|
|
if Game.isOnline() then
|
|
|
|
Game.logout(false)
|
|
|
|
else
|
|
|
|
exit()
|
|
|
|
end
|
2011-11-01 17:41:15 +01:00
|
|
|
|
2011-11-03 10:59:11 +01:00
|
|
|
TopButton
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: prev.left
|
2011-11-03 13:17:10 +01:00
|
|
|
margin.top: 4
|
2011-11-03 10:59:11 +01:00
|
|
|
margin.right: 6
|
2011-11-03 20:07:07 +01:00
|
|
|
tooltip: About OTClient
|
2011-11-16 18:58:42 +01:00
|
|
|
icon: /core_styles/icons/about.png
|
2011-11-16 00:47:32 +01:00
|
|
|
@onClick: About.create()
|
2011-11-03 10:59:11 +01:00
|
|
|
|
2011-11-12 01:33:03 +01:00
|
|
|
FrameCounter
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: prev.left
|
|
|
|
margin.top: 8
|
|
|
|
margin.right: 12
|