First commit
This commit is contained in:
		@@ -0,0 +1,53 @@
 | 
			
		||||
TextWindow < MainWindow
 | 
			
		||||
  id: textWindow
 | 
			
		||||
  size: 300 280
 | 
			
		||||
 | 
			
		||||
  Item
 | 
			
		||||
    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
 | 
			
		||||
    text-auto-resize: true
 | 
			
		||||
    text-align: left
 | 
			
		||||
    text-wrap: true
 | 
			
		||||
 | 
			
		||||
  MultilineTextEdit
 | 
			
		||||
    id: text
 | 
			
		||||
    anchors.top: textScroll.top
 | 
			
		||||
    anchors.left: parent.left
 | 
			
		||||
    anchors.right: textScroll.left
 | 
			
		||||
    anchors.bottom: textScroll.bottom
 | 
			
		||||
    vertical-scrollbar: textScroll
 | 
			
		||||
    text-wrap: true
 | 
			
		||||
 | 
			
		||||
  VerticalScrollBar
 | 
			
		||||
    id: textScroll
 | 
			
		||||
    anchors.top: description.bottom
 | 
			
		||||
    anchors.bottom: okButton.top
 | 
			
		||||
    anchors.right: parent.right
 | 
			
		||||
    margin-top: 10
 | 
			
		||||
    margin-bottom: 10
 | 
			
		||||
    step: 16
 | 
			
		||||
    pixels-scroll: true
 | 
			
		||||
 | 
			
		||||
  Button
 | 
			
		||||
    id: okButton
 | 
			
		||||
    !text: tr('Ok')
 | 
			
		||||
    anchors.bottom: parent.bottom
 | 
			
		||||
    anchors.right: next.left
 | 
			
		||||
    margin-right: 10
 | 
			
		||||
    width: 60
 | 
			
		||||
 | 
			
		||||
  Button
 | 
			
		||||
    id: cancelButton
 | 
			
		||||
    !text: tr('Cancel')
 | 
			
		||||
    anchors.bottom: parent.bottom
 | 
			
		||||
    anchors.right: parent.right
 | 
			
		||||
    width: 60
 | 
			
		||||
		Reference in New Issue
	
	Block a user