mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2914 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -76,8 +76,8 @@ ExportDialog::ExportDialog(QETProject *project, QWidget *parent) : QDialog(paren
|
|||||||
hLayout -> addWidget(new QLabel(tr("Choisissez les sch\351mas que vous d\351sirez exporter ainsi que leurs dimensions :")));
|
hLayout -> addWidget(new QLabel(tr("Choisissez les sch\351mas que vous d\351sirez exporter ainsi que leurs dimensions :")));
|
||||||
selectAll = new QPushButton();
|
selectAll = new QPushButton();
|
||||||
deSelectAll = new QPushButton();
|
deSelectAll = new QPushButton();
|
||||||
selectAll -> setText(tr("Select All"));
|
selectAll -> setText(tr("Tout cocher"));
|
||||||
deSelectAll -> setText(tr("De-Select All"));
|
deSelectAll -> setText(tr("Tout d\351cocher"));
|
||||||
hLayout -> addWidget(selectAll);
|
hLayout -> addWidget(selectAll);
|
||||||
hLayout -> addWidget(deSelectAll);
|
hLayout -> addWidget(deSelectAll);
|
||||||
connect(selectAll, SIGNAL(clicked()), this, SLOT(slot_selectAllClicked()));
|
connect(selectAll, SIGNAL(clicked()), this, SLOT(slot_selectAllClicked()));
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ ExportProperties ExportPropertiesWidget::exportProperties() const {
|
|||||||
export_properties.format = format -> itemData(format -> currentIndex()).toString();
|
export_properties.format = format -> itemData(format -> currentIndex()).toString();
|
||||||
export_properties.draw_grid = draw_grid -> isChecked();
|
export_properties.draw_grid = draw_grid -> isChecked();
|
||||||
export_properties.draw_border = draw_border -> isChecked();
|
export_properties.draw_border = draw_border -> isChecked();
|
||||||
export_properties.draw_titleblock = draw_titleblock -> isChecked();
|
export_properties.draw_titleblock = draw_titleblock -> isChecked();
|
||||||
export_properties.draw_terminals = draw_terminals -> isChecked();
|
export_properties.draw_terminals = draw_terminals -> isChecked();
|
||||||
export_properties.draw_colored_conductors = draw_colored_conductors -> isChecked();
|
export_properties.draw_colored_conductors = draw_colored_conductors -> isChecked();
|
||||||
export_properties.exported_area = export_border -> isChecked() ? QET::BorderArea : QET::ElementsArea;
|
export_properties.exported_area = export_border -> isChecked() ? QET::BorderArea : QET::ElementsArea;
|
||||||
@@ -70,7 +70,7 @@ void ExportPropertiesWidget::setExportProperties(const ExportProperties &export_
|
|||||||
|
|
||||||
draw_grid -> setChecked(export_properties.draw_grid);
|
draw_grid -> setChecked(export_properties.draw_grid);
|
||||||
draw_border -> setChecked(export_properties.draw_border);
|
draw_border -> setChecked(export_properties.draw_border);
|
||||||
draw_titleblock -> setChecked(export_properties.draw_titleblock);
|
draw_titleblock -> setChecked(export_properties.draw_titleblock);
|
||||||
draw_terminals -> setChecked(export_properties.draw_terminals);
|
draw_terminals -> setChecked(export_properties.draw_terminals);
|
||||||
draw_colored_conductors -> setChecked(export_properties.draw_colored_conductors);
|
draw_colored_conductors -> setChecked(export_properties.draw_colored_conductors);
|
||||||
|
|
||||||
@@ -203,7 +203,7 @@ void ExportPropertiesWidget::build() {
|
|||||||
connect(exported_content_choices, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(exportedAreaChanged()));
|
connect(exported_content_choices, SIGNAL(buttonClicked(QAbstractButton *)), this, SIGNAL(exportedAreaChanged()));
|
||||||
connect(draw_grid, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
connect(draw_grid, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
||||||
connect(draw_border, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
connect(draw_border, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
||||||
connect(draw_titleblock, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
connect(draw_titleblock, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
||||||
connect(draw_terminals, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
connect(draw_terminals, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
||||||
connect(draw_colored_conductors, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
connect(draw_colored_conductors, SIGNAL(stateChanged(int)), this, SIGNAL(optionChanged()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user