Hello everyone,

I would like to get some advice. I'm going to subclass QPushButton which will be controlled by a QCursor.
I want to use QCursor::setPos() to set the position of the cursor which will be responsible for activating a QPushButton.

The idea is to activate the button after hovering it for longer than 3-5 seconds. I want to use QCursor to control a cursor's position,
where x and y coordinates will come from a different widget and will be used to activate different buttons. The only way I can think
of is to create a button - animated widget something like a progress bar which after filling itself completely will be activated.

The concept will be very similar to the one used in MS Kinect games, where the buttons are activated using hands.

Any ideas and suggestions are more than welcome, maybe I'm missing something that could help me to implement
this kind of functionality. The biggest issue will be most probably with controlling a cursor's position within my window.

Thank you,
Chris