29 lines
559 B
QML
29 lines
559 B
QML
|
import QtQuick 2.0
|
||
|
import QtQuick.Controls 2.9
|
||
|
import QtQuick.Layouts 1.0
|
||
|
import de.itsblue.omobidisplayapp 1.0
|
||
|
import de.itsblue.bluetoothleuart 1.0
|
||
|
|
||
|
Page {
|
||
|
id: root
|
||
|
|
||
|
ColumnLayout {
|
||
|
anchors.fill: parent
|
||
|
anchors.margins: 10
|
||
|
|
||
|
TextField {
|
||
|
id: newTextInput
|
||
|
Layout.fillWidth: true
|
||
|
Layout.preferredHeight: 50
|
||
|
}
|
||
|
|
||
|
Button {
|
||
|
Layout.fillWidth: true
|
||
|
|
||
|
onClicked: {
|
||
|
backend.bleController.sendData(newTextInput.text)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|