summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h
index b3dcfa826..b97a318c5 100644
--- a/qt-ui/printdialog.h
+++ b/qt-ui/printdialog.h
@@ -2,8 +2,10 @@
#define PRINTDIALOG_H
#include <QDialog>
+#include <QPrinter>
#include "../display.h"
#include "printoptions.h"
+#include "printlayout.h"
// should be based on a custom QPrintDialog class
class PrintDialog : public QDialog {
@@ -17,6 +19,8 @@ public:
private:
explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
PrintOptions *optionsWidget;
+ PrintLayout *printLayout;
+ QPrinter printer;
private slots:
void printClicked();