Tirsdag 21. januar 2014 15.41.40 skrev Cornelius Hald:
> 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?
As long as the mouse is inside the MouseArea this should give you the wait
cursor.
Please file a bug: https://bugreports.qt-project.org
Greetings,
Frederik
>
> Thanks,
> Conny
>
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest