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>
This commit is contained in:
Gehad elrobey 2015-06-11 20:13:10 +02:00 committed by Lubomir I. Ivanov
parent cd30e11672
commit 17470f6822
4 changed files with 35 additions and 0 deletions

View file

@ -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