From 6c7a163197d5950f6abb8b78ce136c481db92763 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 28 Jan 2013 19:20:01 -0200 Subject: [PATCH] Add missing file --- modules/game_console/violationwindow.otui | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 modules/game_console/violationwindow.otui diff --git a/modules/game_console/violationwindow.otui b/modules/game_console/violationwindow.otui new file mode 100644 index 00000000..0b6c14d8 --- /dev/null +++ b/modules/game_console/violationwindow.otui @@ -0,0 +1,38 @@ +MainWindow + id: ignoreWindow + !text: tr('Report Rule Violation') + size: 300 240 + + Label + !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.') + text-wrap: true + text-auto-resize: true + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + + TextEdit + id: text + multiline: true + anchors.top: prev.bottom + anchors.bottom: next.top + anchors.left: parent.left + anchors.right: parent.right + margin: 8 0 + + Button + id: buttonOk + !text: tr('Ok') + width: 64 + anchors.right: next.left + anchors.bottom: parent.bottom + margin-right: 10 + @onClick: self:getParent():onEnter() + + Button + id: buttonCancel + !text: tr('Cancel') + width: 64 + anchors.right: parent.right + anchors.bottom: parent.bottom + @onClick: self:getParent():onEscape() \ No newline at end of file