violationwindow.otui

main 40 lines · 994 bytes Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1MainWindow
2 id: ignoreWindow
3 !text: tr('Report Rule Violation')
4 size: 300 240
5
6 Label
7 !text: tr('Please state the rule violation in one clear sentence and wait for a reply from a gamemaster. Please note that your message will disappear if you close the channel.')
8 text-wrap: true
9 text-auto-resize: true
10 anchors.left: parent.left
11 anchors.right: parent.right
12 anchors.top: parent.top
13
14 TextEdit
15 id: text
16 text-wrap: true
17 multiline: true
18 anchors.top: prev.bottom
19 anchors.bottom: next.top
20 anchors.left: parent.left
21 anchors.right: parent.right
22 margin: 8 0
23 max-length: 255
24
25 Button
26 id: buttonOk
27 !text: tr('Ok')
28 width: 64
29 anchors.right: next.left
30 anchors.bottom: parent.bottom
31 margin-right: 10
32 @onClick: self:getParent():onEnter()
33
34 Button
35 id: buttonCancel
36 !text: tr('Cancel')
37 width: 64
38 anchors.right: parent.right
39 anchors.bottom: parent.bottom
40 @onClick: self:getParent():onEscape()
Top