How would one check if the SHIFT key is held and the TAB key is pressed with a QKeyEvent?
I've tried using:
(event->key() == Qt::Key_Tab && event->modifiers() == Qt::ShiftModifier)
However, the event->key()
is not equal to Qt::Key_Tab
whenever the shift key is held down.