QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ExportProperties Class Reference

#include <exportproperties.h>

Collaboration diagram for ExportProperties:
Collaboration graph

Public Member Functions

 ExportProperties ()
 
virtual ~ExportProperties ()
 
void toSettings (QSettings &, const QString &=QString()) const
 
void fromSettings (QSettings &, const QString &=QString())
 

Static Public Member Functions

static ExportProperties defaultExportProperties ()
 ExportProperties::defaultProperties.
 
static ExportProperties defaultPrintProperties ()
 ExportProperties::defaultPrintProperties.
 

Public Attributes

QDir destination_directory
 Target directory for generated files.
 
QString format
 Image format of generated files.
 
bool draw_grid
 Whether to render the diagram grid.
 
bool draw_border
 Whether to render the border (along with rows/columns headers)
 
bool draw_titleblock
 Whether to render the title block.
 
bool draw_terminals
 Whether to render terminals.
 
bool draw_bg_transparent
 Whether to use transparency for SVG-Export.
 
bool draw_colored_conductors
 Whether to render conductors colors.
 
QET::DiagramArea exported_area
 Area of diagrams to be rendered.
 

Detailed Description

This class is a container for various options used when printing or exporting a diagram as an image file.

Constructor & Destructor Documentation

◆ ExportProperties()

ExportProperties::ExportProperties ( )

Constructeur par defaut : le repertoire de destination est le Bureau de l'utilisateur le format d'export est PNG la grille et les bornes ne doivent pas etre dessinees la bordure et le cartouche doivent etre dessines la zone exportee est le schema avec son cadre et son cartouche

◆ ~ExportProperties()

ExportProperties::~ExportProperties ( )
virtual

Destructeur

Member Function Documentation

◆ defaultExportProperties()

ExportProperties ExportProperties::defaultExportProperties ( )
static

ExportProperties::defaultProperties.

Returns
the default properties stored in the setting file
Here is the call graph for this function:
Here is the caller graph for this function:

◆ defaultPrintProperties()

ExportProperties ExportProperties::defaultPrintProperties ( )
static

ExportProperties::defaultPrintProperties.

Returns
the default properties stored in the setting file
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromSettings()

void ExportProperties::fromSettings ( QSettings &  settings,
const QString &  prefix = QString() 
)

Lit les options depuis une configuration.

Parameters
settingsParametres a lire
prefixprefixe a ajouter devant les noms des parametres
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toSettings()

void ExportProperties::toSettings ( QSettings &  settings,
const QString &  prefix = QString() 
) const

Exporte les options dans une configuration.

Parameters
settingsParametres a ecrire
prefixprefixe a ajouter devant les noms des parametres
Here is the call graph for this function:

Member Data Documentation

◆ destination_directory

QDir ExportProperties::destination_directory

Target directory for generated files.

◆ draw_bg_transparent

bool ExportProperties::draw_bg_transparent

Whether to use transparency for SVG-Export.

◆ draw_border

bool ExportProperties::draw_border

Whether to render the border (along with rows/columns headers)

◆ draw_colored_conductors

bool ExportProperties::draw_colored_conductors

Whether to render conductors colors.

◆ draw_grid

bool ExportProperties::draw_grid

Whether to render the diagram grid.

◆ draw_terminals

bool ExportProperties::draw_terminals

Whether to render terminals.

◆ draw_titleblock

bool ExportProperties::draw_titleblock

Whether to render the title block.

◆ exported_area

QET::DiagramArea ExportProperties::exported_area

Area of diagrams to be rendered.

◆ format

QString ExportProperties::format

Image format of generated files.


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