Quote Originally Posted by fatjuicymole View Post
Define "does not work".

Mouse events are meant for one purpose only - to represent the state of the mouse. You should not be trying to put additional fake events into the queue to control your application. If you want your application to do something after 500ms of holding down the mouse, then put that into your application via a timer that is triggered by a mouse press.
AAAA, thanks! So you mean, inside mousePress event handler I create timer and start it and then I connect timeout() signal to zoomOut() method/slot? So, I also setup a state of window (i.e. WindowZoomState=ZOOM_IN) and in mouseRelease event handler I check the state. If the state is NOT ZOOM_IN then i zoomOut()? Thanks, will try!