diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-01-29 22:23:13 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-03 16:26:52 +0100 |
| commit | 2a237ac200a60daab490b0e1339a385bcc817d8c (patch) | |
| tree | b565f43014122eb92f4d4f7c5da8b8a48ddeb2bb /ChatView.qml | |
| download | yachat6-2a237ac200a60daab490b0e1339a385bcc817d8c.tar.gz | |
First commit
Diffstat (limited to 'ChatView.qml')
| -rw-r--r-- | ChatView.qml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ChatView.qml b/ChatView.qml new file mode 100644 index 0000000..3c5706a --- /dev/null +++ b/ChatView.qml @@ -0,0 +1,46 @@ +import QtQuick 2.12 +import QtQuick.Window 2.12 +import QtQuick.Controls 2.0 +import QtQuick.Layouts 1.0 + +Page +{ + property string destination + + EncryptionPopup { + id: enctype + } + + header: CustToolbar + { + title: destination + } + + footer: Pane + { + RowLayout + { + anchors.fill: parent + + TextArea + { + id: textarea + wrapMode: TextArea.Wrap + Layout.fillWidth: true + placeholderText: qsTr("Compose message") + } + + Button + { + text: qsTr("Enc") + onClicked: enctype.open() + } + + Button + { + text: qsTr("Send") + enabled: textarea.length > 1 + } + } + } +} |
