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