mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: add 1 dive per page option
With this option there is an exception, which makes the notes section of the profile table occupy half the page. This way dive plans can reasonably be printed. Fixes #636 Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f29f41ae9e
commit
21585403db
6 changed files with 36 additions and 6 deletions
|
@ -38,7 +38,7 @@ private:
|
|||
void setup();
|
||||
int estimateTotalDives() const;
|
||||
void printProfileDives(int divesPerRow, int divesPerColumn);
|
||||
QTableView *createProfileTable(ProfilePrintModel *model, const int tableW);
|
||||
QTableView *createProfileTable(ProfilePrintModel *model, const int tableW, const qreal fitNotesToHeight = 0.0);
|
||||
void printTable();
|
||||
void addTablePrintDataRow(TablePrintModel *model, int row, struct dive *dive) const;
|
||||
void addTablePrintHeadingRow(TablePrintModel *model, int row) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue