-rw-r--r-- | korganizer/mainwindow.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 20f8b57..25e76ee 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1061,12 +1061,13 @@ void MainWindow::initActions() - action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); + + icon = loadPixmap( pathString + "print" ); + action = new QAction( i18n("Print List View..."),icon,i18n("Print List View..."), 0, this ); action->addTo( beamMenu_X ); connect( action, SIGNAL( activated() ), - mView, SLOT( slotprintSelInc() ) ); + this, SLOT( printListView() ) ); - icon = loadPixmap( pathString + "print" ); - action = new QAction( i18n("Print list view..."),icon,i18n("Print list view..."), 0, this ); + action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); action->addTo( beamMenu_X ); connect( action, SIGNAL( activated() ), - this, SLOT( printListView() ) ); + mView, SLOT( slotprintSelInc() ) ); @@ -2429,3 +2430,6 @@ void MainWindow::printListView() { - qDebug("MainWindow::printListView() "); + + QString message = i18n("You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items."); + + KMessageBox::information( this, message); } |