diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-05-30 13:27:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-04 10:07:59 -0700 |
commit | b4e1563d10ff1d610fdcd622871620e50b0c5bd5 (patch) | |
tree | 53fe13e31bede0465fef4b1cac510ea7a3a06cd1 /qt-ui/printoptions.h | |
parent | 1cff998f8412218fd2447f390eadf05b2ea9ae34 (diff) | |
download | subsurface-b4e1563d10ff1d610fdcd622871620e50b0c5bd5.tar.gz |
Printing: remove the print_options struct from display.h
Move print_options struct to printoptions.h, its more relevant to be
placed here.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r-- | qt-ui/printoptions.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h index af845cb19..1e12efae7 100644 --- a/qt-ui/printoptions.h +++ b/qt-ui/printoptions.h @@ -5,6 +5,17 @@ #include "ui_printoptions.h" +struct print_options { + enum print_type { + DIVELIST, + TABLE, + STATISTICS + } type; + bool print_selected; + bool color_selected; + bool landscape; +}; + // should be based on a custom QPrintDialog class class PrintOptions : public QWidget { Q_OBJECT |