Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Mouse Cursor changes when i hover over a QTextBrowser or QTextEdit
DannyL408 last edited by A Former User
My mouse (custom cursor) changes to a normal white pointer over a
QTextBrowserand the line edit cursor over
QTextEdit. How do I make it so it keeps the cursor I currently have it set to when I hover over it?
[Edit: Added code tags -- @Wieland]
A Former User last edited by
Hi! You can use
void QGuiApplication::setOverrideCursor(const QCursor &cursor) [static]to actually override the cursor for all widgets. See setOverrideCursor for more info.
DannyL408 last edited by DannyL408
i just want to disable the mosue cursor changing over things such as text browser and text edit during runtime
I have a drag object when i drag a qpushbutton but i want the dragcursor to be what i set it to to wherever i drag on the screen until i drop