|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef EXPORTDIALOG_H
19 #define EXPORTDIALOG_H
int diagramsToExportCount() const
Definition: exportdialog.cpp:113
static const double sheetHeight
Definition: createdxf.h:112
QPushButton * keep_ratio
Definition: exportdialog.h:59
QSignalMapper * ratio_mapper_
Definition: exportdialog.h:80
ExportDiagramLine(Diagram *, QSize)
Definition: exportdialog.cpp:973
QIcon IC_CopyFile
Definition: qeticons.cpp:40
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition: dynamicelementtextitem.h:39
static double yScale
Definition: createdxf.h:114
ExportDialog(QETProject *, QWidget *=nullptr)
Definition: exportdialog.cpp:45
QSignalMapper * height_mapper_
Definition: exportdialog.h:79
QPushButton * clipboard
Definition: exportdialog.h:62
void slot_export()
Definition: exportdialog.cpp:695
QPushButton * deSelectAll
Definition: exportdialog.h:74
QLabel * x_label
Definition: exportdialog.h:57
ExportDialog(const ExportDialog &)
QLabel * title_label
Definition: exportdialog.h:54
void generateSvg(Diagram *, int, int, bool, QIODevice &)
Definition: exportdialog.cpp:372
void slot_resetSize(int)
Definition: exportdialog.cpp:305
void slot_previewDiagram(int)
Definition: exportdialog.cpp:884
void slot_correctWidth(int)
Definition: exportdialog.cpp:237
QString format
Image format of generated files.
Definition: exportproperties.h:44
QDialogButtonBox * buttons
Definition: exportdialog.h:71
QDir destination_directory
Target directory for generated files.
Definition: exportproperties.h:43
void slot_keepRatioChanged(int)
Definition: exportdialog.cpp:282
QImage generateImage(Diagram *, int, int, bool)
Definition: exportdialog.cpp:330
QPushButton * reset_size
Definition: exportdialog.h:60
Definition: elementpicturefactory.h:41
QSignalMapper * reset_mapper_
Definition: exportdialog.h:81
~ExportDialog() override
Definition: exportdialog.cpp:107
Definition: diagramimageitem.h:31
virtual bool toDXF(const QString &filepath, const QPen &pen)
QetShapeItem::toDXF Draw this element to the dxf document.
Definition: qetshapeitem.cpp:967
void exportDiagram(ExportDiagramLine *)
Definition: exportdialog.cpp:752
QSignalMapper * clipboard_mapper_
Definition: exportdialog.h:82
static void dxfBegin(const QString &)
Definition: createdxf.cpp:42
QETProject * project_
Definition: exportdialog.h:85
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
Definition: conductorsegment.h:25
QString stringToFileName(const QString &)
Definition: qet.cpp:414
void slot_correctHeight(int)
Definition: exportdialog.cpp:260
Diagram * diagram
Definition: exportdialog.h:52
ElementPictureFactory::primitives getPrimitives(const ElementsLocation &location)
ElementPictureFactory::getPrimitives.
Definition: elementpicturefactory.cpp:120
qreal diagramRatio(Diagram *)
Definition: exportdialog.cpp:206
static void dxfEnd(const QString &)
Definition: createdxf.cpp:232
ElementsLocation location() const
Definition: element.cpp:1760
void slot_exportToClipBoard(int)
Definition: exportdialog.cpp:933
QSpinBox * height
Definition: exportdialog.h:58
@ BorderArea
Export the diagram along with its border and title block.
Definition: qet.h:140
void slot_checkDiagramsCount()
Definition: exportdialog.cpp:840
static void drawLine(const QString &filapath, double, double, double, double, const int &clorcode)
Definition: createdxf.cpp:290
void slot_selectAllClicked()
Definition: exportdialog.cpp:188
QPointF pos
Definition: conductor.h:46
ExportPropertiesWidget * epw
Definition: exportdialog.h:70
void slot_changeFilesExtension(bool=false)
Definition: exportdialog.cpp:850
QCheckBox * must_export
Definition: exportdialog.h:53
static void drawCircle(const QString &, double, double, double, int)
Definition: createdxf.cpp:256
QWidget * initDiagramsListPart()
Definition: exportdialog.cpp:125
static ElementPictureFactory * instance()
instance
Definition: elementpicturefactory.h:55
static void drawRectangle(const QString &filepath, double, double, double, double, const int &colorcode)
Definition: createdxf.cpp:565
static void drawText(const QString &, const QString &, double, double, double, double, int)
Createdxf::drawText draw simple text in dxf format without any alignment specified.
Definition: createdxf.cpp:736
static const qreal margin
margin around the diagram
Definition: diagram.h:97
void generateDxf(Diagram *, int, int, bool, QString &)
Definition: exportdialog.cpp:402
static double xScale
Definition: createdxf.h:113
Definition: diagramtextitem.h:34
QIcon ZoomOriginal
Definition: qeticons.cpp:180
Definition: qetproject.h:51
QSignalMapper * preview_mapper_
Definition: exportdialog.h:77
Definition: exportdialog.h:47
static const double sheetWidth
Definition: createdxf.h:111
QPushButton * selectAll
Definition: exportdialog.h:73
QBoxLayout * sizeLayout()
Definition: exportdialog.cpp:1034
QSignalMapper * width_mapper_
Definition: exportdialog.h:78
QIcon ObjectLocked
Definition: qeticons.cpp:123
QSize diagramSize(Diagram *)
Definition: exportdialog.cpp:217
QMessageBox::StandardButton warning(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:68
QSpinBox * width
Definition: exportdialog.h:56
QPushButton * preview
Definition: exportdialog.h:61
static void drawArcEllipse(const QString &file_path, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal spanAngle, qreal hotspot_x, qreal hotspot_y, qreal rotation_angle, const int &colorcode)
Definition: createdxf.cpp:426
void slot_changeUseBorder()
Definition: exportdialog.cpp:822
Definition: independenttextitem.h:28
The QetShapeItem class this class is used to draw a basic shape (line, rectangle, ellipse) into a dia...
Definition: qetshapeitem.h:36
static ExportProperties defaultExportProperties()
ExportProperties::defaultProperties.
Definition: exportproperties.cpp:116
void slot_deSelectAllClicked()
Definition: exportdialog.cpp:194
Definition: exportproperties.h:27
@ Horizontal
Horizontal segment.
Definition: qet.h:89
QMessageBox::StandardButton critical(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:23
QIcon Start
Definition: qeticons.cpp:162
QIcon ObjectUnlocked
Definition: qeticons.cpp:125
virtual ~ExportDiagramLine()
Definition: exportdialog.cpp:1027
QGridLayout * diagrams_list_layout_
Definition: exportdialog.h:69
QLineEdit * file_name
Definition: exportdialog.h:55
Definition: conductor.h:43
Definition: conductortextitem.h:30
Definition: exportdialog.h:30
QPen pen
Definition: qetshapeitem.h:39
void saveReloadDiagramParameters(Diagram *, bool=true)
Definition: exportdialog.cpp:352
QIcon tr
Definition: qeticons.cpp:206
static QPointF rotation_transformed(qreal, qreal, qreal, qreal, qreal)
Definition: exportdialog.cpp:668
QIcon Cancel
Definition: qeticons.cpp:34
QHash< int, ExportDialog::ExportDiagramLine * > diagram_lines_
Definition: exportdialog.h:67