summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/templateedit.h')
-rw-r--r--qt-ui/templateedit.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h
index f1003e461..2790c619b 100644
--- a/qt-ui/templateedit.h
+++ b/qt-ui/templateedit.h
@@ -3,6 +3,13 @@
#include <QDialog>
+struct template_options {
+ int font_index;
+ int color_palette_index;
+ double font_size;
+ double line_spacing;
+};
+
namespace Ui {
class TemplateEdit;
}
@@ -12,11 +19,11 @@ class TemplateEdit : public QDialog
Q_OBJECT
public:
- explicit TemplateEdit(QWidget *parent = 0);
+ explicit TemplateEdit(QWidget *parent, struct template_options *templateOptions);
~TemplateEdit();
-
private:
Ui::TemplateEdit *ui;
+ struct template_options *templateOptions;
};
#endif // TEMPLATEEDIT_H