How in the world do I catch a keypress event for when the user presses Shift + left arrow?
Paul
Printable View
How in the world do I catch a keypress event for when the user presses Shift + left arrow?
Paul
Override keyPressEvent for your widget and test for:
Code:
if (keyEvent->modifiers().testFlag(Qt::ShiftModifier) && keyEvent->key() == Qt::Key_Left) { ... }
Ah, thanks, that did the trick!
Paul