mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
misc: add some labels
Change-Id: I6fd4d8e9fece56582cef96abfa4734aacdd5a88c
This commit is contained in:
parent
a5d930b3f7
commit
0dd518bfe9
3 changed files with 9 additions and 4 deletions
|
@ -750,6 +750,7 @@ Item {
|
||||||
//TipBox
|
//TipBox
|
||||||
property string customize: qsTr("Customize")
|
property string customize: qsTr("Customize")
|
||||||
property string tips: qsTr("Tips")
|
property string tips: qsTr("Tips")
|
||||||
|
property string dismiss: qsTr("Dismiss")
|
||||||
property string customizeText: qsTr("Add a picture and a nickname to complete your profile")
|
property string customizeText: qsTr("Add a picture and a nickname to complete your profile")
|
||||||
property string customizationDescription: qsTr("This profile is only shared with this account’s contacts")
|
property string customizationDescription: qsTr("This profile is only shared with this account’s contacts")
|
||||||
property string customizationDescription2: qsTr("Your profile is only shared with your contacts")
|
property string customizationDescription2: qsTr("Your profile is only shared with your contacts")
|
||||||
|
|
|
@ -94,13 +94,15 @@ Rectangle {
|
||||||
PushButton {
|
PushButton {
|
||||||
id: btnEdit
|
id: btnEdit
|
||||||
|
|
||||||
imageColor: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
|
|
||||||
normalColor: JamiTheme.transparentColor
|
|
||||||
Layout.topMargin: JamiTheme.pushButtonMargin
|
|
||||||
hoverEnabled: false
|
|
||||||
preferredSize : 30
|
preferredSize : 30
|
||||||
imageContainerWidth: JamiTheme.pushButtonSize
|
imageContainerWidth: JamiTheme.pushButtonSize
|
||||||
imageContainerHeight: JamiTheme.pushButtonSize
|
imageContainerHeight: JamiTheme.pushButtonSize
|
||||||
|
|
||||||
|
Layout.topMargin: JamiTheme.pushButtonMargin
|
||||||
|
|
||||||
|
imageColor: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
|
||||||
|
normalColor: JamiTheme.transparentColor
|
||||||
|
hoveredColor: JamiTheme.transparentColor
|
||||||
visible: editable && CurrentAccount.registeredName === ""
|
visible: editable && CurrentAccount.registeredName === ""
|
||||||
border.color: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
|
border.color: enabled ? JamiTheme.buttonTintedBlue : JamiTheme.buttonTintedBlack
|
||||||
|
|
||||||
|
@ -117,6 +119,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
source: JamiResources.round_edit_24dp_svg
|
source: JamiResources.round_edit_24dp_svg
|
||||||
|
toolTipText: JamiStrings.chooseUsername
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!root.editing) {
|
if (!root.editing) {
|
||||||
|
|
|
@ -211,6 +211,7 @@ Item {
|
||||||
|
|
||||||
imageColor: Qt.rgba(0, 86/255, 153/255, 1)
|
imageColor: Qt.rgba(0, 86/255, 153/255, 1)
|
||||||
normalColor: "transparent"
|
normalColor: "transparent"
|
||||||
|
toolTipText: JamiStrings.dismiss
|
||||||
|
|
||||||
source: JamiResources.round_close_24dp_svg
|
source: JamiResources.round_close_24dp_svg
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue