We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91873b8 commit 0364c4dCopy full SHA for 0364c4d
examples/QMLPlayer/qml/QMLPlayer/main.qml
@@ -234,6 +234,7 @@ Rectangle {
234
MouseArea {
235
anchors.fill: parent
236
hoverEnabled: true
237
+ cursorShape: control.opacity > 0 || cursor_timer.running ? Qt.ArrowCursor : Qt.BlankCursor
238
onWheel: {
239
var deg = wheel.angleDelta.y/8
240
var dp = wheel.pixelDelta
@@ -273,6 +274,7 @@ Rectangle {
273
274
}
275
276
onMouseXChanged: {
277
+ cursor_timer.start()
278
if (mouseX > root.width || mouseX < 0
279
|| mouseY > root.height || mouseY < 0)
280
return;
@@ -299,6 +301,10 @@ Rectangle {
299
301
300
302
303
304
+ Timer {
305
+ id: cursor_timer
306
+ interval: 2000
307
+ }
308
309
310
Text {
0 commit comments