Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi!
I want to detect mouse event in my application run in backend. or If the user is working with another application in the meantime i want to detect events in my application.
Any guide or link?
AFAIK, you cannot do this using Qt. You'll have to rely on system calls (mouse hooks, etc.) for that.
Thanks for reply!
Could you please refer any link or example of mouse hooks to understand the whole concept..
Which operating system?
Linux (Ubuntu 12.04)
Sorry, I don't know the APIs on Linux. Hopefully, someone else can help.
I tried this:
After Find the QPoint point = QCursor::pos() after every second using Qtimer and match it with the last point.
Using this i am able to detect mouse position and find user idle or not.
*But mouse click is not working.