[quote author="MrDev" date="1352484489"]Hi, tucnak. Thank you for your reply.
yes, that was my version...
@void MyWidget::keyPressEvent(QKeyEvent *event) {
switch (event->key()) {
case Qt::Key_X:
if (event->modifiers() & Qt::ControlModifier) {
qDebug() << "yep";
}
break;
default:
QWidget::keyPressEvent(event);
}
}@
It doesn't work again. When I change the Qt::Key_X with Qt::Key_Z for example, it is ok. But with the letters X,C,V it doesn't. [/quote]
Hm... it should be interesting. Sorry, I am busy today, so you should wait for other users or tomorrow)).