Home
last modified time | relevance | path

Searched refs:keyEvent (Results 1 – 20 of 20) sorted by relevance

/glogg/glogg/src/
H A Dlogmainview.cpp
H A Dfilteredview.cpp
H A Dabstractlogview.cpp
H A Dlogmainview.h
H A Dfilteredview.h
H A Dmainwindow.h
H A Dcrawlerwidget.cpp
H A Dmainwindow.cpp
H A Dcrawlerwidget.h
H A Dabstractlogview.h
/glogg/src/
H A Dlogmainview.cpp71 void LogMainView::keyPressEvent( QKeyEvent* keyEvent ) in keyPressEvent() argument
73 bool noModifier = keyEvent->modifiers() == Qt::NoModifier; in keyPressEvent()
75 if ( keyEvent->key() == Qt::Key_BracketLeft && noModifier ) { in keyPressEvent()
80 keyEvent->accept(); in keyPressEvent()
82 else if ( keyEvent->key() == Qt::Key_BracketRight && noModifier ) { in keyPressEvent()
87 keyEvent->accept(); in keyPressEvent()
90 keyEvent->ignore(); in keyPressEvent()
91 AbstractLogView::keyPressEvent( keyEvent ); in keyPressEvent()
H A Dfilteredview.cpp81 void FilteredView::keyPressEvent( QKeyEvent* keyEvent ) in keyPressEvent() argument
83 bool noModifier = keyEvent->modifiers() == Qt::NoModifier; in keyPressEvent()
85 if ( keyEvent->key() == Qt::Key_BracketLeft && noModifier ) { in keyPressEvent()
92 keyEvent->accept(); in keyPressEvent()
94 else if ( keyEvent->key() == Qt::Key_BracketRight && noModifier ) { in keyPressEvent()
102 keyEvent->accept(); in keyPressEvent()
105 keyEvent->ignore(); in keyPressEvent()
106 AbstractLogView::keyPressEvent( keyEvent ); in keyPressEvent()
H A Dabstractlogview.cpp517 void AbstractLogView::keyPressEvent( QKeyEvent* keyEvent ) in keyPressEvent() argument
521 bool controlModifier = (keyEvent->modifiers() & Qt::ControlModifier) == Qt::ControlModifier; in keyPressEvent()
522 bool shiftModifier = (keyEvent->modifiers() & Qt::ShiftModifier) == Qt::ShiftModifier; in keyPressEvent()
523 bool noModifier = keyEvent->modifiers() == Qt::NoModifier; in keyPressEvent()
525 if ( keyEvent->key() == Qt::Key_Left && noModifier ) in keyPressEvent()
527 else if ( keyEvent->key() == Qt::Key_Right && noModifier ) in keyPressEvent()
529 else if ( keyEvent->key() == Qt::Key_Home && !controlModifier) in keyPressEvent()
531 else if ( keyEvent->key() == Qt::Key_End && !controlModifier) in keyPressEvent()
533 else if ( (keyEvent->key() == Qt::Key_PageDown && controlModifier) in keyPressEvent()
534 || (keyEvent->key() == Qt::Key_End && controlModifier) ) in keyPressEvent()
[all …]
H A Dlogmainview.h46 virtual void keyPressEvent( QKeyEvent* keyEvent );
H A Dfilteredview.h48 virtual void keyPressEvent( QKeyEvent* keyEvent );
H A Dmainwindow.h73 void keyPressEvent( QKeyEvent* keyEvent );
H A Dmainwindow.cpp796 void MainWindow::keyPressEvent( QKeyEvent* keyEvent ) in keyPressEvent() argument
800 switch ( (keyEvent->text())[0].toLatin1() ) { in keyPressEvent()
808 keyEvent->ignore(); in keyPressEvent()
811 if ( !keyEvent->isAccepted() ) in keyPressEvent()
812 QMainWindow::keyPressEvent( keyEvent ); in keyPressEvent()
H A Dcrawlerwidget.cpp164 void CrawlerWidget::keyPressEvent( QKeyEvent* keyEvent ) in keyPressEvent() argument
166 bool noModifier = keyEvent->modifiers() == Qt::NoModifier; in keyPressEvent()
168 if ( keyEvent->key() == Qt::Key_V && noModifier ) in keyPressEvent()
172 const char character = (keyEvent->text())[0].toLatin1(); in keyPressEvent()
179 QSplitter::keyPressEvent( keyEvent ); in keyPressEvent()
H A Dcrawlerwidget.h111 virtual void keyPressEvent( QKeyEvent* keyEvent );
H A Dabstractlogview.h188 virtual void keyPressEvent( QKeyEvent* keyEvent );