diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-05 07:26:39 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-05 21:03:04 +0300 |
commit | c44496e23d3e16ec6b5622eea73ae39d991e27bf (patch) | |
tree | 822d7e82316872ada6062e3a643aad2c574d5f19 /qt-ui/templateedit.h | |
parent | a70cea95e8c67805945eda8e874a12f67daebe9f (diff) | |
download | subsurface-c44496e23d3e16ec6b5622eea73ae39d991e27bf.tar.gz |
Printing: move template_options to print_options.h
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/templateedit.h')
-rw-r--r-- | qt-ui/templateedit.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h index 73a5e9fbb..dc38d11fc 100644 --- a/qt-ui/templateedit.h +++ b/qt-ui/templateedit.h @@ -3,13 +3,6 @@ #include <QDialog> -struct template_options { - int font_index; - int color_palette_index; - double font_size; - double line_spacing; -}; - namespace Ui { class TemplateEdit; } @@ -19,7 +12,7 @@ class TemplateEdit : public QDialog Q_OBJECT public: - explicit TemplateEdit(QWidget *parent, struct template_options *templateOptions); + explicit TemplateEdit(QWidget *parent, struct print_options *printOptions, struct template_options *templateOptions); ~TemplateEdit(); private slots: void on_fontsize_valueChanged(int font_size); @@ -33,6 +26,7 @@ private slots: private: Ui::TemplateEdit *ui; struct template_options *templateOptions; + struct print_options *printOptions; }; #endif // TEMPLATEEDIT_H |