TextEditWindow < MainWindow id: textedit size: 260 105 !text: tr("Edit text") TextEdit id: text anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right 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