summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-11 20:13:10 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-06-19 21:41:57 +0300
commit17470f68220902bc4acff8aa4e8f3ffa7472be46 (patch)
treeac458af4ca4b35b94595232f1b0bb1c762ea3f85 /qt-ui/printoptions.h
parentcd30e11672b08a6fb882a9ff6950f4297c347b3d (diff)
downloadsubsurface-17470f68220902bc4acff8aa4e8f3ffa7472be46.tar.gz
Printing: add a "one dive per page" option
Add another printing option to the print dialog. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r--qt-ui/printoptions.h5
1 files changed, 5 insertions, 0 deletions
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