Add context menu to copy selected messages

This commit is contained in:
miruka
2019-08-31 23:58:51 -04:00
parent 016f76167f
commit 131a20e9c5
7 changed files with 61 additions and 19 deletions

View File

@@ -27,8 +27,17 @@ ApplicationWindow {
property var theme: null
readonly property alias py: py
readonly property alias pseudoClipboard: pseudoClipboard
Python { id: py }
TextEdit {
id: pseudoClipboard
visible: false
readOnly: true
}
HLoader {
anchors.fill: parent
source: py.ready ? "" : "LoadingScreen.qml"
@@ -38,7 +47,6 @@ ApplicationWindow {
// true makes the initially loaded chat page invisible for some reason
asynchronous: false
id: uiLoader
anchors.fill: parent
scale: py.ready ? 1 : 0.5
source: py.ready ? (Qt.application.arguments[1] || "UI.qml") : ""