|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef DIAGRAM_PRINT_DIALOG_H
19 #define DIAGRAM_PRINT_DIALOG_H
79 QPrinter * =
nullptr);
int horizontalPagesCount(Diagram *, const ExportProperties &, bool=false) const
Definition: diagramprintdialog.cpp:186
static QColor background_color
background color of diagram
Definition: diagram.h:99
~DiagramPrintDialog() override
Definition: diagramprintdialog.cpp:51
int verticalPagesCount(Diagram *, const ExportProperties &, bool=false) const
Definition: diagramprintdialog.cpp:202
ExportProperties exportProperties() const
Definition: qetprintpreviewdialog.cpp:73
bool fitDiagramsToPages() const
Definition: qetprintpreviewdialog.cpp:66
void setFileName(const QString &)
Definition: diagramprintdialog.cpp:60
@ Custom
From user collection.
Definition: qet.h:154
QLabel * pdf_icon_
Definition: diagramprintdialog.h:97
QString doc_name_
Definition: diagramprintdialog.h:88
QRect diagramRect(Diagram *, const ExportProperties &) const
DiagramPrintDialog::diagramRect.
Definition: diagramprintdialog.cpp:91
DiagramPrintDialog(const DiagramPrintDialog &)
void updatePrintTypeDialog()
Definition: diagramprintdialog.cpp:276
QLabel * printer_icon_
Definition: diagramprintdialog.h:96
void setDocName(const QString &)
Definition: diagramprintdialog.cpp:74
QString docName() const
Definition: diagramprintdialog.cpp:81
DiagramPrintDialog(QETProject *, QWidget *=nullptr)
Definition: diagramprintdialog.cpp:34
void saveReloadDiagramParameters(Diagram *, const ExportProperties &, bool)
Definition: diagramprintdialog.cpp:526
void savePageSetupForCurrentPrinter()
Definition: diagramprintdialog.cpp:543
QPrinter * printer_
Definition: diagramprintdialog.h:87
QLineEdit * filepath_field_
Definition: diagramprintdialog.h:101
bool draw_titleblock
Whether to render the title block.
Definition: exportproperties.h:47
QDialogButtonBox * buttons_
Definition: diagramprintdialog.h:103
QETProject * project_
Definition: diagramprintdialog.h:86
QRadioButton * pdf_choice_
Definition: diagramprintdialog.h:100
QVBoxLayout * vlayout0_
Definition: diagramprintdialog.h:94
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
QRadioButton * printer_choice_
Definition: diagramprintdialog.h:99
Definition: qetprintpreviewdialog.h:34
const QString displayedVersion
QElectroTech displayed version.
Definition: qet.h:34
void loadPageSetupForCurrentPrinter()
Definition: diagramprintdialog.cpp:579
QPushButton * browse_button_
Definition: diagramprintdialog.h:102
QMessageBox::StandardButton information(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
Definition: qetmessagebox.cpp:38
QColor backup_diagram_background_color
Definition: diagramprintdialog.h:104
void acceptPrintTypeDialog()
Definition: diagramprintdialog.cpp:304
QIcon PDF
Definition: qeticons.cpp:136
QButtonGroup * printtype_choice_
Definition: diagramprintdialog.h:98
Definition: qetproject.h:51
QDialog * dialog_
Definition: diagramprintdialog.h:91
DiagramsChooser * diagramsChooser()
Definition: qetprintpreviewdialog.cpp:59
void printDiagram(Diagram *, bool, const ExportProperties &, QPainter *, QPrinter *=nullptr)
Definition: diagramprintdialog.cpp:405
void buildPrintTypeDialog()
Definition: diagramprintdialog.cpp:215
QString fileName() const
Definition: diagramprintdialog.cpp:67
Definition: exportproperties.h:27
QHBoxLayout * hlayout0_
Definition: diagramprintdialog.h:95
QGridLayout * glayout0_
Definition: diagramprintdialog.h:93
void exec()
Definition: diagramprintdialog.cpp:110
QIcon Printer
Definition: qeticons.cpp:139
int pagesCount(Diagram *, const ExportProperties &, bool=false) const
Definition: diagramprintdialog.cpp:175
QLabel * printtype_label_
Definition: diagramprintdialog.h:92
QString settingsSectionName(const QPrinter *)
Definition: diagramprintdialog.cpp:629
Definition: diagramschooser.h:27
void print(const QList< Diagram * > &, bool, const ExportProperties &)
Definition: diagramprintdialog.cpp:356
void browseFilePrintTypeDialog()
Definition: diagramprintdialog.cpp:325
The DiagramPrintDialog class This class implements both the dialog allowing users to configure the pr...
Definition: diagramprintdialog.h:34
QIcon tr
Definition: qeticons.cpp:206
QString file_name_
Definition: diagramprintdialog.h:89
QIcon Cancel
Definition: qeticons.cpp:34