How can I catch Ctrl+Shift+TAB ?
if (k->key() == Qt::Key_Tab)
{
if (k->modifiers() == Qt::ControlModifier)
{
if (k->key() == Qt::Key_Tab)
{
if (k->modifiers() == Qt::ControlModifier)
{
To copy to clipboard, switch view to plain text mode
This is for Ctrl+Tab, but how can I catch Ctrl+Shift+Tab ?
Added after 40 minutes:
OK, I found solution:
if ((k->key() == Qt::Key_Backtab) && (k->modifiers() == (Qt::ControlModifier | Qt::ShiftModifier)))
if ((k->key() == Qt::Key_Backtab) && (k->modifiers() == (Qt::ControlModifier | Qt::ShiftModifier)))
To copy to clipboard, switch view to plain text mode
Bookmarks