<p dir="ltr">Grantlee is a very good library, if we need to suporte custom, user templates,  that is the choice to make. </p>
<br><div class="gmail_quote">Em Ter, 3 de mar de 2015 09:06, Lubomir I. Ivanov <<a href="mailto:neolit123@gmail.com">neolit123@gmail.com</a>> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3 March 2015 at 01:10, Gehad Elrobey <<a href="mailto:gehadelrobey@gmail.com" target="_blank">gehadelrobey@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> As Subsurface became a mentoring organization in GSoC '15  so I am willing<br>
> to join this year under Subsurface organization.<br>
><br>
> I am interested in the idea of "Adding customizable print formats".<br>
> I am specially interested in this idea as subsurface lacks good printing<br>
> capabilities and also this project will be some how related to the HTML<br>
> codebase I wrote in my project last year.<br>
><br>
> Before I start writing my proposal I would like to know the community's (and<br>
> Lubomir for sure as the mentor) opinions and expectations about the project?<br>
> and what do you think is missing mainly in the current printing system?<br>
><br>
<br>
some random thoughts,<br>
<br>
i would agree that some research and user feedback is needed here,<br>
since as a non-user the current printing capabilities seem static but<br>
sufficient to me!<br>
the facebook share is even less flexible than what we have for<br>
printing. perhaps it's possible to unify the backend for social<br>
network share layouting and the print layouting, since doing a<br>
printout is probably for the purpose of sharing:<br>
<br>
- ShareLayout could be the backend for what i describe<br>
- a ShareLayout will determine the social network share or printout layout<br>
- having or not having the profile or the table could be a toggle<br>
option in ShareLayout<br>
- ShareLayoutOptions could be the frontend that the user interacts<br>
with and it generates a ShareLayout<br>
- the current PrintLayout could arrange ShareLayouts e.g. user defined<br>
NxM layouts<br>
- the facebook share will upload a single ShareLayout<br>
<br>
i would ditch the QTablexxxxxx implementations completely and<br>
implement a custom QPainter that is HTML template based (and probably<br>
quite slow).<br>
Tomaz at some point proposed a Qt template library for custom<br>
printing, but i don't like the idea of adding even more dependencies<br>
to Subsurface. if others approve of that, i would do the same.<br>
<br>
this part from the ideas page is important:<br>
"But the team is open to other ideas that solve the underlying<br>
problem: being able to customize the print output to include the<br>
information that the user perceives as relevant and giving the user<br>
control over major style elements like font sizes and positioning of<br>
the various data."<br>
<br>
i think, before you start writing the proposal users should provide<br>
feedback on what level of customization they want from the print<br>
layouting.<br>
Davide, Robert - any ideas?<br>
<br>
lubomir<br>
--<br>
<br>
p.s. please mind there is a chance that i could be AFK for weeks<br>
during the GSoC period.<br>
______________________________<u></u>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.<u></u>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-<u></u>divelog.org/cgi-bin/mailman/<u></u>listinfo/subsurface</a><br>
</blockquote></div>