diff options
Diffstat (limited to 'printer.h')
-rw-r--r-- | printer.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3,6 +3,10 @@ #include <QPrinter> #include <QWebView> +#include <QRect> +#include <QPainter> + +#include "profile/profilewidget2.h" class Printer : public QObject { Q_OBJECT @@ -11,6 +15,7 @@ private: QPrinter *printer; QWebView *webView; void render(); + void putProfileImage(QRect box, QRect viewPort, QPainter *painter, struct dive *dive, QPointer<ProfileWidget2> profile); int done; private slots: |