[Interest] Mouse cursor always resetted on mouse move
Cornelius Hald
hald at icandy.de
Tue Jan 21 15:41:40 CET 2014
Hi,
I'm trying to set an application wide cursor for some time and later
return to the default cursor.
I've tried QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
and
ApplicationWindow {
[...]
MouseArea {
cursorShape: Qt.WaitCursor
acceptedButtons: Qt.NoButton
anchors.fill: parent
}
}
In both cases I see the WaitCursor until I move the mouse. Once moved,
the cursor returns to the default cursor and stays like that.
I'm running Qt 5.2 on Linux/X11 with Qt Quick Controls.
Maybe it needs to be done differently using Qt Quick Controls?
Thanks,
Conny
More information about the Interest
mailing list