mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 11:36:16 +00:00
21 lines
263 B
C
21 lines
263 B
C
|
#ifndef PRINTER_H
|
||
|
#define PRINTER_H
|
||
|
|
||
|
#include <QPrinter>
|
||
|
#include <QWebView>
|
||
|
|
||
|
class Printer : public QObject {
|
||
|
Q_OBJECT
|
||
|
|
||
|
private:
|
||
|
QPrinter *printer;
|
||
|
QWebView *webView;
|
||
|
void render();
|
||
|
|
||
|
public:
|
||
|
Printer(QPrinter *printer);
|
||
|
void print();
|
||
|
};
|
||
|
|
||
|
#endif //PRINTER_H
|