From 49f42df3107f5ee40c5a2551708076d5afe44e20 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 21 Apr 2017 15:54:51 +0200 Subject: [PATCH] feat(ui/views/App/Calls/Incall): add tooltips on pending requests --- linphone-desktop/assets/languages/en.ts | 4 ++++ linphone-desktop/assets/languages/fr.ts | 4 ++++ linphone-desktop/ui/views/App/Calls/Incall.qml | 10 ++++++++++ 3 files changed, 18 insertions(+) diff --git a/linphone-desktop/assets/languages/en.ts b/linphone-desktop/assets/languages/en.ts index 466a042ae..f678511d6 100644 --- a/linphone-desktop/assets/languages/en.ts +++ b/linphone-desktop/assets/languages/en.ts @@ -656,6 +656,10 @@ Server url not configured. acceptVideoDescription Your contact would like to turn on video. + + pendingRequestLabel + Please to wait, a request is pending. + InviteFriends diff --git a/linphone-desktop/assets/languages/fr.ts b/linphone-desktop/assets/languages/fr.ts index 6bff1d55f..76d33c0e4 100644 --- a/linphone-desktop/assets/languages/fr.ts +++ b/linphone-desktop/assets/languages/fr.ts @@ -656,6 +656,10 @@ Url du serveur non configurée. acceptVideoDescription Votre correspondant souhaite ajouter la vidéo. + + pendingRequestLabel + Merci de patienter, une requête est en attente. + InviteFriends diff --git a/linphone-desktop/ui/views/App/Calls/Incall.qml b/linphone-desktop/ui/views/App/Calls/Incall.qml index 81f87e1c0..06c0a605f 100644 --- a/linphone-desktop/ui/views/App/Calls/Incall.qml +++ b/linphone-desktop/ui/views/App/Calls/Incall.qml @@ -317,6 +317,11 @@ Rectangle { updating: call.updating onClicked: call.videoEnabled = !enabled + + TooltipArea { + text: qsTr('pendingRequestLabel') + visible: parent.updating + } } ActionButton { @@ -366,6 +371,11 @@ Rectangle { updating: call.updating onClicked: call.pausedByUser = enabled + + TooltipArea { + text: qsTr('pendingRequestLabel') + visible: parent.updating + } } ActionButton {