[PULL REQUEST] GSoC Printing: part 7

Lubomir I. Ivanov neolit123 at gmail.com
Sat Aug 22 09:07:06 PDT 2015


This is the final batch of patches from Gehad.

Contains:
- Updated user-manual to the printing stack changes. There might be some
typos that we've missed.
- Better support for the statistics print (colors/fonts). Can't be edited yet -
I've just suggested a possible solution.
- A couple of bug / typo fixes.

We can continue fixing things here and there, but this project is mostly
complete GSoC wise.

Great work, Gehad!

---

The following changes since commit e86fd45efde7e8314b8045cb88495c48838bb4bd:

  Cmake: fix cross compiling on Windows (2015-08-21 10:16:06 -0700)

are available in the git repository at:

  git at github.com:neolit123/subsurface.git custom-print

for you to fetch changes up to cc864794753eb586e89470d87196e13568cb9031:

  Printing: replace usage of std::ceil() (2015-08-22 18:39:08 +0300)

----------------------------------------------------------------
Gehad elrobey (17):
      Printing: use older Qt methods when calculating the ceil
      Printing: fix the six dives per page layout
      Printing: fix typo in template name
      Printing: update user-manual images
      Printing: refactor printing code
      Printing: update the user-manual
      Printing: fix uninialized border width
      Printing: check the print type in the preview section
      Printing: read statistics templates from the "statistics" path
      Printing: add statistics templates to the dialog
      Printing: export a statistics data structure to the Grantlee backend
      Printing: generate a Grantlee statistics template
      Printing: add a statistics template
      Printing: use the same code for both statistics and divelist print
      Printing: enable UI elements that now can be used
      Printing: disable template editing for statistics templates
      Printing: replace usage of std::ceil()

 Documentation/images/PrintDiveLog.jpg      | Bin 35196 -> 33884 bytes
 Documentation/images/Printpreview.jpg      | Bin 23664 -> 30041 bytes
 Documentation/user-manual.txt              | 172 ++++++++++++++++++++++++++---
 printer.cpp                                | 111 +++++++------------
 printer.h                                  |   1 -
 printing_templates/Six Dives.html          |  17 ++-
 printing_templates/statistics/Default.html |  97 ++++++++++++++++
 qt-ui/printdialog.cpp                      |  20 +---
 qt-ui/printoptions.cpp                     |  63 +++++++----
 qt-ui/printoptions.h                       |   1 +
 qt-ui/templateedit.cpp                     |   7 +-
 templatelayout.cpp                         |  69 +++++++++++-
 templatelayout.h                           |  54 ++++++++-
 13 files changed, 479 insertions(+), 133 deletions(-)
 create mode 100644 printing_templates/statistics/Default.html


More information about the subsurface mailing list