mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3a69638366
commit
d4382c7c4b
4 changed files with 38 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue