diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-23 03:23:27 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-23 03:23:37 +0100 |
| commit | 4e5e0ba604879c140c1483188ffbc818e822859f (patch) | |
| tree | c37d8fc400386705aebdc649105ea3f87e1caf66 /ChatView.qml | |
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..3da0998 --- /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: "Compose message" + } + + Button + { + text: qsTr("enc") + onClicked: enctype.open() + } + + Button + { + text: qsTr("Send") + enabled: textarea.length > 1 + } + } + } +} |
