summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-11 12:50:14 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:28:12 +0300
commitd705cb34bb5a8d442b54784bb9105404bb304404 (patch)
tree8195635306c5c98b3a7767a0521a31a213d62cc5 /qt-ui/templateedit.h
parentf1615e725c7a5562b5fcaac2cd0701dae61b89ca (diff)
downloadsubsurface-d705cb34bb5a8d442b54784bb9105404bb304404.tar.gz
Printing: update preview on apply settings
On update call Printer to render on the QPixmap. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/templateedit.h b/qt-ui/templateedit.h
index 9b6d9167f..21cbc0321 100644
--- a/qt-ui/templateedit.h
+++ b/qt-ui/templateedit.h
@@ -33,6 +33,8 @@ private:
struct print_options *printOptions;
QString grantlee_template;
void saveSettings();
+ void updatePreview();
+
};
#endif // TEMPLATEEDIT_H