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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h
index 296005652..15b717f78 100644
--- a/qt-ui/templateedit.h
+++ b/qt-ui/templateedit.h
@@ -24,13 +24,20 @@ private slots:
void on_colorpalette_currentIndexChanged(int index);
- void on_TemplateEdit_finished(int result);
+ void on_buttonBox_clicked(QAbstractButton *button);
+
+ void colorSelect(QAbstractButton *button);
private:
Ui::TemplateEdit *ui;
+ QButtonGroup *btnGroup;
struct template_options *templateOptions;
+ struct template_options newTemplateOptions;
struct print_options *printOptions;
QString grantlee_template;
+ void saveSettings();
+ void updatePreview();
+
};
#endif // TEMPLATEEDIT_H