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

#include <exportpropertieswidget.h>

Inherits QWidget.

Collaboration diagram for ExportPropertiesWidget:
Collaboration graph

Public Slots

void slot_chooseADirectory ()
 ExportPropertiesWidget::slot_chooseADirectory Slot asking the user to choose a folder / Slot demandant a l'utilisateur de choisir un dossier. More...
 

Signals

void formatChanged ()
 
void exportedAreaChanged ()
 
void optionChanged ()
 

Public Member Functions

 ExportPropertiesWidget (QWidget *=nullptr)
 ExportPropertiesWidget::ExportPropertiesWidget Constructeur. More...
 
 ExportPropertiesWidget (const ExportProperties &, QWidget *=nullptr)
 ExportPropertiesWidget::ExportPropertiesWidget Constructeur. More...
 
 ~ExportPropertiesWidget () override
 ExportPropertiesWidget::~ExportPropertiesWidget Destructeur. More...
 
void setExportProperties (const ExportProperties &)
 ExportPropertiesWidget::setExportProperties. More...
 
ExportProperties exportProperties () const
 ExportPropertiesWidget::exportProperties. More...
 
void setPrintingMode (bool)
 ExportPropertiesWidget::setPrintingMode Puts the widget in Print or Export mode. Print mode does not display as many options as Export mode. / Passe le widget en mode Impression ou en mode Export. Le mode Impression n'affiche pas autant d'options que le mode Export. More...
 

Private Member Functions

 ExportPropertiesWidget (const ExportPropertiesWidget &)
 
void build ()
 ExportPropertiesWidget::build Generated the ExportPropertiesWidget ui / Cette methode construit le widget en lui-meme. More...
 

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.

Constructor & Destructor Documentation

◆ ExportPropertiesWidget() [1/3]

ExportPropertiesWidget::ExportPropertiesWidget ( QWidget *  parent = nullptr)

ExportPropertiesWidget::ExportPropertiesWidget Constructeur.

Parameters
parentQWidget parent
Here is the call graph for this function:

◆ ExportPropertiesWidget() [2/3]

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

ExportPropertiesWidget::ExportPropertiesWidget Constructeur.

Parameters
export_propertiesParametres d'export a afficher / editer
parentQWidget parent
Here is the call graph for this function:

◆ ~ExportPropertiesWidget()

ExportPropertiesWidget::~ExportPropertiesWidget ( )
override

◆ ExportPropertiesWidget() [3/3]

ExportPropertiesWidget::ExportPropertiesWidget ( const ExportPropertiesWidget )
private

Member Function Documentation

◆ build()

void ExportPropertiesWidget::build ( )
private

ExportPropertiesWidget::build Generated the ExportPropertiesWidget ui / Cette methode construit le widget en lui-meme.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportedAreaChanged

void ExportPropertiesWidget::exportedAreaChanged ( )
signal
Here is the caller graph for this function:

◆ exportProperties()

ExportProperties ExportPropertiesWidget::exportProperties ( ) const

ExportPropertiesWidget::exportProperties.

Returns
les parametres d'export definis via le widget

◆ formatChanged

void ExportPropertiesWidget::formatChanged ( )
signal
Here is the caller graph for this function:

◆ optionChanged

void ExportPropertiesWidget::optionChanged ( )
signal
Here is the caller graph for this function:

◆ setExportProperties()

void ExportPropertiesWidget::setExportProperties ( const ExportProperties export_properties)

ExportPropertiesWidget::setExportProperties.

Parameters
export_propertiesles parametres d'export a afficher / editer via le widget
Here is the caller graph for this function:

◆ setPrintingMode()

void ExportPropertiesWidget::setPrintingMode ( bool  mode)

ExportPropertiesWidget::setPrintingMode Puts the widget in Print or Export mode. Print mode does not display as many options as Export 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 to use the widget in print mode, false to use it in export mode / true pour utiliser le widget en mode impression, false pour l'utiliser en mode export

◆ slot_chooseADirectory

void ExportPropertiesWidget::slot_chooseADirectory ( )
slot

ExportPropertiesWidget::slot_chooseADirectory Slot asking the user to choose a folder / Slot demandant a l'utilisateur de choisir un dossier.

Here is the caller graph for this function:

Member Data Documentation

◆ button_browse

QPushButton* ExportPropertiesWidget::button_browse
private

◆ dirpath

QLineEdit* ExportPropertiesWidget::dirpath
private

◆ dirpath_label

QLabel* ExportPropertiesWidget::dirpath_label
private

◆ draw_border

QCheckBox* ExportPropertiesWidget::draw_border
private

◆ draw_colored_conductors

QCheckBox* ExportPropertiesWidget::draw_colored_conductors
private

◆ draw_grid

QCheckBox* ExportPropertiesWidget::draw_grid
private

◆ draw_terminals

QCheckBox* ExportPropertiesWidget::draw_terminals
private

◆ draw_titleblock

QCheckBox* ExportPropertiesWidget::draw_titleblock
private

◆ export_border

QRadioButton* ExportPropertiesWidget::export_border
private

◆ export_elements

QRadioButton* ExportPropertiesWidget::export_elements
private

◆ exported_content_choices

QButtonGroup* ExportPropertiesWidget::exported_content_choices
private

◆ format

QComboBox* ExportPropertiesWidget::format
private

◆ format_label

QLabel* ExportPropertiesWidget::format_label
private

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