2012-05-01 15:06:38 +02:00
|
|
|
BugReportWindow < MainWindow
|
|
|
|
!text: tr('Report Bug')
|
|
|
|
size: 280 250
|
|
|
|
@onEscape: self:hide()
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: bugLabel
|
|
|
|
!text: tr('Please use this dialog to only report bugs. Do not report rule violations here!')
|
|
|
|
text-wrap: true
|
2012-06-07 14:25:41 +02:00
|
|
|
text-auto-resize: true
|
2012-05-01 15:06:38 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
|
|
|
MultilineTextEdit
|
|
|
|
id: bugTextEdit
|
|
|
|
anchors.top: bugLabel.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: sendButton.top
|
|
|
|
margin-top: 4
|
|
|
|
margin-bottom: 8
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: sendButton
|
|
|
|
!text: tr('Send')
|
|
|
|
anchors.bottom: cancelButton.bottom
|
|
|
|
anchors.right: cancelButton.left
|
|
|
|
margin-right: 10
|
|
|
|
width: 80
|
|
|
|
&onClick: BugReport.doReport
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: cancelButton
|
|
|
|
!text: tr('Cancel')
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
width: 80
|
|
|
|
@onClick: self:getParent():hide()
|