2013-07-04 18:03:21 +02:00
|
|
|
IgnoreListLabel < Label
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
background-color: alpha
|
|
|
|
text-offset: 2 0
|
|
|
|
focusable: true
|
|
|
|
phantom: false
|
|
|
|
|
|
|
|
$focus:
|
|
|
|
background-color: #ffffff22
|
|
|
|
color: #ffffff
|
|
|
|
|
|
|
|
WhiteListLabel < Label
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
background-color: alpha
|
|
|
|
text-offset: 2 0
|
|
|
|
focusable: true
|
|
|
|
phantom: false
|
|
|
|
|
|
|
|
$focus:
|
|
|
|
background-color: #ffffff22
|
|
|
|
color: #ffffff
|
|
|
|
|
|
|
|
|
|
|
|
MainWindow
|
|
|
|
id: communicationWindow
|
|
|
|
!text: tr('Ignore List')
|
|
|
|
size: 515 410
|
|
|
|
@onEscape: self:destroy()
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: checkboxUseIgnoreList
|
|
|
|
!text: tr('Activate ignorelist')
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: parent.top
|
|
|
|
width: 180
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Label
|
2018-01-03 23:38:53 +01:00
|
|
|
!text: tr('Ignored Players') .. ':'
|
2013-07-04 18:03:21 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 10
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
TextList
|
|
|
|
id: ignoreList
|
|
|
|
vertical-scrollbar: ignoreListScrollBar
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
height: 150
|
|
|
|
width: 230
|
|
|
|
margin-bottom: 10
|
|
|
|
margin-top: 3
|
|
|
|
padding: 1
|
|
|
|
focusable: false
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
TextEdit
|
|
|
|
id: ignoreNameEdit
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
width: 110
|
|
|
|
margin-top: 5
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Button
|
|
|
|
id: buttonIgnoreAdd
|
|
|
|
!text: tr('Add')
|
|
|
|
width: 48
|
|
|
|
height: 20
|
|
|
|
margin-left: 5
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Button
|
|
|
|
id: buttonIgnoreRemove
|
|
|
|
!text: tr('Remove')
|
|
|
|
width: 64
|
|
|
|
height: 20
|
|
|
|
margin-left: 5
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
|
|
|
|
Label
|
|
|
|
!text: tr('Global ignore settings')
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 20
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: checkboxIgnorePrivateMessages
|
|
|
|
!text: tr('Ignore Private Messages')
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
width: 180
|
|
|
|
margin-top: 5
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
CheckBox
|
|
|
|
id: checkboxIgnoreYelling
|
|
|
|
!text: tr('Ignore Yelling')
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
width: 180
|
|
|
|
margin-top: 5
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
CheckBox
|
|
|
|
id: checkboxUseWhiteList
|
|
|
|
!text: tr('Activate whitelist')
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: ignoreList.right
|
|
|
|
margin-left: 20
|
|
|
|
width: 180
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Label
|
2018-01-03 23:38:53 +01:00
|
|
|
!text: tr('Allowed Players') .. ':'
|
2013-07-04 18:03:21 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-top: 10
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
TextList
|
|
|
|
id: whiteList
|
|
|
|
vertical-scrollbar: whiteListScrollBar
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
height: 150
|
|
|
|
width: 230
|
|
|
|
margin-bottom: 10
|
|
|
|
margin-top: 3
|
|
|
|
padding: 1
|
|
|
|
focusable: false
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
TextEdit
|
|
|
|
id: whitelistNameEdit
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
width: 110
|
|
|
|
margin-top: 5
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Button
|
|
|
|
id: buttonWhitelistAdd
|
|
|
|
!text: tr('Add')
|
|
|
|
width: 48
|
|
|
|
height: 20
|
|
|
|
margin-left: 5
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Button
|
|
|
|
id: buttonWhitelistRemove
|
|
|
|
!text: tr('Remove')
|
|
|
|
width: 64
|
|
|
|
height: 20
|
|
|
|
margin-left: 5
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Label
|
|
|
|
!text: tr('Global whitelist settings')
|
|
|
|
anchors.left: whiteList.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 20
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: checkboxAllowVIPs
|
|
|
|
!text: tr('Allow VIPs to message you')
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
width: 180
|
|
|
|
margin-top: 5
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Panel
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
height: 30
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Panel
|
|
|
|
size: 160 30
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
Button
|
|
|
|
id: buttonSave
|
|
|
|
!text: tr('Save')
|
|
|
|
width: 75
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: buttonCancel
|
|
|
|
!text: tr('Cancel')
|
|
|
|
width: 75
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 10
|
|
|
|
|
|
|
|
VerticalScrollBar
|
|
|
|
id: ignoreListScrollBar
|
|
|
|
anchors.top: ignoreList.top
|
|
|
|
anchors.bottom: ignoreList.bottom
|
|
|
|
anchors.right: ignoreList.right
|
|
|
|
step: 14
|
|
|
|
pixels-scroll: true
|
2014-01-18 15:09:26 +01:00
|
|
|
|
2013-07-04 18:03:21 +02:00
|
|
|
VerticalScrollBar
|
|
|
|
id: whiteListScrollBar
|
|
|
|
anchors.top: whiteList.top
|
|
|
|
anchors.bottom: whiteList.bottom
|
|
|
|
anchors.right: whiteList.right
|
|
|
|
step: 14
|
|
|
|
pixels-scroll: true
|