diff --git a/lang/qet_en.qm b/lang/qet_en.qm index f22ab3af8..a84fd5abc 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 aa01005db..cc1a7c341 100644 --- a/lang/qet_en.ts +++ b/lang/qet_en.ts @@ -1,6 +1,5 @@ - AboutQET @@ -255,35 +254,45 @@ DiagramPrintDialog - + Options d'impression Print options - + Utiliser toute la feuille Use full page - + Adapter le schéma à la page Fit diagram to page - - Plage de - Range from - - - + à 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 + DiagramView @@ -337,31 +346,6 @@ Propriétés du schéma Diagram properties - - - Dimensions du schéma - Diagram size - - - - Colonnes : - Columns: - - - - × - × - - - - px - px - - - - Hauteur : - Height: - Éditer les propriétés par défaut des conducteurs @@ -387,11 +371,6 @@ schema diagram - - - Lignes : - Rows: - ElementDeleter @@ -1057,36 +1036,6 @@ Changes will be permanent. Nouveau schéma New Diagram - - - Dimensions du schéma - Diagram size - - - - Colonnes : - Columns: - - - - × - × - - - - px - px - - - - Hauteur : - Height: - - - - Lignes : - Rows: - NewElementWizard @@ -1469,11 +1418,6 @@ Available options: Afficher Display - - - Agrandir le schéma - Expand the diagram - Agrandit le schéma @@ -1869,11 +1813,6 @@ Available options: Restaure le zoom par défaut Restores default zoom level - - - Rétrécir le schéma - Shrink the diagram - Rétrécit le schéma diff --git a/sources/diagramprintdialog.cpp b/sources/diagramprintdialog.cpp index df210b194..6118d527e 100644 --- a/sources/diagramprintdialog.cpp +++ b/sources/diagramprintdialog.cpp @@ -143,12 +143,27 @@ int DiagramPrintDialog::verticalPagesCount(bool fullpage) const { */ void DiagramPrintDialog::buildDialog() { dialog = new QDialog(parentWidget()); + dialog -> setMinimumWidth(460); dialog -> setWindowTitle(tr("Options d'impression")); options_label = new QLabel(); use_full_page = new QCheckBox(tr("Utiliser toute la feuille")); + use_full_page_label_ = new QLabel(tr( + "Si cette option est coch\351e, les marges de la feuille seront " + "ignor\351es et toute sa surface sera utilis\351e pour l'impression. " + "Cela peut ne pas \352tre support\351 par votre imprimante." + )); + use_full_page_label_ -> setWordWrap(true); + use_full_page_label_ -> setContentsMargins(20, 0, 0, 0); fit_diagram_to_page = new QCheckBox(tr("Adapter le sch\351ma \340 la page")); + fit_diagram_to_page_label_ = new QLabel(tr( + "Si cette option est coch\351e, le sch\351ma sera agrandi ou " + "r\351tr\351ci de fa\347on \340 remplir toute la surface imprimable " + "d'une et une seule page." + )); + fit_diagram_to_page_label_ -> setWordWrap(true); + fit_diagram_to_page_label_ -> setContentsMargins(20, 0, 0, 0); fit_diagram_to_page -> setChecked(true); - range_from_label = new QLabel(tr("Plage de ")); + range_from_label = new QLabel(tr("Pages \340 imprimer : plage de ")); start_page = new QSpinBox(); to_label = new QLabel(tr(" \340 ")); end_page = new QSpinBox(); @@ -159,11 +174,14 @@ void DiagramPrintDialog::buildDialog() { pages_layout -> addWidget(start_page); pages_layout -> addWidget(to_label); pages_layout -> addWidget(end_page); + pages_layout -> addStretch(); QVBoxLayout *dialog_layout = new QVBoxLayout(dialog); dialog_layout -> addWidget(options_label); dialog_layout -> addWidget(use_full_page); + dialog_layout -> addWidget(use_full_page_label_); dialog_layout -> addWidget(fit_diagram_to_page); + dialog_layout -> addWidget(fit_diagram_to_page_label_); dialog_layout -> addLayout(pages_layout); dialog_layout -> addStretch(); dialog_layout -> addWidget(buttons); diff --git a/sources/diagramprintdialog.h b/sources/diagramprintdialog.h index 6fe128608..c2c8ee6b6 100644 --- a/sources/diagramprintdialog.h +++ b/sources/diagramprintdialog.h @@ -66,7 +66,9 @@ class DiagramPrintDialog : public QWidget { QLabel *range_from_label; QLabel *to_label; QCheckBox *use_full_page; + QLabel *use_full_page_label_; QCheckBox *fit_diagram_to_page; + QLabel *fit_diagram_to_page_label_; QSpinBox *start_page; QSpinBox *end_page; QDialogButtonBox *buttons;