Change press to hover.
This commit is contained in:
parent
32cad0d651
commit
236f8ce48b
|
@ -18,6 +18,7 @@ Item {
|
|||
}
|
||||
|
||||
MouseArea {
|
||||
id: baseMouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
ToolTip.visible: pressed
|
||||
|
@ -42,12 +43,10 @@ Item {
|
|||
displayText: author.displayName
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
ToolTip.visible: pressed
|
||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
hoverEnabled: true
|
||||
ToolTip.visible: containsMouse
|
||||
ToolTip.text: author.displayName
|
||||
}
|
||||
}
|
||||
|
@ -103,8 +102,9 @@ Item {
|
|||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
||||
ToolTip.visible: pressed
|
||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
hoverEnabled: true
|
||||
propagateComposedEvents: true
|
||||
ToolTip.visible: containsMouse
|
||||
ToolTip.text: visible ? content.body : ""
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,8 +27,7 @@ Item {
|
|||
height: 80
|
||||
onClicked: listView.currentIndex = index
|
||||
|
||||
ToolTip.visible: pressed
|
||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
ToolTip.visible: mini && hovered
|
||||
ToolTip.text: name
|
||||
|
||||
contentItem: RowLayout {
|
||||
|
|
Loading…
Reference in New Issue