toolTipText: qsTr("Copy share link location")
text: shareLinkCopied ? qsTr("Copied!") : ""
- textColor: palette.brightText
- contentsFont.bold: true
icon.source: shareLinkCopied ? "image://svgimage-custom-color/copy.svg/" + palette.brightText :
"image://svgimage-custom-color/copy.svg/" + palette.buttonText
icon.source: "image://svgimage-custom-color/close.svg/" + Style.errorBoxBackgroundColor
imageSourceHover: "image://svgimage-custom-color/close.svg/" + palette.brightText
text: qsTr("Unshare")
- textColor: Style.errorBoxBackgroundColor
- textColorHovered: "white"
- contentsFont.bold: true
onClicked: root.deleteShare()
}
icon.source: "image://svgimage-custom-color/add.svg/" + root.accentColor
imageSourceHover: "image://svgimage-custom-color/add.svg/" + palette.brightText
text: qsTr("Add another link")
- textColor: root.accentColor
- textColorHovered: palette.brightText
- contentsFont.bold: true
visible: root.isLinkShare && root.canCreateLinkShares
enabled: visible
icon.source: "image://svgimage-custom-color/copy.svg/" + palette.brightText
text: shareLinkCopied ? qsTr("Share link copied!") : qsTr("Copy share link")
- textColor: palette.brightText
- contentsFont.bold: true
visible: root.isLinkShare
enabled: visible
CustomButton {
padding: Style.smallSpacing
- textColor: Style.ncTextColor
- textColorHovered: Style.ncHeaderTextColor
- contentsFont.bold: true
text: qsTr("Reload")
onClicked: reloadMaterialisedItems(accountUserIdAtHost)
}
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
text: qsTr("Delete")
- textColorHovered: Style.ncHeaderTextColor
- contentsFont.bold: true
onClicked: root.evictItem(root.identifier, root.domainIdentifier)
}
}
anchors.fill: parent
hovered: root.hovered
text: root.text
- textColor: root.textColor
- textColorHovered: root.textColorHovered
-
bold: root.primaryButton
}
}
imageSourceHover: root.imageSourceHover
imageSource: root.icon.source
text: root.text
- textColor: root.textColor
- textColorHovered: root.textColorHovered
font.bold: root.primaryButton
}
}
onClicked: isTalkReplyButton ? root.showReplyField() : root.triggerAction(model.index)
- textColor: Style.adjustedCurrentUserHeaderColor
- textColorHovered: Style.currentUserHeaderTextColor
- contentsFont.bold: true
-
visible: verb !== "REPLY" || (verb === "REPLY" && root.talkReplyButtonVisible)
}
}
visible: isAnswerCallButton
text: modelData.label
- contentsFont.bold: true
-
- textColor: palette.brightText
icon.source: root.talkIcon + palette.brightText
imageSourceHover: root.talkIcon + palette.brightText
CustomButton {
id: declineCall
text: qsTr("Decline")
- contentsFont.bold: true
-
- textColor: palette.brightText
icon.source: root.deleteIcon + "white"
imageSourceHover: root.deleteIcon + "white"
property string toolTipText: ""
- property color textColor: palette.buttonText
- property color textColorHovered: textColor
-
- property alias contentsFont: contents.font
-
leftPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding
imageSourceWidth: root.icon.width
imageSourceHeight: root.icon.height
text: root.text
- textColor: root.textColor
- textColorHovered: root.textColorHovered
}
}
property string text: ""
property var display
- property color textColor: palette.buttonText
- property color textColorHovered: textColor
property alias font: buttonLabel.font
Image {
visible: root.text !== ""
- color: root.hovered ? root.textColorHovered : root.textColor
-
horizontalAlignment: icon.visible ? Text.AlignLeft : Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: qsTr("Sync now")
padding: Style.smallSpacing
- textColor: Style.adjustedCurrentUserHeaderColor
- textColorHovered: Style.currentUserHeaderTextColor
- contentsFont.bold: true
visible: !activityModel.hasSyncConflicts &&
!syncStatus.syncing &&
Layout.rightMargin: Style.trayHorizontalMargin
text: qsTr("Resolve conflicts")
- textColor: Style.adjustedCurrentUserHeaderColor
- textColorHovered: Style.currentUserHeaderTextColor
- contentsFont.bold: true
visible: activityModel.hasSyncConflicts &&
!syncStatus.syncing &&
hoverEnabled: true\r
padding: Style.smallSpacing\r
\r
- textColor: Style.currentUserHeaderTextColor\r
- textColorHovered: Style.currentUserHeaderTextColor\r
- contentsFont.bold: true\r
-\r
anchors.fill: parent\r
\r
text: qsTr("New activities")\r