QElectroTech  0.70
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ExportPropertiesWidget Class Reference

#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
 

Detailed Description

This widget enables users to edit the various options available when exporting a project.

Definition at line 27 of file exportpropertieswidget.h.

Constructor & Destructor Documentation

◆ ExportPropertiesWidget() [1/3]

ExportPropertiesWidget::ExportPropertiesWidget ( QWidget *  parent = nullptr)

Constructeur

Parameters
parentQWidget parent

Definition at line 24 of file exportpropertieswidget.cpp.

References build(), and setExportProperties().

◆ ExportPropertiesWidget() [2/3]

ExportPropertiesWidget::ExportPropertiesWidget ( const ExportProperties export_properties,
QWidget *  parent = nullptr 
)

Constructeur

Parameters
export_propertiesParametres d'export a afficher / editer
parentQWidget parent

Definition at line 36 of file exportpropertieswidget.cpp.

References build(), and setExportProperties().

◆ ~ExportPropertiesWidget()

ExportPropertiesWidget::~ExportPropertiesWidget ( )
override

Destructeur.

Definition at line 42 of file exportpropertieswidget.cpp.

◆ ExportPropertiesWidget() [3/3]

ExportPropertiesWidget::ExportPropertiesWidget ( const ExportPropertiesWidget )
private

Member Function Documentation

◆ build()

void ExportPropertiesWidget::build ( )
private

◆ exportedAreaChanged

void ExportPropertiesWidget::exportedAreaChanged ( )
signal

Referenced by build().

◆ exportProperties()

ExportProperties ExportPropertiesWidget::exportProperties ( ) const

◆ formatChanged

void ExportPropertiesWidget::formatChanged ( )
signal

Referenced by build().

◆ optionChanged

void ExportPropertiesWidget::optionChanged ( )
signal

Referenced by build().

◆ setExportProperties()

void ExportPropertiesWidget::setExportProperties ( const ExportProperties export_properties)

◆ setPrintingMode()

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.

Parameters
modetrue 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_chooseADirectory

void ExportPropertiesWidget::slot_chooseADirectory ( )
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().

Member Data Documentation

◆ button_browse

QPushButton* ExportPropertiesWidget::button_browse
private

Definition at line 58 of file exportpropertieswidget.h.

Referenced by build(), and setPrintingMode().

◆ dirpath

QLineEdit* ExportPropertiesWidget::dirpath
private

◆ dirpath_label

QLabel* ExportPropertiesWidget::dirpath_label
private

Definition at line 56 of file exportpropertieswidget.h.

Referenced by build(), and setPrintingMode().

◆ draw_border

QCheckBox* ExportPropertiesWidget::draw_border
private

Definition at line 62 of file exportpropertieswidget.h.

Referenced by build(), exportProperties(), and setExportProperties().

◆ draw_colored_conductors

QCheckBox* ExportPropertiesWidget::draw_colored_conductors
private

Definition at line 65 of file exportpropertieswidget.h.

Referenced by build(), exportProperties(), and setExportProperties().

◆ draw_grid

QCheckBox* ExportPropertiesWidget::draw_grid
private

Definition at line 61 of file exportpropertieswidget.h.

Referenced by build(), exportProperties(), and setExportProperties().

◆ draw_terminals

QCheckBox* ExportPropertiesWidget::draw_terminals
private

Definition at line 64 of file exportpropertieswidget.h.

Referenced by build(), exportProperties(), and setExportProperties().

◆ draw_titleblock

QCheckBox* ExportPropertiesWidget::draw_titleblock
private

Definition at line 63 of file exportpropertieswidget.h.

Referenced by build(), exportProperties(), and setExportProperties().

◆ export_border

QRadioButton* ExportPropertiesWidget::export_border
private

◆ export_elements

QRadioButton* ExportPropertiesWidget::export_elements
private

Definition at line 67 of file exportpropertieswidget.h.

Referenced by build(), setExportProperties(), and setPrintingMode().

◆ exported_content_choices

QButtonGroup* ExportPropertiesWidget::exported_content_choices
private

Definition at line 68 of file exportpropertieswidget.h.

Referenced by build().

◆ format

QComboBox* ExportPropertiesWidget::format
private

◆ format_label

QLabel* ExportPropertiesWidget::format_label
private

Definition at line 59 of file exportpropertieswidget.h.

Referenced by build(), and setPrintingMode().


The documentation for this class was generated from the following files: