Printing: add TemplateEdit form to source tree

The TemplateEdit class works to customize the tempalate before printing,
User can select the font-size, font-type, color-palette, linespacing
and editing the template HTML code.

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-06-26 04:21:03 +02:00 committed by Lubomir I. Ivanov
parent ce3d2abd83
commit 963e09ad7b
4 changed files with 300 additions and 0 deletions

15
qt-ui/templateedit.cpp Normal file
View file

@ -0,0 +1,15 @@
#include "templateedit.h"
#include "ui_templateedit.h"
TemplateEdit::TemplateEdit(QWidget *parent) :
QDialog(parent),
ui(new Ui::TemplateEdit)
{
ui->setupUi(this);
this->templateOptions = templateOptions;
}
TemplateEdit::~TemplateEdit()
{
delete ui;
}