QElectroTech
0.70
|
#include <exportpropertieswidget.h>
Public Slots | |
void | slot_chooseADirectory () |
Signals | |
void | formatChanged () |
void | exportedAreaChanged () |
void | optionChanged () |
Public Member Functions | |
ExportPropertiesWidget (QWidget *=nullptr) | |
ExportPropertiesWidget (const ExportProperties &, QWidget *=nullptr) | |
~ExportPropertiesWidget () override | |
Destructeur. More... | |
void | setExportProperties (const ExportProperties &) |
ExportProperties | exportProperties () const |
void | setPrintingMode (bool) |
Private Member Functions | |
ExportPropertiesWidget (const ExportPropertiesWidget &) | |
void | build () |
Private Attributes | |
QLabel * | dirpath_label |
QLineEdit * | dirpath |
QPushButton * | button_browse |
QLabel * | format_label |
QComboBox * | format |
QCheckBox * | draw_grid |
QCheckBox * | draw_border |
QCheckBox * | draw_titleblock |
QCheckBox * | draw_terminals |
QCheckBox * | draw_colored_conductors |
QRadioButton * | export_border |
QRadioButton * | export_elements |
QButtonGroup * | exported_content_choices |
This widget enables users to edit the various options available when exporting a project.
Definition at line 27 of file exportpropertieswidget.h.
ExportPropertiesWidget::ExportPropertiesWidget | ( | QWidget * | parent = nullptr | ) |
Constructeur
parent | QWidget parent |
Definition at line 24 of file exportpropertieswidget.cpp.
References build(), and setExportProperties().
ExportPropertiesWidget::ExportPropertiesWidget | ( | const ExportProperties & | export_properties, |
QWidget * | parent = nullptr |
||
) |
Constructeur
export_properties | Parametres d'export a afficher / editer |
parent | QWidget parent |
Definition at line 36 of file exportpropertieswidget.cpp.
References build(), and setExportProperties().
|
override |
Destructeur.
Definition at line 42 of file exportpropertieswidget.cpp.
|
private |
|
private |
Cette methode construit le widget en lui-meme
Definition at line 119 of file exportpropertieswidget.cpp.
References button_browse, dirpath, dirpath_label, draw_border, draw_colored_conductors, draw_grid, draw_terminals, draw_titleblock, export_border, export_elements, exported_content_choices, exportedAreaChanged(), format, format_label, formatChanged(), optionChanged(), slot_chooseADirectory(), and QET::Icons::tr.
Referenced by ExportPropertiesWidget().
|
signal |
Referenced by build().
ExportProperties ExportPropertiesWidget::exportProperties | ( | ) | const |
Definition at line 48 of file exportpropertieswidget.cpp.
References QET::BorderArea, ExportProperties::destination_directory, dirpath, ExportProperties::draw_border, draw_border, ExportProperties::draw_colored_conductors, draw_colored_conductors, ExportProperties::draw_grid, draw_grid, ExportProperties::draw_terminals, draw_terminals, ExportProperties::draw_titleblock, draw_titleblock, QET::ElementsArea, export_border, ExportProperties::exported_area, ExportProperties::format, and format.
|
signal |
Referenced by build().
|
signal |
Referenced by build().
void ExportPropertiesWidget::setExportProperties | ( | const ExportProperties & | export_properties | ) |
export_properties | les parametres d'export a afficher / editer via le widget |
Definition at line 66 of file exportpropertieswidget.cpp.
References QET::BorderArea, ExportProperties::destination_directory, dirpath, ExportProperties::draw_border, draw_border, ExportProperties::draw_colored_conductors, draw_colored_conductors, ExportProperties::draw_grid, draw_grid, ExportProperties::draw_terminals, draw_terminals, ExportProperties::draw_titleblock, draw_titleblock, export_border, export_elements, ExportProperties::exported_area, ExportProperties::format, and format.
Referenced by ExportPropertiesWidget().
void ExportPropertiesWidget::setPrintingMode | ( | bool | mode | ) |
Passe le widget en mode Impression ou en mode Export. Le mode Impression n'affiche pas autant d'options que le mode Export.
mode | true pour utiliser le widget en mode impression, false pour l'utiliser en mode export |
Definition at line 92 of file exportpropertieswidget.cpp.
References button_browse, dirpath, dirpath_label, export_border, export_elements, format, and format_label.
|
slot |
Slot demandant a l'utilisateur de choisir un dossier
Definition at line 105 of file exportpropertieswidget.cpp.
References dirpath, and QET::Icons::tr.
Referenced by build().
|
private |
Definition at line 58 of file exportpropertieswidget.h.
Referenced by build(), and setPrintingMode().
|
private |
Definition at line 57 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), setExportProperties(), setPrintingMode(), and slot_chooseADirectory().
|
private |
Definition at line 56 of file exportpropertieswidget.h.
Referenced by build(), and setPrintingMode().
|
private |
Definition at line 62 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), and setExportProperties().
|
private |
Definition at line 65 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), and setExportProperties().
|
private |
Definition at line 61 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), and setExportProperties().
|
private |
Definition at line 64 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), and setExportProperties().
|
private |
Definition at line 63 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), and setExportProperties().
|
private |
Definition at line 66 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), setExportProperties(), and setPrintingMode().
|
private |
Definition at line 67 of file exportpropertieswidget.h.
Referenced by build(), setExportProperties(), and setPrintingMode().
|
private |
Definition at line 68 of file exportpropertieswidget.h.
Referenced by build().
|
private |
Definition at line 60 of file exportpropertieswidget.h.
Referenced by build(), exportProperties(), setExportProperties(), setPrintingMode(), ExportDialog::slot_changeFilesExtension(), and ExportDialog::slot_exportToClipBoard().
|
private |
Definition at line 59 of file exportpropertieswidget.h.
Referenced by build(), and setPrintingMode().