2012-01-08 23:32:55 +01:00
|
|
|
ConsoleLabel < UILabel
|
2011-11-04 00:34:32 +01:00
|
|
|
font: verdana-11px-antialised
|
|
|
|
height: 14
|
|
|
|
color: yellow
|
2011-11-03 21:54:53 +01:00
|
|
|
|
2012-01-13 00:47:31 +01:00
|
|
|
ConsoleTabBar < TabBar
|
|
|
|
ConsoleTabBarPanel < TabBarPanel
|
|
|
|
layout:
|
|
|
|
type: verticalBox
|
|
|
|
align-bottom: true
|
|
|
|
ConsoleTabBarButton < TabBarButton
|
2012-01-10 23:13:40 +01:00
|
|
|
|
2011-11-03 21:54:53 +01:00
|
|
|
Panel
|
2012-01-08 23:32:55 +01:00
|
|
|
id: consolePanel
|
2011-11-03 21:54:53 +01:00
|
|
|
anchors.fill: parent
|
|
|
|
|
2012-01-13 00:47:31 +01:00
|
|
|
ConsoleButton
|
|
|
|
id: prevChannelButton
|
|
|
|
icon: /core_styles/icons/leftarrow.png
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin-left: 6
|
|
|
|
margin-top: 6
|
|
|
|
|
|
|
|
ConsoleTabBar
|
|
|
|
id: consoleTabBar
|
|
|
|
height: 20
|
|
|
|
anchors.left: prev.right
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.right: next.left
|
|
|
|
margin-left: 5
|
|
|
|
|
|
|
|
ConsoleButton
|
|
|
|
id: nextChannelButton
|
|
|
|
icon: /core_styles/icons/rightarrow.png
|
2012-01-14 02:37:15 +01:00
|
|
|
anchors.right: next.left
|
2012-01-13 00:47:31 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
margin-right: 5
|
|
|
|
margin-top: 6
|
|
|
|
|
2012-01-14 02:37:15 +01:00
|
|
|
ConsoleButton
|
|
|
|
id: closeChannelButton
|
2012-02-03 05:32:39 +01:00
|
|
|
tooltip: Close this channel (Ctrl+E)
|
2012-01-14 02:37:15 +01:00
|
|
|
icon: /core_styles/icons/closechannel.png
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.top: parent.top
|
2012-02-03 05:32:39 +01:00
|
|
|
enabled: false
|
2012-01-14 02:37:15 +01:00
|
|
|
margin-right: 5
|
|
|
|
margin-top: 6
|
2012-02-03 05:32:39 +01:00
|
|
|
@onClick: Console.removeCurrentTab()
|
2012-01-14 02:37:15 +01:00
|
|
|
|
|
|
|
ConsoleButton
|
|
|
|
id: channelsButton
|
2012-02-03 05:32:39 +01:00
|
|
|
tooltip: Open new channel (Ctrl+O)
|
2012-01-14 02:37:15 +01:00
|
|
|
icon: /core_styles/icons/channels.png
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin-right: 5
|
|
|
|
margin-top: 6
|
|
|
|
@onClick: Game.requestChannels()
|
|
|
|
|
2011-11-03 21:54:53 +01:00
|
|
|
Panel
|
2012-01-08 23:32:55 +01:00
|
|
|
id: consoleBuffer
|
2012-01-13 00:47:31 +01:00
|
|
|
anchors.top: prev.bottom
|
2011-11-03 21:54:53 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2012-01-08 23:32:55 +01:00
|
|
|
anchors.bottom: consoleLineEdit.top
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-right: 6
|
|
|
|
margin-left: 6
|
2012-01-13 00:47:31 +01:00
|
|
|
margin-bottom: 4
|
|
|
|
margin-top: 4
|
2011-11-03 21:54:53 +01:00
|
|
|
focusable: false
|
|
|
|
|
2012-01-13 00:47:31 +01:00
|
|
|
ConsoleButton
|
2012-01-10 23:13:40 +01:00
|
|
|
id: sayModeButton
|
2012-01-13 00:47:31 +01:00
|
|
|
icon: /core_styles/icons/say.png
|
2012-02-03 10:59:04 +01:00
|
|
|
tooltip: Adjust volume
|
|
|
|
&sayMode: 2
|
2012-01-10 23:13:40 +01:00
|
|
|
size: 20 20
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin-left: 6
|
|
|
|
margin-bottom: 6
|
2012-02-03 10:59:04 +01:00
|
|
|
@onClick: Console.sayModeChange()
|
2012-01-10 23:13:40 +01:00
|
|
|
|
2011-11-03 21:54:53 +01:00
|
|
|
LineEdit
|
2012-01-08 23:32:55 +01:00
|
|
|
id: consoleLineEdit
|
2012-01-10 23:13:40 +01:00
|
|
|
anchors.left: sayModeButton.right
|
2011-11-03 21:54:53 +01:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-right: 6
|
|
|
|
margin-left: 6
|
|
|
|
margin-bottom: 6
|
2012-01-13 21:37:44 +01:00
|
|
|
always-active: true
|
|
|
|
focusable: false
|