mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Replace NCToolTip for ToolTip.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
279c3c3981
commit
fb17a4bf9e
8 changed files with 9 additions and 9 deletions
|
@ -208,7 +208,7 @@ Page {
|
|||
id: hoverHandler
|
||||
}
|
||||
|
||||
NCToolTip {
|
||||
ToolTip {
|
||||
visible: hoverHandler.hovered
|
||||
text: tagRepeater.fileTagModel.overflowTagsString
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ Button {
|
|||
|
||||
hoverEnabled: true
|
||||
|
||||
NCToolTip {
|
||||
ToolTip {
|
||||
text: root.toolTipText
|
||||
visible: root.toolTipText !== "" && root.hovered
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ TextField {
|
|||
top: replyMessageTextField.top
|
||||
}
|
||||
|
||||
NCToolTip {
|
||||
ToolTip {
|
||||
visible: sendReplyMessageButton.hovered
|
||||
text: qsTr("Send reply to chat message")
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ MenuItem {
|
|||
property string backgroundIconSource: value
|
||||
property string toolTipText: root.text
|
||||
|
||||
NCToolTip {
|
||||
ToolTip {
|
||||
visible: root.hovered && root.toolTipText !== ""
|
||||
text: root.toolTipText
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue