mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-02 22:05:45 +02:00
notification icons: new color and placement
GitLab: #1325 Change-Id: I1df248e37c89cea3007856ce4d56ea9e7c5f6b6d
This commit is contained in:
parent
d45f86362b
commit
ef0045c927
2 changed files with 28 additions and 16 deletions
|
@ -254,6 +254,7 @@ Item {
|
|||
property color previewUrlColor: darkTheme ? "#eeeeee" : "#333"
|
||||
property color messageWebViewFooterButtonImageColor: darkTheme ? "#838383" : "#656565"
|
||||
property color chatviewSecondaryInformationColor: "#A7A7A7"
|
||||
property color draftIconColor: "#707070"
|
||||
|
||||
// ChatView Footer
|
||||
property color chatViewFooterListColor: darkTheme ? blackColor : "#E5E5E5"
|
||||
|
|
|
@ -192,11 +192,29 @@ ItemDelegate {
|
|||
}
|
||||
}
|
||||
|
||||
BlinkingLocationIcon {
|
||||
isSharing: true
|
||||
visible: showSharePositionIndicator
|
||||
arrowTimerVisibility: locationIconTimer.showIconArrow
|
||||
color: JamiTheme.draftIconColor
|
||||
containerWidth: 25
|
||||
}
|
||||
|
||||
BlinkingLocationIcon {
|
||||
isSharing: false
|
||||
visible: showSharedPositionIndicator
|
||||
arrowTimerVisibility: locationIconTimer.showIconArrow
|
||||
color: JamiTheme.draftIconColor
|
||||
containerWidth: 25
|
||||
}
|
||||
|
||||
// Draft indicator
|
||||
ResponsiveImage {
|
||||
visible: Draft && !root.highlighted
|
||||
containerWidth: 20
|
||||
|
||||
source: JamiResources.round_edit_24dp_svg
|
||||
color: JamiTheme.primaryForegroundColor
|
||||
color: JamiTheme.draftIconColor
|
||||
}
|
||||
|
||||
// Show that a call is ongoing for groups indicator
|
||||
|
@ -206,20 +224,6 @@ ItemDelegate {
|
|||
color: JamiTheme.primaryForegroundColor
|
||||
}
|
||||
|
||||
BlinkingLocationIcon {
|
||||
isSharing: true
|
||||
visible: showSharePositionIndicator
|
||||
arrowTimerVisibility: locationIconTimer.showIconArrow
|
||||
color: JamiTheme.sharePositionIndicatorColor
|
||||
}
|
||||
|
||||
BlinkingLocationIcon {
|
||||
isSharing: false
|
||||
visible: showSharedPositionIndicator
|
||||
arrowTimerVisibility: locationIconTimer.showIconArrow
|
||||
color: JamiTheme.sharedPositionIndicatorColor
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillHeight: true
|
||||
spacing: 2
|
||||
|
@ -228,6 +232,7 @@ ItemDelegate {
|
|||
Text {
|
||||
id: callStatusText
|
||||
|
||||
visible : text
|
||||
Layout.minimumHeight: 20
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : ""
|
||||
|
@ -239,17 +244,23 @@ ItemDelegate {
|
|||
|
||||
// unread message count
|
||||
Item {
|
||||
|
||||
Layout.preferredWidth: childrenRect.width
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
Layout.alignment: Qt.AlignTop | Qt.AlignRight
|
||||
BadgeNotifier {
|
||||
size: 20
|
||||
size: 16
|
||||
count: UnreadMessagesCount
|
||||
animate: index === 0
|
||||
radius: 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: Title === undefined? "" : Title
|
||||
Accessible.description: LastInteraction === undefined? "" : LastInteraction
|
||||
|
|
Loading…
Add table
Reference in a new issue