For the auto repeat issue inside a key event handler, i think this is the solution.... bool QKeyEvent::isAutoRepeat () const

Now how can i use alt in conjunction with mouse?