-rw-r--r-- | korganizer/mainwindow.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 09a0880..d98915b 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1439,19 +1439,21 @@ void MainWindow::keyBindings() | |||
1439 | QString cap = i18n("KO/Pi Keys + Colors"); | 1439 | QString cap = i18n("KO/Pi Keys + Colors"); |
1440 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + | 1440 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + |
1441 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ | 1441 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ |
1442 | i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + | ||
1443 | i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + | ||
1442 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + | 1444 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + |
1443 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ | 1445 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ |
1444 | i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ | 1446 | i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ |
1445 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ | 1447 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ |
1446 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ | 1448 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ |
1447 | i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ | 1449 | i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ |
1448 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ | 1450 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ |
1449 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ | 1451 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ |
1450 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ | 1452 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ |
1451 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ | 1453 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ |
1452 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ | 1454 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ |
1453 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ | 1455 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ |
1454 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ | 1456 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ |
1455 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ | 1457 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ |
1456 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ | 1458 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ |
1457 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ | 1459 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ |
@@ -1900,12 +1902,7 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) | |||
1900 | mView->viewManager()->showListView(); | 1902 | mView->viewManager()->showListView(); |
1901 | break; | 1903 | break; |
1902 | case Qt::Key_N: | 1904 | case Qt::Key_N: |
1903 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) | ||
1904 | mView->viewManager()->showNextView(); | 1905 | mView->viewManager()->showNextView(); |
1905 | else { | ||
1906 | mView->viewManager()->showNextXView(); | ||
1907 | showSelectedDates = true; | ||
1908 | } | ||
1909 | break; | 1906 | break; |
1910 | case Qt::Key_V: | 1907 | case Qt::Key_V: |
1911 | mView->viewManager()->showTodoView(); | 1908 | mView->viewManager()->showTodoView(); |
@@ -1923,7 +1920,12 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) | |||
1923 | mView->toggleFilter(); | 1920 | mView->toggleFilter(); |
1924 | break; | 1921 | break; |
1925 | case Qt::Key_X: | 1922 | case Qt::Key_X: |
1923 | if ( e->state() == Qt::ControlButton ) | ||
1926 | mView->toggleDateNavigatorWidget(); | 1924 | mView->toggleDateNavigatorWidget(); |
1925 | else { | ||
1926 | mView->viewManager()->showNextXView(); | ||
1927 | showSelectedDates = true; | ||
1928 | } | ||
1927 | break; | 1929 | break; |
1928 | case Qt::Key_Space: | 1930 | case Qt::Key_Space: |
1929 | mView->toggleExpand(); | 1931 | mView->toggleExpand(); |