QElectroTech  0.70
exportproperties.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2019 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;
46  bool draw_border;
51 };
52 #endif
QString format
Image format of generated files.
virtual ~ExportProperties()
DiagramArea
Definition: qet.h:137
bool draw_border
Whether to render the border (along with rows/columns headers)
void toSettings(QSettings &, const QString &=QString()) const
void fromSettings(QSettings &, const QString &=QString())
bool draw_colored_conductors
Whether to render conductors colors.
QDir destination_directory
Target directory for generated files.
static ExportProperties defaultExportProperties()
ExportProperties::defaultProperties.
static ExportProperties defaultPrintProperties()
ExportProperties::defaultPrintProperties.
bool draw_titleblock
Whether to render the title block.
bool draw_grid
Whether to render the diagram grid.
QET::DiagramArea exported_area
Area of diagrams to be rendered.
bool draw_terminals
Whether to render terminals.