mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: refactoring printer class
- Render specific number of pages only. - Move printer related code to print(). Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
51e36fa158
commit
4e1a5d954b
2 changed files with 20 additions and 21 deletions
|
|
@ -21,7 +21,7 @@ private:
|
|||
QSize pageSize;
|
||||
int done;
|
||||
int dpi;
|
||||
void render();
|
||||
void render(int Pages);
|
||||
void putProfileImage(QRect box, QRect viewPort, QPainter *painter, struct dive *dive, QPointer<ProfileWidget2> profile);
|
||||
|
||||
private slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue