Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cursor monitoring object
ShinSat last edited by
A quick question.
Is it possible to create an object, which monitors the cursor on the system (eg.Windows platform) and fires mouseMoveEvent(this can be a signal) when needed?
Should it be a QWidget, which can be invisible and track global position of the cursor?
Please help as I'm not familiar with this kind of implementation. :<
Thanks in advance for your update.
JonB last edited by
Excuse me if I don't understand/am mistaken, but once you have a Qt application running
mouseMoveEventsignals are fired (by Qt infrastructure) when the mouse is moved, so what do you mean about "monitoring and firing"?
ShinSat last edited by ShinSat
Thanks for an update and sorry for vague explanation.
Let me explain further.
Please forget about my previous explanation.
I want to create Drag&Drop capability between widgets where each widget is on different QMainWindow.
When I create a QDrag object and execute it as MoveAction, mouseMoveEvent is NOT fired and it results in that I can't move the source widget.
Is there any way to get mouseMoveEvent while QDrag MoveAction opareted?