Show
Ignore:
Timestamp:
09/05/06 01:26:01 (2 years ago)
Author:
dmik
Message:

Chat: Added popular Ctrl+Tab and Ctrl+Shift+Tab as hotkeys to switch between tabs in the Tabbed chat mode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • psi/trunk/src/msgmle.cpp

    r2 r18  
    124124} 
    125125 
    126 bool ChatEdit::focusNextPrevChild(bool next) 
    127 { 
    128         return QWidget::focusNextPrevChild(next); 
    129 } 
    130  
    131126void ChatEdit::keyPressEvent(QKeyEvent *e) 
    132127{ 
     
    140135                e->ignore(); 
    141136        else if(e->key() == Key_S && (e->state() & AltButton)) 
     137                e->ignore(); 
     138        else if(e->key() == Key_Backtab && (e->state() & ControlButton)) 
     139                e->ignore(); 
     140        else if(e->key() == Key_Tab && (e->state() & ControlButton)) 
    142141                e->ignore(); 
    143142        else if(e->key() == Key_U && (e->state() & ControlButton))