fix send from client to server

This commit is contained in:
2026-07-27 22:15:43 -05:00
parent af183530b7
commit a2cd50352d
4 changed files with 49 additions and 6 deletions

View File

@@ -31,4 +31,23 @@ ApplicationWindow {
}
}
ScrollView {
anchors.centerIn: parent
width: 300
height: 150
TextArea {
id: messageArea
placeholderText: "Message..."
wrapMode: TextEdit.WordWrap
}
Button {
text: "Submit"
onClicked: {
tcpClient.send(messageArea.text)
messageArea.clear()
}
}
}
}