2012-01-14 02:37:15 +01:00
|
|
|
ChannelListLabel < Label
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
background-color: alpha
|
|
|
|
text-offset: 2 0
|
|
|
|
focusable: true
|
|
|
|
|
|
|
|
$focus:
|
|
|
|
background-color: #ffffff22
|
|
|
|
color: #ffffff
|
|
|
|
|
|
|
|
MainWindow
|
|
|
|
id: channelsWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Channels')
|
2012-02-03 05:32:39 +01:00
|
|
|
size: 250 238
|
2012-01-14 02:37:15 +01:00
|
|
|
@onEscape: self:destroy()
|
|
|
|
|
|
|
|
TextList
|
|
|
|
id: channelList
|
2012-04-07 00:14:39 +02:00
|
|
|
vertical-scrollbar: channelsScrollBar
|
2012-01-14 02:37:15 +01:00
|
|
|
anchors.fill: parent
|
|
|
|
anchors.bottom: next.top
|
|
|
|
margin-bottom: 10
|
|
|
|
padding: 1
|
|
|
|
focusable: false
|
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Label
|
2012-02-03 05:32:39 +01:00
|
|
|
id: openPrivateChannelWithLabel
|
2018-01-03 23:38:53 +01:00
|
|
|
!text: tr('Open a private message channel') .. ':'
|
2012-02-03 05:32:39 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: next.top
|
|
|
|
text-align: center
|
|
|
|
margin-bottom: 2
|
|
|
|
|
2012-03-31 15:43:01 +02:00
|
|
|
TextEdit
|
2012-02-03 05:32:39 +01:00
|
|
|
id: openPrivateChannelWith
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: next.top
|
|
|
|
margin-bottom: 10
|
|
|
|
|
2012-01-14 02:37:15 +01:00
|
|
|
Button
|
|
|
|
id: buttonOpen
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Open')
|
2012-01-14 02:37:15 +01:00
|
|
|
width: 64
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin-right: 10
|
|
|
|
@onClick: self:getParent():onEnter()
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: buttonCancel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Cancel')
|
2012-01-14 02:37:15 +01:00
|
|
|
width: 64
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
2012-03-18 14:34:39 +01:00
|
|
|
@onClick: self:getParent():destroy()
|
2012-04-07 00:14:39 +02:00
|
|
|
|
|
|
|
VerticalScrollBar
|
|
|
|
id: channelsScrollBar
|
|
|
|
anchors.top: channelList.top
|
|
|
|
anchors.bottom: channelList.bottom
|
|
|
|
anchors.right: channelList.right
|
|
|
|
step: 14
|
|
|
|
pixels-scroll: true
|