2012-05-01 02:20:27 +02:00
|
|
|
TextWindow < MainWindow
|
|
|
|
id: textWindow
|
2013-01-16 17:20:17 +01:00
|
|
|
size: 300 280
|
2012-05-01 02:20:27 +02:00
|
|
|
|
2013-01-16 17:20:17 +01:00
|
|
|
Item
|
2012-05-01 02:20:27 +02:00
|
|
|
id: textItem
|
|
|
|
virtual: true
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: description
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: textItem.right
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-left: 8
|
2013-01-16 17:20:17 +01:00
|
|
|
text-auto-resize: true
|
|
|
|
text-align: left
|
|
|
|
text-wrap: true
|
2012-05-01 02:20:27 +02:00
|
|
|
|
|
|
|
MultilineTextEdit
|
|
|
|
id: text
|
2013-01-16 17:20:17 +01:00
|
|
|
anchors.top: textScroll.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: textScroll.left
|
|
|
|
anchors.bottom: textScroll.bottom
|
|
|
|
vertical-scrollbar: textScroll
|
2012-05-01 02:20:27 +02:00
|
|
|
|
2012-12-29 18:41:14 +01:00
|
|
|
VerticalScrollBar
|
2012-09-30 05:16:15 +02:00
|
|
|
id: textScroll
|
2013-01-16 17:20:17 +01:00
|
|
|
anchors.top: description.bottom
|
|
|
|
anchors.bottom: okButton.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-top: 10
|
|
|
|
margin-bottom: 10
|
|
|
|
step: 16
|
2012-09-30 05:16:15 +02:00
|
|
|
pixels-scroll: true
|
|
|
|
|
2012-05-01 02:20:27 +02:00
|
|
|
Button
|
2013-01-16 17:20:17 +01:00
|
|
|
id: okButton
|
|
|
|
!text: tr('Ok')
|
|
|
|
anchors.bottom: parent.bottom
|
2012-05-01 02:20:27 +02:00
|
|
|
anchors.right: next.left
|
2013-01-16 17:20:17 +01:00
|
|
|
margin-right: 10
|
2012-05-01 02:20:27 +02:00
|
|
|
width: 60
|
|
|
|
|
|
|
|
Button
|
2013-01-16 17:20:17 +01:00
|
|
|
id: cancelButton
|
|
|
|
!text: tr('Cancel')
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
2012-12-29 18:41:14 +01:00
|
|
|
width: 60
|