Skip to content

Commit

Permalink
fix: add tooltip for import button
Browse files Browse the repository at this point in the history
  add tooltip for import button

Log: add tooltip for import button
Bug: https://pms.uniontech.com/bug-view-219021.html
  • Loading branch information
starhcq committed Jul 18, 2024
1 parent 8ae40f3 commit 163597b
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 205 deletions.
6 changes: 5 additions & 1 deletion src/qml/AlbumTitle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ TitleBar {
onClicked: {
//1.图片推送器切换
asynImageProvider.switchLoadMode()
imageDataService.switchLoadMode()
imageDataService.switchLoadMode()

//切换图标
if(icon.name === "range1"){
Expand Down Expand Up @@ -409,6 +409,10 @@ TitleBar {
Layout.preferredWidth: iconSize
Layout.preferredHeight: iconSize
Layout.alignment: Qt.AlignRight
ToolTip.delay: 500
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Import Photos and Videos")
icon {
name: "import"
width: iconSize
Expand Down
Loading

0 comments on commit 163597b

Please sign in to comment.