mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
ce3d2abd83
commit
963e09ad7b
4 changed files with 300 additions and 0 deletions
15
qt-ui/templateedit.cpp
Normal file
15
qt-ui/templateedit.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue