QElectroTech
0.8-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. More... | |
static ExportProperties | defaultPrintProperties () |
ExportProperties::defaultPrintProperties. More... | |
Public Attributes | |
QDir | destination_directory |
Target directory for generated files. More... | |
QString | format |
Image format of generated files. More... | |
bool | draw_grid |
Whether to render the diagram grid. More... | |
bool | draw_border |
Whether to render the border (along with rows/columns headers) More... | |
bool | draw_titleblock |
Whether to render the title block. More... | |
bool | draw_terminals |
Whether to render terminals. More... | |
bool | draw_colored_conductors |
Whether to render conductors colors. More... | |
QET::DiagramArea | exported_area |
Area of diagrams to be rendered. More... | |
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_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.