Replace NCToolTip for ToolTip.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-27 21:20:19 +02:00 committed by Matthieu Gallien
parent 279c3c3981
commit fb17a4bf9e
8 changed files with 9 additions and 9 deletions

View file

@ -208,7 +208,7 @@ Page {
id: hoverHandler
}
NCToolTip {
ToolTip {
visible: hoverHandler.hovered
text: tagRepeater.fileTagModel.overflowTagsString
}

View file

@ -24,7 +24,7 @@ ItemDelegate {
Accessible.name: (model.path !== "" && model.displayPath !== "") ? qsTr("Open %1 locally").arg(model.displayPath) : model.message
Accessible.onPressAction: root.clicked()
NCToolTip {
ToolTip {
visible: root.hovered && !activityContent.childHovered && model.displayLocation !== ""
text: qsTr("In %1").arg(model.displayLocation)
}

View file

@ -166,7 +166,7 @@ RowLayout {
icon.source: "image://svgimage-custom-color/more.svg/" + palette.buttonText
NCToolTip {
ToolTip {
text: qsTr("Open file details")
visible: parent.hovered
}
@ -199,7 +199,7 @@ RowLayout {
bgColor: palette.mid
bgNormalOpacity: 0
NCToolTip {
ToolTip {
text: qsTr("Dismiss")
visible: parent.hovered
}

View file

@ -47,7 +47,7 @@ Button {
hoverEnabled: true
NCToolTip {
ToolTip {
text: root.toolTipText
visible: root.toolTipText !== "" && root.hovered
}

View file

@ -47,7 +47,7 @@ TextField {
top: replyMessageTextField.top
}
NCToolTip {
ToolTip {
visible: sendReplyMessageButton.hovered
text: qsTr("Send reply to chat message")
}

View file

@ -25,7 +25,7 @@ MenuItem {
property string backgroundIconSource: value
property string toolTipText: root.text
NCToolTip {
ToolTip {
visible: root.hovered && root.toolTipText !== ""
text: root.toolTipText
}

View file

@ -51,7 +51,7 @@ HeaderButton {
Accessible.name: tooltip.text
Accessible.onPressAction: root.clicked()
NCToolTip {
ToolTip {
id: tooltip
visible: root.hovered && !foldersMenuLoader.isMenuVisible
text: root.userHasGroupFolders ? qsTr("Open local or group folders") : qsTr("Open local folder")

View file

@ -38,7 +38,7 @@ MouseArea {
height: Style.unifiedSearchItemHeight
NCToolTip {
ToolTip {
visible: unifiedSearchResultMouseArea.containsMouse
text: isFetchMoreTrigger ? qsTr("Load more results") : model.resultTitle + "\n\n" + model.subline
}