for some reason i cant make this work.
i tried to detect shift + tab:
didn't work. idea?Code:
switch(e->key()) { case Qt::Key_Tab: if(textCursor().selectionEnd() - textCursor().selectionStart() > 0) { bool shiftHeld = (e->modifiers() & Qt::ShiftModifier); tabPressedEvent( shiftHeld ); return; } }