How to handle keyboard and mouse at the same time?
-
a mouse event contains this information. See "QWidget::mousePressEvent":http://doc.qt.nokia.com/4.7/qwidget.html#mousePressEvent and "QMouseEvent --> QInputEvent::modifiers":http://doc.qt.nokia.com/4.7/qinputevent.html#modifiers