Merge remote-tracking branch 'weblate/master'
[GPXSee.git] / src / GUI / pngexportdialog.h
blob432241d493dd9fc7a8e0d0fd987bbc746b57e173
1 #ifndef PNGEXPORTDIALOG_H
2 #define PNGEXPORTDIALOG_H
4 #include <QDialog>
5 #include <QMargins>
7 class FileSelectWidget;
8 class MarginsWidget;
9 class QSpinBox;
10 class QCheckBox;
12 struct PNGExport
14 QString fileName;
15 QSize size;
16 QMargins margins;
17 bool antialiasing;
20 class PNGExportDialog : public QDialog
22 Q_OBJECT
24 public:
25 PNGExportDialog(PNGExport &exp, QWidget *parent = 0);
27 public slots:
28 void accept();
30 private:
31 PNGExport &_export;
33 FileSelectWidget *_fileSelect;
34 QSpinBox *_width;
35 QSpinBox *_height;
36 MarginsWidget *_margins;
37 QCheckBox *_antialiasing;
40 #endif // PNGEXPORTDIALOG_H