From ad88eadf0bdb34cb4a93639b50a5566a06470c22 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 09 Jun 2005 15:30:45 +0000 Subject: print hint --- (limited to 'korganizer/mainwindow.cpp') diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 20f8b57..25e76ee 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1059,16 +1059,17 @@ void MainWindow::initActions() connect( action, SIGNAL( activated() ), mView->viewManager(), SLOT( slotprintWNV() ) ); - 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() ) ); importMenu->insertItem( i18n("Print"), beamMenu_X ); #endif @@ -2427,7 +2428,10 @@ void MainWindow::getFile( bool success ) } void MainWindow::printListView() { - qDebug("MainWindow::printListView() "); + + QString message = i18n("You can make a printout of the List View and the list view in the Search Dialog! To do this, please go to the List View/Search Dialog. Right click on the list. Select in the popup menu the entry Print complete list. 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 Hide selected items. After that you can print the list without these items."); + + KMessageBox::information( this, message); } void MainWindow::printSel( ) { -- cgit v0.9.0.2