35 lines
667 B
QML
35 lines
667 B
QML
import QtQuick 2.6
|
|
import RustCode 1.0
|
|
|
|
Rectangle {
|
|
property alias mouseArea: mouseArea
|
|
property alias textEdit: textEdit
|
|
|
|
Simple {
|
|
id: rust
|
|
}
|
|
|
|
width: 360
|
|
height: 360
|
|
|
|
MouseArea {
|
|
id: mouseArea
|
|
anchors.fill: parent
|
|
}
|
|
|
|
TextEdit {
|
|
id: textEdit
|
|
text: rust.message
|
|
verticalAlignment: Text.AlignVCenter
|
|
anchors.top: parent.top
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.topMargin: 20
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
anchors.margins: -10
|
|
color: "transparent"
|
|
border.width: 1
|
|
}
|
|
}
|
|
}
|