summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-10 19:27:10 +0300
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-10 19:27:10 +0300
commit9dc45af915f2c8bc93703cbcc79ade1d3261e297 (patch)
treed9ec911acd138754a5c887bc3830d5804db3bfd8 /qt-ui/printdialog.h
parent20804b16d333f0a9d8b9f5e6eba05eddd60cc68e (diff)
downloadsubsurface-9dc45af915f2c8bc93703cbcc79ade1d3261e297.tar.gz
Print: add a print preview for testing purposes
Use a QPrintPreviewDialog, while the print logic is WIP. This way Qt will show the print output in a window instead of exporting to a file and opending it manualy. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h
index b97a318c5..097de9531 100644
--- a/qt-ui/printdialog.h
+++ b/qt-ui/printdialog.h
@@ -24,6 +24,7 @@ private:
private slots:
void printClicked();
+ void onPaintRequested(QPrinter *);
};
#endif