summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-11 01:37:27 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:10 +0300
commitf1615e725c7a5562b5fcaac2cd0701dae61b89ca (patch)
tree702127928db4d91b777f9339b184f25085ad968f /qt-ui/templateedit.h
parent7ca311ae859199f1e07279bf78e1c36efc97768c (diff)
downloadsubsurface-f1615e725c7a5562b5fcaac2cd0701dae61b89ca.tar.gz
Printing: add apply button to TemplateEdit class
Add apply button to the dialog, Update the preview after applying the new settings. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h
index 325d7eef3..9b6d9167f 100644
--- a/qt-ui/templateedit.h
+++ b/qt-ui/templateedit.h
@@ -24,7 +24,7 @@ private slots:
void on_colorpalette_currentIndexChanged(int index);
- void on_TemplateEdit_finished(int result);
+ void on_buttonBox_clicked(QAbstractButton *button);
private:
Ui::TemplateEdit *ui;
@@ -32,6 +32,7 @@ private:
struct template_options newTemplateOptions;
struct print_options *printOptions;
QString grantlee_template;
+ void saveSettings();
};
#endif // TEMPLATEEDIT_H