QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
exportproperties.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2024 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef EXPORT_PROPERTIES_H
19#define EXPORT_PROPERTIES_H
20#include <QtCore>
21#include "qet.h"
22
28 // constructeur, destructeur
29 public:
31 virtual ~ExportProperties();
32
33 // methods
34 public:
35 void toSettings (QSettings &, const QString & = QString()) const;
36 void fromSettings(QSettings &, const QString & = QString());
37
40
41 // attributes
42 public:
44 QString format;
45 bool draw_grid;
52};
53#endif
Definition exportproperties.h:27
bool draw_titleblock
Whether to render the title block.
Definition exportproperties.h:47
static ExportProperties defaultPrintProperties()
ExportProperties::defaultPrintProperties.
Definition exportproperties.cpp:137
ExportProperties()
Definition exportproperties.cpp:30
static ExportProperties defaultExportProperties()
ExportProperties::defaultProperties.
Definition exportproperties.cpp:123
QDir destination_directory
Target directory for generated files.
Definition exportproperties.h:43
bool draw_terminals
Whether to render terminals.
Definition exportproperties.h:48
virtual ~ExportProperties()
Definition exportproperties.cpp:48
bool draw_bg_transparent
Whether to use transparency for SVG-Export.
Definition exportproperties.h:49
QET::DiagramArea exported_area
Area of diagrams to be rendered.
Definition exportproperties.h:51
bool draw_border
Whether to render the border (along with rows/columns headers)
Definition exportproperties.h:46
void fromSettings(QSettings &, const QString &=QString())
Definition exportproperties.cpp:86
void toSettings(QSettings &, const QString &=QString()) const
Definition exportproperties.cpp:57
bool draw_grid
Whether to render the diagram grid.
Definition exportproperties.h:45
bool draw_colored_conductors
Whether to render conductors colors.
Definition exportproperties.h:50
QString format
Image format of generated files.
Definition exportproperties.h:44
DiagramArea
Definition qet.h:135