summaryrefslogtreecommitdiffstats
path: root/printer.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-10 21:45:27 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:03 +0300
commitd4382c7c4b802b030bab5e64de4b1641f603d543 (patch)
tree335bf7e56a091c7b7f52a0fb9598f90fbc58523c /printer.h
parent3a6963836682aa0e0e2825db4eaac7ea48a9939b (diff)
downloadsubsurface-d4382c7c4b802b030bab5e64de4b1641f603d543.tar.gz
Printing: add preview to TemplateEdit dialog
Show QPixmap in QLabel, Use Printer class to render the Preview on the QPixmap. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'printer.h')
-rw-r--r--printer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/printer.h b/printer.h
index dee9ba980..b4cf3ac2a 100644
--- a/printer.h
+++ b/printer.h
@@ -38,6 +38,7 @@ public:
Printer(QPaintDevice *paintDevice, print_options *printOptions, template_options *templateOptions, PrintMode printMode);
~Printer();
void print();
+ void previewOnePage();
signals:
void progessUpdated(int value);