summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/printlayout.h')
-rw-r--r--qt-ui/printlayout.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/qt-ui/printlayout.h b/qt-ui/printlayout.h
index ac363ab8d..79c1d658e 100644
--- a/qt-ui/printlayout.h
+++ b/qt-ui/printlayout.h
@@ -19,9 +19,9 @@ public:
private:
PrintDialog *dialog;
QPrinter *printer;
+ QPainter *painter;
struct options *printOptions;
- QPainter *painter;
int screenDpiX, screenDpiY, printerDpi, scaledPageW, scaledPageH;
qreal scaleX, scaleY;
QRect pageRect;
@@ -31,8 +31,7 @@ private:
unsigned int tablePrintHeadingBackground;
void setup();
- void printSixDives() const;
- void printTwoDives() const;
+ void printProfileDives(int divesPerRow, int divesPerColumn);
void printTable();
void addTablePrintDataRow(TablePrintModel *model, int row, struct dive *dive) const;
void addTablePrintHeadingRow(TablePrintModel *model, int row) const;