From 17470f68220902bc4acff8aa4e8f3ffa7472be46 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Thu, 11 Jun 2015 20:13:10 +0200 Subject: Printing: add a "one dive per page" option Add another printing option to the print dialog. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov --- qt-ui/printoptions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qt-ui/printoptions.h') diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h index 1e12efae7..13ef4e310 100644 --- a/qt-ui/printoptions.h +++ b/qt-ui/printoptions.h @@ -11,6 +11,10 @@ struct print_options { TABLE, STATISTICS } type; + enum print_template { + ONE_DIVE, + TWO_DIVE + } p_template; bool print_selected; bool color_selected; bool landscape; @@ -36,6 +40,7 @@ slots: void on_radioStatisticsPrint_clicked(bool check); void on_radioTablePrint_clicked(bool check); void on_radioDiveListPrint_clicked(bool check); + void on_printTemplate_currentIndexChanged(int index); }; #endif // PRINTOPTIONS_H -- cgit v1.2.3-70-g09d2