mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
darkmode: UI theme make up
1. SimpleMessageDialog (Password changing) 2. SidePanelTabBar (Inivitation & Conversation tabs) 3. Contact search status rect Change-Id: I3cf6aecde5a3ab840c351cfd6e18d7ce9fbfa3cc
This commit is contained in:
parent
4715571d1a
commit
bbcf0e4d2f
4 changed files with 14 additions and 13 deletions
|
@ -53,6 +53,8 @@ BaseDialog {
|
|||
+ JamiTheme.preferredMarginSize))
|
||||
implicitHeight: JamiTheme.preferredDialogHeight / 2 - JamiTheme.preferredMarginSize
|
||||
|
||||
color: JamiTheme.secondaryBackgroundColor
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
|
@ -67,6 +69,7 @@ BaseDialog {
|
|||
wrapMode: Text.WordWrap
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: JamiTheme.textColor
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
|
@ -166,15 +166,15 @@ Rectangle {
|
|||
hoverEnabled: true
|
||||
|
||||
onReleased: {
|
||||
searchStatusRect.color = JamiTheme.normalButtonColor
|
||||
searchStatusRect.color = Qt.binding(function(){return JamiTheme.normalButtonColor})
|
||||
}
|
||||
|
||||
onEntered: {
|
||||
searchStatusRect.color = JamiTheme.hoverColor
|
||||
searchStatusRect.color = Qt.binding(function(){return JamiTheme.hoverColor})
|
||||
}
|
||||
|
||||
onExited: {
|
||||
searchStatusRect.color = JamiTheme.backgroundColor
|
||||
searchStatusRect.color = Qt.binding(function(){return JamiTheme.backgroundColor})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,13 +154,13 @@ TabBar {
|
|||
selectTab(SidePanelTabBar.Conversations)
|
||||
}
|
||||
onReleased: {
|
||||
buttonRectOne.color = JamiTheme.backgroundColor
|
||||
buttonRectOne.color = Qt.binding(function(){return JamiTheme.backgroundColor})
|
||||
}
|
||||
onEntered: {
|
||||
buttonRectOne.color = JamiTheme.hoverColor
|
||||
buttonRectOne.color = Qt.binding(function(){return JamiTheme.hoverColor})
|
||||
}
|
||||
onExited: {
|
||||
buttonRectOne.color = JamiTheme.backgroundColor
|
||||
buttonRectOne.color = Qt.binding(function(){return JamiTheme.backgroundColor})
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -267,13 +267,13 @@ TabBar {
|
|||
selectTab(SidePanelTabBar.Requests)
|
||||
}
|
||||
onReleased: {
|
||||
buttonRectTwo.color = JamiTheme.backgroundColor
|
||||
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.backgroundColor})
|
||||
}
|
||||
onEntered: {
|
||||
buttonRectTwo.color = JamiTheme.hoverColor
|
||||
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.hoverColor})
|
||||
}
|
||||
onExited: {
|
||||
buttonRectTwo.color = JamiTheme.backgroundColor
|
||||
buttonRectTwo.color = Qt.binding(function(){return JamiTheme.backgroundColor})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -189,12 +189,11 @@ BaseDialog {
|
|||
'anchors.verticalCenterOffset: -2;' +
|
||||
'anchors.left: containerRectWithThreeKeys.left;' +
|
||||
'anchors.leftMargin: 30;' +
|
||||
'color: "' + JamiTheme.textColor + '";' +
|
||||
'font.bold: true;' +
|
||||
'font.pointSize : 12;' +
|
||||
'text: "+"}',
|
||||
containerRectWithThreeKeys)
|
||||
|
||||
componentPlusSign.color = Qt.binding(function() { return JamiTheme.textColor })
|
||||
var componentKeyTwo = Qt.createComponent("KeyBoardShortcutKey.qml")
|
||||
if (componentKeyTwo.status === Component.Ready) {
|
||||
var objectKeyTwo = componentKeyTwo.createObject(containerRectWithThreeKeys)
|
||||
|
@ -211,12 +210,11 @@ BaseDialog {
|
|||
'anchors.verticalCenterOffset: -2;' +
|
||||
'anchors.left: containerRectWithThreeKeys.left;' +
|
||||
'anchors.leftMargin: 97;' +
|
||||
'color: "' + JamiTheme.textColor + '";' +
|
||||
'font.bold: true;' +
|
||||
'font.pointSize : 12;' +
|
||||
'text: "+"}',
|
||||
containerRectWithThreeKeys)
|
||||
|
||||
componentPlusSignTwo.color = Qt.binding(function() { return JamiTheme.textColor })
|
||||
var componentKeyThree = Qt.createComponent("KeyBoardShortcutKey.qml")
|
||||
if (componentKeyThree.status === Component.Ready) {
|
||||
var objectKeyThree = componentKeyThree.createObject(containerRectWithThreeKeys)
|
||||
|
|
Loading…
Add table
Reference in a new issue