GSoC Status - Week 5 (Customizable prints)

Lubomir I. Ivanov neolit123 at gmail.com
Mon Jun 29 07:13:50 PDT 2015


On 29 June 2015 at 05:08, Gehad Elrobey <gehadelrobey at gmail.com> wrote:
> Hello all,
>
> This week I was working on the list of tasks which I have discussed with
> Lubomir.
>
> Tasks completed so far:
> - QPrintPreviewDialog triggered from the main dialog

nice

> - add "print selected dives" support

this one doesn't work for me. i have a massive test list of dives and
with "print selected dives" not selected, i expect it to print the
entire list, instead it prints only a single page with two dives.

> - print in colors or gray scale

does not work. the profile is still printed in color no matter the
print dialog selection.
do you simply attempt to greyscale the profile image before rendering
on the HTML?

note that when Tomaz implemented "profile2" we lost the support for
greyscale print support.
i believe that was in qt-ui/profilegraphics.cpp via the "isGreyscale" flag.
profile2 does not have that, so for now converting the rendered image
to greyscale is the fast and simple solution.
but using our pre-defined colors via the "// Monochromes" list in
colors.h is nice-to-have.

> - fix dive profile bugs
> - fixed two dives per page template on large DPI printers.
>
> Tasks in progress:
> - TemplateEdit with print preview.
>
> Tasks I will work on next week:
> - I will finish the TemplateEdit dialog, and enhance a template to be user
> ready.

sounds about right.

lubomir
--


More information about the subsurface mailing list