Try something for the too large context menu
This commit is contained in:
parent
22c30f334d
commit
d9991cce79
16 changed files with 1314 additions and 1067 deletions
|
@ -78,6 +78,13 @@ ListItem {
|
||||||
chatView.manuallyScrolledToBottom = false;
|
chatView.manuallyScrolledToBottom = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: messageOptionsDrawer
|
||||||
|
onCloseRequested: {
|
||||||
|
messageListItem.highlighted = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: contextMenuLoader
|
id: contextMenuLoader
|
||||||
active: false
|
active: false
|
||||||
|
@ -110,18 +117,21 @@ ListItem {
|
||||||
onClicked: messageListItem.editMessage()
|
onClicked: messageListItem.editMessage()
|
||||||
text: qsTr("Edit Message")
|
text: qsTr("Edit Message")
|
||||||
}
|
}
|
||||||
MenuItem {
|
|
||||||
onClicked: {
|
|
||||||
Clipboard.text = Functions.getMessageText(myMessage, true, userInformation.id, true);
|
|
||||||
}
|
|
||||||
text: qsTr("Copy Message to Clipboard")
|
|
||||||
}
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
page.toggleMessageSelection(myMessage);
|
page.toggleMessageSelection(myMessage);
|
||||||
}
|
}
|
||||||
text: qsTr("Select Message")
|
text: qsTr("Select Message")
|
||||||
}
|
}
|
||||||
|
MenuItem {
|
||||||
|
onClicked: {
|
||||||
|
messageOptionsDrawer.myMessage = myMessage;
|
||||||
|
messageOptionsDrawer.userInformation = userInformation;
|
||||||
|
messageListItem.highlighted = true;
|
||||||
|
messageOptionsDrawer.open = true;
|
||||||
|
}
|
||||||
|
text: qsTr("More Options...")
|
||||||
|
}
|
||||||
MenuItem {
|
MenuItem {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (myMessage.is_pinned) {
|
if (myMessage.is_pinned) {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -12,7 +12,7 @@ Name: harbour-fernschreiber
|
||||||
|
|
||||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
License: LICENSE
|
License: LICENSE
|
||||||
URL: http://werkwolf.eu/
|
URL: http://werkwolf.eu/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Name: harbour-fernschreiber
|
Name: harbour-fernschreiber
|
||||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
||||||
Version: 0.7.1
|
Version: 0.7.1
|
||||||
Release: 2
|
Release: 3
|
||||||
# The contents of the Group field should be one of the groups listed here:
|
# The contents of the Group field should be one of the groups listed here:
|
||||||
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
||||||
Group: Qt/Qt
|
Group: Qt/Qt
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Standort (%1/%2)</translation>
|
<translation>Standort (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Nachricht in die Zwischenablage kopieren</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -991,6 +999,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Nachricht losheften</translation>
|
<translation>Nachricht losheften</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Location (%1/%2)</translation>
|
<translation>Location (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Copy Message to Clipboard</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -993,6 +1001,10 @@ messages</numerusform>
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Unpin Message</translation>
|
<translation>Unpin Message</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Ubicación (%1/%2)</translation>
|
<translation>Ubicación (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Copiar</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -991,6 +999,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Desanclar mensaje</translation>
|
<translation>Desanclar mensaje</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Sijainti (%1/%2)</translation>
|
<translation>Sijainti (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Kopioi viesti leikepöydälle</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -992,6 +1000,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Poista viestin kiinnitys</translation>
|
<translation>Poista viestin kiinnitys</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -425,6 +425,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -977,6 +985,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Posizione(%1/%2)</translation>
|
<translation>Posizione(%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Copia messaggio nella clipboard</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -991,6 +999,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Togli messaggio in evidenza</translation>
|
<translation>Togli messaggio in evidenza</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -445,6 +445,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Lokalizacja (%1/%2)</translation>
|
<translation>Lokalizacja (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Skopiuj wiadomość do schowka</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -1005,6 +1013,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Odepnij wiadomość</translation>
|
<translation>Odepnij wiadomość</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -445,6 +445,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Местоположение (%1/%2)</translation>
|
<translation>Местоположение (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Скопировать в буфер обмена</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -1008,6 +1016,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Открепить сообщение</translation>
|
<translation>Открепить сообщение</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -445,6 +445,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Poloha (%1/%2)</translation>
|
<translation>Poloha (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Kopírovať správu do schránky</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -1005,6 +1013,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Odopnúť správu</translation>
|
<translation>Odopnúť správu</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>Plats (%1/%2)</translation>
|
<translation>Plats (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Kopiera meddelandet till urklipp</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -991,6 +999,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>Lösgör meddelandet</translation>
|
<translation>Lösgör meddelandet</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -425,6 +425,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation>位置 (%1/%2)</translation>
|
<translation>位置 (%1/%2)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">复制消息到剪切板</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -978,6 +986,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation>取消置顶</translation>
|
<translation>取消置顶</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
|
@ -435,6 +435,14 @@
|
||||||
<source>Location (%1/%2)</source>
|
<source>Location (%1/%2)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Copy Message to Clipboard</source>
|
||||||
|
<translation type="unfinished">Copy Message to Clipboard</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Message Options</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>ChatSelectionPage</name>
|
<name>ChatSelectionPage</name>
|
||||||
|
@ -991,6 +999,10 @@
|
||||||
<source>Unpin Message</source>
|
<source>Unpin Message</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>More Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MessageListViewItemSimple</name>
|
<name>MessageListViewItemSimple</name>
|
||||||
|
|
Loading…
Reference in a new issue