subsurface/qt-ui/templateedit.cpp
Gehad elrobey a600ea5201 Printing: add template_options struct that contains template
The template_options struct holds the settings variables in the code.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2015-07-05 21:00:25 +03:00

15 lines
301 B
C++

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