mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
animation on progress status account connection + key binding open research in history
This commit is contained in:
parent
55ce938d0b
commit
6ccbdf6ef8
5 changed files with 657 additions and 626 deletions
|
|
@ -67,7 +67,7 @@ ListView {
|
|||
}
|
||||
}
|
||||
|
||||
onAtYEndChanged: if (atYEnd) {
|
||||
onAtYEndChanged: if (atYEnd && chat) {
|
||||
chat.core.lMarkAsRead()
|
||||
}
|
||||
onAtYBeginningChanged: if (atYBeginning) {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ Loader{
|
|||
: contact
|
||||
? contact.core.defaultAddress
|
||||
: ''
|
||||
readonly property string address: SettingsCpp.hideSipAddresses ? UtilsCpp.getUsername(_address) : _address
|
||||
readonly property var address: SettingsCpp.hideSipAddresses ? UtilsCpp.getUsername(_address) : _address
|
||||
property var displayNameObj: UtilsCpp.getDisplayName(_address)
|
||||
property var displayNameVal: account && account.core.displayName
|
||||
? account.core.displayName
|
||||
|
|
@ -126,6 +126,14 @@ Loader{
|
|||
: (contact
|
||||
? contact.core?.presenceIcon
|
||||
: "")
|
||||
RotationAnimator on rotation {
|
||||
running: mainItem.account && mainItem.account.core.registrationState === LinphoneEnums.RegistrationState.Progress
|
||||
direction: RotationAnimator.Clockwise
|
||||
from: 0
|
||||
to: 360
|
||||
loops: Animation.Infinite
|
||||
duration: 10000
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,15 +73,24 @@ Control.Control{
|
|||
RowLayout {
|
||||
anchors.fill: parent
|
||||
Image {
|
||||
sourceSize.width: 11 * DefaultStyle.dp
|
||||
sourceSize.height: 11 * DefaultStyle.dp
|
||||
id: registrationImage
|
||||
sourceSize.width: Math.round(11 * DefaultStyle.dp)
|
||||
sourceSize.height: Math.round(11 * DefaultStyle.dp)
|
||||
smooth: false
|
||||
Layout.preferredWidth: 11 * DefaultStyle.dp
|
||||
Layout.preferredHeight: 11 * DefaultStyle.dp
|
||||
Layout.preferredWidth: Math.round(11 * DefaultStyle.dp)
|
||||
Layout.preferredHeight: Math.round(11 * DefaultStyle.dp)
|
||||
source: presenceBar.isRegistered
|
||||
? mainItem.account.core.presenceIcon
|
||||
: mainItem.account?.core.registrationIcon || ""
|
||||
Layout.leftMargin: 8 * DefaultStyle.dp
|
||||
Layout.leftMargin: Math.round(8 * DefaultStyle.dp)
|
||||
RotationAnimator on rotation {
|
||||
running: mainItem.account && mainItem.account.core.registrationState === LinphoneEnums.RegistrationState.Progress
|
||||
direction: RotationAnimator.Clockwise
|
||||
from: 0
|
||||
to: 360
|
||||
loops: Animation.Infinite
|
||||
duration: 10000
|
||||
}
|
||||
}
|
||||
Text {
|
||||
id: presenceOrRegistrationText
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -334,8 +334,8 @@ AbstractMainPage {
|
|||
SelectedChatView {
|
||||
visible: chat != undefined && chat != null
|
||||
anchors.fill: parent
|
||||
chat: mainItem.selectedChatGui || null
|
||||
onChatChanged: if (mainItem.selectedChatGui !== chat) mainItem.selectedChatGui = chat
|
||||
chat: mainItem.selectedChatGui ? mainItem.selectedChatGui : null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue