QElectroTech 0.100.0-dev
|
#include <exportproperties.h>
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. | |
This class is a container for various options used when printing or exporting a diagram as an image file.
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
|
virtual |
Destructeur
|
static |
ExportProperties::defaultProperties.
|
static |
ExportProperties::defaultPrintProperties.
void ExportProperties::fromSettings | ( | QSettings & | settings, |
const QString & | prefix = QString() |
||
) |
Lit les options depuis une configuration.
settings | Parametres a lire |
prefix | prefixe a ajouter devant les noms des parametres |
void ExportProperties::toSettings | ( | QSettings & | settings, |
const QString & | prefix = QString() |
||
) | const |
Exporte les options dans une configuration.
settings | Parametres a ecrire |
prefix | prefixe a ajouter devant les noms des parametres |
QDir ExportProperties::destination_directory |
Target directory for generated files.
bool ExportProperties::draw_bg_transparent |
Whether to use transparency for SVG-Export.
bool ExportProperties::draw_border |
Whether to render the border (along with rows/columns headers)
bool ExportProperties::draw_colored_conductors |
Whether to render conductors colors.
bool ExportProperties::draw_grid |
Whether to render the diagram grid.
bool ExportProperties::draw_terminals |
Whether to render terminals.
bool ExportProperties::draw_titleblock |
Whether to render the title block.
QET::DiagramArea ExportProperties::exported_area |
Area of diagrams to be rendered.
QString ExportProperties::format |
Image format of generated files.