summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-07-24 10:56:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-24 11:33:28 -0700
commit21585403dba6ec47afdf81b86557285acb993b7a (patch)
treeb1de6f9e3404cf732a4fc6e06313c3ca0b47d8fc /qt-ui/printlayout.h
parentf29f41ae9ea8b9c6217feab2cd97b165af843c2a (diff)
downloadsubsurface-21585403dba6ec47afdf81b86557285acb993b7a.tar.gz
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>
Diffstat (limited to 'qt-ui/printlayout.h')
-rw-r--r--qt-ui/printlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printlayout.h b/qt-ui/printlayout.h
index 8a907902c..efd3159a8 100644
--- a/qt-ui/printlayout.h
+++ b/qt-ui/printlayout.h
@@ -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;