This commit is contained in:
zhuzichu 2023-06-29 10:07:02 +08:00
parent dc3b1acaa5
commit 8a52f143d7

View File

@ -69,19 +69,15 @@ Rectangle {
elide: Text.ElideRight elide: Text.ElideRight
wrapMode: Text.WrapAnywhere wrapMode: Text.WrapAnywhere
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
MouseArea{ HoverHandler{
id:item_mouse id: hover_handler
hoverEnabled: true }
anchors.fill: parent
acceptedButtons: Qt.NoButton
FluTooltip{ FluTooltip{
text: item_text.text text: item_text.text
delay: 500 delay: 500
visible: item_text.contentWidth < item_text.implicitWidth && item_text.contentHeight < item_text.implicitHeight && item_mouse.containsMouse visible: item_text.contentWidth < item_text.implicitWidth && item_text.contentHeight < item_text.implicitHeight && hover_handler.hovered
} }
} }
}
} }
ScrollView{ ScrollView{
id:scroll_table id:scroll_table