How to handle keyboard and mouse at the same time?
I have a question about handling the keyboard input synchronously with mouse input such as CTRL key + mouse left button pressed.
I appreciate if you have any reference to Qt-tutorial or Qt-pages or any other link.
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