summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-26 04:21:03 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-05 20:59:55 +0300
commit963e09ad7b01d99537b59037e2cd1fbedf480261 (patch)
treebec3d78a62243c51ac8e28b25614dcd205d50324 /qt-ui/templateedit.cpp
parentce3d2abd83717abb1b4b5c8a8eecc04ab1d45e66 (diff)
downloadsubsurface-963e09ad7b01d99537b59037e2cd1fbedf480261.tar.gz
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>
Diffstat (limited to 'qt-ui/templateedit.cpp')
-rw-r--r--qt-ui/templateedit.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/qt-ui/templateedit.cpp b/qt-ui/templateedit.cpp
new file mode 100644
index 000000000..1db62b619
--- /dev/null
+++ b/qt-ui/templateedit.cpp
@@ -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;
+}