diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-20 06:14:19 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-20 06:14:19 -0700 |
commit | e3a8ff74934c8f5a11ee962650e889464da55522 (patch) | |
tree | 6bd206e1df040c4b504e00f5c71e295b8d17b6bd /qt-ui/templateedit.h | |
parent | 7baa18db5fe33f5797e4603a4c2efafc6b474bd0 (diff) | |
parent | 599920c6cfd87a213634097045e29f592390438b (diff) | |
download | subsurface-e3a8ff74934c8f5a11ee962650e889464da55522.tar.gz |
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'qt-ui/templateedit.h')
-rw-r--r-- | qt-ui/templateedit.h | 9 |
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 |