-rw-r--r-- | korganizer/mainwindow.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 09a0880..d98915b 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1441,2 +1441,4 @@ void MainWindow::keyBindings() i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ + i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + + i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + @@ -1446,3 +1448,3 @@ void MainWindow::keyBindings() i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ - i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ + i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ @@ -1453,3 +1455,3 @@ void MainWindow::keyBindings() i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ - i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ + i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ @@ -1902,8 +1904,3 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) case Qt::Key_N: - if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) - mView->viewManager()->showNextView(); - else { - mView->viewManager()->showNextXView(); - showSelectedDates = true; - } + mView->viewManager()->showNextView(); break; @@ -1924,4 +1921,9 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) break; - case Qt::Key_X: - mView->toggleDateNavigatorWidget(); + case Qt::Key_X: + if ( e->state() == Qt::ControlButton ) + mView->toggleDateNavigatorWidget(); + else { + mView->viewManager()->showNextXView(); + showSelectedDates = true; + } break; |