summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-15 05:22:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-15 05:22:07 -0700
commit2455a5dec70d1baa2d0009e602db6b4f19941b56 (patch)
tree49a74aed6f2186fbdf5c9b301fa353e764da3a07 /qt-ui/printoptions.h
parent0aafa2556e6abefc54469bc7fa3e258c2ce10b51 (diff)
parentf3c5699714e43e91c8ff8f66119da454b314264d (diff)
downloadsubsurface-2455a5dec70d1baa2d0009e602db6b4f19941b56.tar.gz
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r--qt-ui/printoptions.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h
index 4903da09f..6d7ffffee 100644
--- a/qt-ui/printoptions.h
+++ b/qt-ui/printoptions.h
@@ -19,6 +19,7 @@ struct print_options {
struct template_options {
int font_index;
int color_palette_index;
+ int border_width;
double font_size;
double line_spacing;
struct color_palette_struct {
@@ -27,12 +28,14 @@ struct template_options {
QColor color3;
QColor color4;
QColor color5;
+ QColor color6;
bool operator!=(const color_palette_struct &other) const {
return other.color1 != color1
|| other.color2 != color2
|| other.color3 != color3
|| other.color4 != color4
- || other.color5 != color5;
+ || other.color5 != color5
+ || other.color6 != color6;
}
} color_palette;
bool operator!=(const template_options &other) const {
@@ -72,8 +75,8 @@ private
slots:
void printInColorClicked(bool check);
void printSelectedClicked(bool check);
- void on_radioStatisticsPrint_clicked(bool check);
- void on_radioDiveListPrint_clicked(bool check);
+ void on_radioStatisticsPrint_toggled(bool check);
+ void on_radioDiveListPrint_toggled(bool check);
void on_printTemplate_currentIndexChanged(int index);
void on_editButton_clicked();
void on_importButton_clicked();