first, sorry for my poor english !

I want to make the cursor on the screen become invisible after it has stopped 
moving for 10s. I think this problem can be solved easily if there is a signal 
like positionChanged(QPoint lastPos , QPoint currentPos) existed,lastPos means 
the last position of the cursor (hot spot) of the primary screen in global 
screen coordinates, currentPos means the current  position, this signal should 
be emitted once the cursor stopped moving .Note the Mouse move events here 
should occur even when a mouse button is not pressed down, i.e. there is mouse 
tracking with cursor.In Qt, mouse tracking could be enabled with 
QWidget::setMouseTracking(), however my problem is not restricted to Qt, it is 
system wide, I want to do this on Windows now ,anyone knows how to enable mouse 
tracking here ?
any other solution is also welcome !
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to