mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: call print from printer class
This is the main function that prints dive lists. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b4e1563d10
commit
231f90bd26
2 changed files with 17 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <QDialog>
|
||||
#include <QPrinter>
|
||||
#include "printoptions.h"
|
||||
#include "printer.h"
|
||||
|
||||
class QProgressBar;
|
||||
class PrintOptions;
|
||||
|
@ -19,7 +20,8 @@ public:
|
|||
private:
|
||||
PrintOptions *optionsWidget;
|
||||
QProgressBar *progressBar;
|
||||
QPrinter printer;
|
||||
Printer *printer;
|
||||
QPrinter qprinter;
|
||||
struct print_options printOptions;
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue