diff --git a/lang/qet_en.qm b/lang/qet_en.qm index a84fd5abc..020fad852 100644 Binary files a/lang/qet_en.qm and b/lang/qet_en.qm differ diff --git a/lang/qet_en.ts b/lang/qet_en.ts index cc1a7c341..e94a1d09f 100644 --- a/lang/qet_en.ts +++ b/lang/qet_en.ts @@ -254,42 +254,42 @@ DiagramPrintDialog - + Options d'impression Print options - + Utiliser toute la feuille Use full page - + Adapter le schéma à la page Fit diagram to page - + à to - + Nombre total de pages : Total pages count: - + Si cette option est cochée, les marges de la feuille seront ignorées et toute sa surface sera utilisée pour l'impression. Cela peut ne pas être supporté par votre imprimante. If this option is checked, the paper margins are ignored and its whole surface is used for the printing. This may not be supported by your printer. - + Si cette option est cochée, le schéma sera agrandi ou rétréci de façon à remplir toute la surface imprimable d'une et une seule page. If this option is checked, the diagram will be shrinked or expanded to fit the printable surface of a single page. - + Pages à imprimer : plage de Pages to print: from @@ -1364,7 +1364,7 @@ Available options: QETDiagramEditor - + Active la fenêtre Activates the window diff --git a/sources/diagramprintdialog.cpp b/sources/diagramprintdialog.cpp index 6118d527e..556ef1c94 100644 --- a/sources/diagramprintdialog.cpp +++ b/sources/diagramprintdialog.cpp @@ -77,13 +77,16 @@ QString DiagramPrintDialog::docName() const { */ void DiagramPrintDialog::exec() { - // affichage du dialogue d'impression standard - QPrintDialog print_dialog(printer, parentWidget()); - print_dialog.setEnabledOptions(QAbstractPrintDialog::PrintToFile | QAbstractPrintDialog::PrintShowPageSize); #ifndef Q_OS_WIN32 if (!pdf_name.isEmpty()) printer -> setOutputFileName(pdf_name); if (!doc_name.isEmpty()) printer -> setDocName(doc_name); #endif + + // affichage du dialogue d'impression standard + QPrintDialog print_dialog(printer, parentWidget()); + print_dialog.setWindowTitle(tr("Options d'impression")); + print_dialog.setEnabledOptions(QAbstractPrintDialog::PrintToFile | QAbstractPrintDialog::PrintShowPageSize); + if (print_dialog.exec() == QDialog::Rejected) return; /*