diff options
| author | 2015-04-21 18:05:20 +0200 | |
|---|---|---|
| committer | 2015-06-04 10:07:35 -0700 | |
| commit | 6de5cfb7a400897e6644668ffa9d0d4926b74590 (patch) | |
| tree | b11159f2375dc2d91e44e38863b7aa28a31885a5 /CMakeLists.txt | |
| parent | e2ad38189eb81eda213f775302efb44d2ed70c85 (diff) | |
| download | subsurface-6de5cfb7a400897e6644668ffa9d0d4926b74590.tar.gz | |
Printing: Add Printer class that holds the rendering logic.
Render Html pages into a QWebView then print it using QPainter. the
Printer::print() is called that prepare the HTML file to be rendered by
the QWebView.
Printer::render() will do the rendering task.
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 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a93ccbab5..34fc57659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,7 @@ set(SUBSURFACE_CORE_LIB_SRCS configuredivecomputerthreads.cpp divesitehelpers.cpp templatelayout.cpp + printer.cpp ${PLATFORM_SRC} ) source_group("Subsurface Core" FILES ${SUBSURFACE_CORE_LIB_SRCS}) |