<div dir="ltr"><div><div>Hello all,<br></div><div><br>As we are approaching gsoc community bonding period so I thought that a small prototype may be the best way to discuss my thoughts with the community.<br></div>I sent a group of patches with a very small but full working prototype.<br><br></div>- I added Grantlee library to subsurface code base (thanks for the cmake build environment it made my life much easier as I don't know qmake at all)<br clear="all"><div><div><div>- I create a simple Grantlee template that prints two dives per page.<br></div><div>- the TemplateLayout class iterates the selected dives and interface with Grantlee backend.<br></div><div>- QWebview and QPainter are used to render the html file living in a QTemporaryFile object.<br></div><div>- finally I added the "print using templates" option in the print dialog.<br><br></div><div>Note: I tested this on Linux only, so there may be problems on other platforms.<br></div><div>also many<b> </b><span class=""></span>exceptions still need to be handled this is only a fast prototype for discussion.<br><br></div><div>So you may test this and tell me what do you think?<br></div><div><br></div>-- <br><div><div dir="ltr">regards,<div>Gehad</div></div></div>
</div></div></div>