aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-04-21 17:23:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-04 10:07:25 -0700
commite2ad38189eb81eda213f775302efb44d2ed70c85 (patch)
tree8cb65bf053d7b1aa72d54ac4b80ee99b52297bc4 /subsurface.pro
parent00f4b7b66b43d77119f004b08471b72c4ce4bab5 (diff)
downloadsubsurface-e2ad38189eb81eda213f775302efb44d2ed70c85.tar.gz
Printing: Add TemplateLayout class
This is the main class to hold Grantlee engine logic. TemplateLayout::generate() loads QT5Grantlee and initialize the templates then returns a QString that contains the rendered HTML by Grantlee library. Also this class contains the Dive class which holds the logic that formats the data before passing it to the templates. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 18682b439..509feb7bc 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -67,6 +67,7 @@ HEADERS = \
qthelper.h \
units.h \
divecomputer.h \
+ templatelayout.h \
qt-ui/about.h \
qt-ui/completionmodels.h \
qt-ui/divecomputermanagementdialog.h \
@@ -160,6 +161,7 @@ SOURCES = \
profile.c \
gaspressures.c \
divecomputer.cpp \
+ templatelayout.cpp \
worldmap-save.c \
save-html.c \
qt-gui.cpp \