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