tibia-client/modules/game_ruleviolation/ruleviolation.otui

119 lines
2.1 KiB
Plaintext
Raw Normal View History

RVListLabel < Label
background-color: alpha
text-offset: 2 0
focusable: true
$focus:
background-color: #ffffff22
color: #ffffff
RVLabel < Label
anchors.left: parent.left
anchors.right: parent.right
$first:
anchors.top: parent.top
$!first:
margin-top: 10
anchors.top: prev.bottom
RVTextEdit < TextEdit
margin-top: 2
anchors.left: parent.left
anchors.right: parent.right
$first:
anchors.top: parent.top
$!first:
anchors.top: prev.bottom
MainWindow
id: ruleViolationWindow
size: 400 445
text: Rule Violation
RVLabel
2013-01-24 12:33:44 +01:00
!text: tr('Name') .. ':'
RVTextEdit
id: nameText
RVLabel
2013-01-24 12:33:44 +01:00
!text: tr('Statement') .. ':'
RVTextEdit
id: statementText
enabled: false
RVLabel
2013-01-24 12:33:44 +01:00
!text: tr('Reason') .. ':'
TextList
id: reasonList
height: 100
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
margin-top: 2
focusable: false
vertical-scrollbar: reasonListScrollBar
VerticalScrollBar
id: reasonListScrollBar
anchors.top: reasonList.top
anchors.bottom: reasonList.bottom
anchors.right: reasonList.right
step: 14
pixels-scroll: true
RVLabel
2013-01-24 12:33:44 +01:00
!text: tr('Action') .. ':'
TextList
id: actionList
height: 60
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
margin-top: 2
focusable: false
vertical-scrollbar: actionListScrollBar
VerticalScrollBar
id: actionListScrollBar
anchors.top: actionList.top
anchors.bottom: actionList.bottom
anchors.right: actionList.right
step: 14
pixels-scroll: true
CheckBox
id: ipBanCheckBox
!text: tr('IP Address Banishment')
margin-top: 10
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
RVLabel
2013-01-24 12:33:44 +01:00
!text: tr('Comment') .. ':'
RVTextEdit
id: commentText
Button
!text: tr('Cancel')
width: 64
anchors.right: parent.right
anchors.bottom: parent.bottom
2012-07-26 08:10:28 +02:00
@onClick: hide()
Button
!text: tr('Ok')
width: 64
margin-right: 5
anchors.right: prev.left
anchors.bottom: parent.bottom
2012-07-26 08:10:28 +02:00
@onClick: report()