Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
dialogexportpdf.h
Go to the documentation of this file.
1
15
16#ifndef DIALOGEXPORTPDF_H
17#define DIALOGEXPORTPDF_H
18
19#include <QDialog>
20#include <QPrinter>
21#include <QPageLayout>
22
23
24namespace Ui {
25class DialogExportPDF;
26}
27
28
29class DialogExportPDF : public QDialog
30{
31 Q_OBJECT
32public:
33 explicit DialogExportPDF (QWidget *parent = Q_NULLPTR );
35public slots:
36 void checkFilename(const QString &fileName = QString());
37 void getFilename();
38 void getPrinterMode(const QString &mode);
39 void getUserChoices ();
40signals:
41 void userChoices( QString &filename,
42 const QPageLayout::Orientation &orientation,
43 const int &dpi,
44 const QPrinter::PrinterMode printerMode,
45 const QPageSize &pageSize = QPageSize(QPageSize::A4));
46private:
47 QString m_fileName;
48 int m_dpi;
49 QPageLayout::Orientation m_orientation;
50 QPrinter::PrinterMode m_printerMode;
51 Ui::DialogExportPDF *ui;
52
53
54};
55
56#endif // DIALOGEXPORTPDF_H
void getUserChoices()
Definition dialogexportpdf.cpp:146
DialogExportPDF(QWidget *parent=Q_NULLPTR)
Definition dialogexportpdf.cpp:25
~DialogExportPDF()
Definition dialogexportpdf.cpp:73
QString m_fileName
Definition dialogexportpdf.h:47
void checkFilename(const QString &fileName=QString())
Definition dialogexportpdf.cpp:79
void getFilename()
Gets the filename of the PDF.
Definition dialogexportpdf.cpp:116
Ui::DialogExportPDF * ui
Definition dialogexportpdf.h:51
int m_dpi
Definition dialogexportpdf.h:48
QPrinter::PrinterMode m_printerMode
Definition dialogexportpdf.h:50
void getPrinterMode(const QString &mode)
Gets printer quality mode.
Definition dialogexportpdf.cpp:130
QPageLayout::Orientation m_orientation
Definition dialogexportpdf.h:49
void userChoices(QString &filename, const QPageLayout::Orientation &orientation, const int &dpi, const QPrinter::PrinterMode printerMode, const QPageSize &pageSize=QPageSize(QPageSize::A4))
Definition dialogexportimage.h:21