Layout.rightMargin: headerGridLayout.textRightMargin
icon.source: "image://svgimage-custom-color/clear.svg" + "/" + palette.buttonText
- bgColor: palette.highlight
- bgNormalOpacity: 0
toolTipText: qsTr("Dismiss")
visible: root.showCloseButton
toolTipText: qsTr("Create a new share link")
- bgColor: palette.highlight
- bgNormalOpacity: 0
-
icon.source: "image://svgimage-custom-color/add.svg/" + palette.buttonText
icon.width: Style.smallIconSize
icon.height: Style.smallIconSize
text: shareLinkCopied ? qsTr("Copied!") : ""
textColor: palette.brightText
contentsFont.bold: true
- bgColor: shareLinkCopied ? Style.positiveColor : palette.highlight
- bgNormalOpacity: shareLinkCopied ? 1 : 0
icon.source: shareLinkCopied ? "image://svgimage-custom-color/copy.svg/" + palette.brightText :
"image://svgimage-custom-color/copy.svg/" + palette.buttonText
onClicked: copyShareLink()
- Behavior on bgColor {
- ColorAnimation { duration: Style.shortAnimationDuration }
- }
+ // TODO
+ // Behavior on bgColor {
+ // ColorAnimation { duration: Style.shortAnimationDuration }
+ // }
- Behavior on bgNormalOpacity {
- NumberAnimation { duration: Style.shortAnimationDuration }
- }
+ // Behavior on bgNormalOpacity {
+ // NumberAnimation { duration: Style.shortAnimationDuration }
+ // }
Behavior on Layout.preferredWidth {
SmoothedAnimation { duration: Style.shortAnimationDuration }
toolTipText: qsTr("Share options")
- bgColor: palette.highlight
- bgNormalOpacity: 0
-
icon.source: "image://svgimage-custom-color/more.svg/" + palette.buttonText
icon.width: Style.smallIconSize
icon.height: Style.smallIconSize
Layout.rightMargin: root.padding
icon.source: "image://svgimage-custom-color/clear.svg" + "/" + palette.buttonText
- bgColor: palette.highlight
- bgNormalOpacity: 0
toolTipText: qsTr("Dismiss")
onClicked: root.closeShareDetails()
textColor: Style.errorBoxBackgroundColor
textColorHovered: "white"
contentsFont.bold: true
- bgNormalColor: palette.button
- bgHoverColor: Style.errorBoxBackgroundColor
- bgNormalOpacity: 1.0
- bgHoverOpacity: 1.0
onClicked: root.deleteShare()
}
textColor: root.accentColor
textColorHovered: palette.brightText
contentsFont.bold: true
- bgNormalColor: palette.button
- bgHoverColor: root.accentColor
- bgNormalOpacity: 1.0
- bgHoverOpacity: 1.0
visible: root.isLinkShare && root.canCreateLinkShares
enabled: visible
text: shareLinkCopied ? qsTr("Share link copied!") : qsTr("Copy share link")
textColor: palette.brightText
contentsFont.bold: true
- bgColor: shareLinkCopied ? Style.positiveColor : root.accentColor
- bgNormalOpacity: 1.0
- bgHoverOpacity: shareLinkCopied ? 1.0 : Style.hoverOpacity
-
visible: root.isLinkShare
enabled: visible
onClicked: copyShareLink()
- Behavior on bgColor {
- ColorAnimation { duration: Style.shortAnimationDuration }
- }
+ // TODO
+ // Behavior on bgColor {
+ // ColorAnimation { duration: Style.shortAnimationDuration }
+ // }
- Behavior on bgHoverOpacity {
- NumberAnimation { duration: Style.shortAnimationDuration }
- }
+ // Behavior on bgHoverOpacity {
+ // NumberAnimation { duration: Style.shortAnimationDuration }
+ // }
Behavior on Layout.preferredWidth {
SmoothedAnimation { duration: Style.shortAnimationDuration }
textColor: Style.ncTextColor
textColorHovered: Style.ncHeaderTextColor
contentsFont.bold: true
- bgColor: Style.ncBlue
text: qsTr("Reload")
onClicked: reloadMaterialisedItems(accountUserIdAtHost)
}
text: qsTr("Delete")
textColorHovered: Style.ncHeaderTextColor
- bgColor: Style.errorBoxBackgroundColor
contentsFont.bold: true
onClicked: root.evictItem(root.identifier, root.domainIdentifier)
}
textColor: Style.adjustedCurrentUserHeaderColor
textColorHovered: Style.currentUserHeaderTextColor
contentsFont.bold: true
- bgColor: Style.currentUserHeaderColor
visible: verb !== "REPLY" || (verb === "REPLY" && root.talkReplyButtonVisible)
}
display: Button.IconOnly
leftPadding: 0
rightPadding: 0
- bgColor: palette.mid
- bgNormalOpacity: 0
visible: model.showFileDetails
display: Button.IconOnly
leftPadding: 0
rightPadding: 0
- bgColor: palette.mid
- bgNormalOpacity: 0
ToolTip {
text: qsTr("Dismiss")
visible: isAnswerCallButton
text: modelData.label
contentsFont.bold: true
- bgColor: Style.ncBlue
- bgNormalOpacity: 0.8
textColor: palette.brightText
id: declineCall
text: qsTr("Decline")
contentsFont.bold: true
- bgColor: Style.errorBoxBackgroundColor
- bgNormalOpacity: 0.8
textColor: palette.brightText
property alias contentsFont: contents.font
- property alias bgColor: bgRectangle.color
- property alias bgNormalColor: bgRectangle.normalColor
- property alias bgHoverColor: bgRectangle.hoverColor
- property alias bgNormalOpacity: bgRectangle.normalOpacity
- property alias bgHoverOpacity: bgRectangle.hoverOpacity
-
- background: NCButtonBackground {
- id: bgRectangle
- hovered: root.hovered
- }
-
leftPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding
textColor: Style.adjustedCurrentUserHeaderColor
textColorHovered: Style.currentUserHeaderTextColor
contentsFont.bold: true
- bgColor: Style.currentUserHeaderColor
visible: !activityModel.hasSyncConflicts &&
!syncStatus.syncing &&
textColor: Style.adjustedCurrentUserHeaderColor
textColorHovered: Style.currentUserHeaderTextColor
contentsFont.bold: true
- bgColor: Style.currentUserHeaderColor
visible: activityModel.hasSyncConflicts &&
!syncStatus.syncing &&
textColor: Style.currentUserHeaderTextColor\r
textColorHovered: Style.currentUserHeaderTextColor\r
contentsFont.bold: true\r
- bgNormalColor: Qt.lighter(bgHoverColor, 1.25)\r
- bgHoverColor: Style.currentUserHeaderColor\r
- bgNormalOpacity: Style.newActivitiesBgNormalOpacity\r
- bgHoverOpacity: Style.newActivitiesBgHoverOpacity\r
\r
anchors.fill: parent\r
\r