Added Israleli grid projection
[GPXSee.git] / src / GUI / pdfexportdialog.h
blobf20303ca279db66b6f7bc6f3f9bac2a1adad261b
1 #ifndef PDFEXPORTDIALOG_H
2 #define PDFEXPORTDIALOG_H
4 #include <QDialog>
5 #include <QPrinter>
6 #include "units.h"
8 class QComboBox;
9 class QRadioButton;
10 class FileSelectWidget;
11 class MarginsFWidget;
13 struct PDFExport
15 QString fileName;
16 QPageSize::PageSizeId paperSize;
17 QPageLayout::Orientation orientation;
18 QMarginsF margins;
19 int resolution;
22 class PDFExportDialog : public QDialog
24 Q_OBJECT
26 public:
27 PDFExportDialog(PDFExport &exp, Units units, QWidget *parent = 0);
29 public slots:
30 void accept();
32 private:
33 PDFExport &_export;
35 Units _units;
36 FileSelectWidget *_fileSelect;
37 QComboBox *_paperSize;
38 QComboBox *_resolution;
39 QRadioButton *_portrait;
40 QRadioButton *_landscape;
41 MarginsFWidget *_margins;
44 #endif // PDFEXPORTDIALOG_H