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>
This commit is contained in:
Gehad elrobey 2015-07-11 12:50:14 +02:00 committed by Lubomir I. Ivanov
parent f1615e725c
commit d705cb34bb
2 changed files with 12 additions and 5 deletions

View file

@ -33,6 +33,8 @@ private:
struct print_options *printOptions;
QString grantlee_template;
void saveSettings();
void updatePreview();
};
#endif // TEMPLATEEDIT_H