mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a70cea95e8
commit
c44496e23d
5 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue