summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-09 15:30:45 (UTC)
committer zautrix <zautrix>2005-06-09 15:30:45 (UTC)
commitad88eadf0bdb34cb4a93639b50a5566a06470c22 (patch) (side-by-side diff)
tree194ed7da0894b1b0d96b8edcfb6c41b4a1f903b7
parenta9a6a8f4eb0200fb5fbf67091e6348a3859976f9 (diff)
downloadkdepimpi-ad88eadf0bdb34cb4a93639b50a5566a06470c22.zip
kdepimpi-ad88eadf0bdb34cb4a93639b50a5566a06470c22.tar.gz
kdepimpi-ad88eadf0bdb34cb4a93639b50a5566a06470c22.tar.bz2
print hint
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt10
-rw-r--r--korganizer/mainwindow.cpp16
2 files changed, 20 insertions, 6 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 9105919..6b62d4e 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -1377,4 +1377,14 @@
{ "Add items","hinzufügen" },
{ "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" },
+{ "Print List View...","Drucke Listenansicht..." },
+{ "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.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." },
+{ "","" },
+{ "","" },
+{ "","" },
+{ "","" },
+{ "","" },
+{ "","" },
+{ "","" },
+{ "","" },
{ "","" },
{ "","" },
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 20f8b57..25e76ee 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1060,14 +1060,15 @@ void MainWindow::initActions()
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 );
@@ -2428,5 +2429,8 @@ void MainWindow::getFile( bool success )
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);
}
void MainWindow::printSel( )