<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
also, i don't understand Tomaz' idea about the Grantlee extension, so<br>
perhaps we need to investigate into that as well.<br>
it probably uses QTableView Qt's Model-View-X pattern, which i don't<br>
like that much, yet Subsurface already uses it pretty much everywhere!<br></blockquote><div><br></div><div><br></div><div>Grantlee *is* a HTML + CSS template engine that integrates with Qt.</div><div>it follows Django template scheme, so it's very flexible and easy to extend</div><div><br></div><div>for instance, we could do something like this in grantlee:</div><div><br></div><div>template.html</div><div><br></div><div><header> ... </header></div><div><body></div><div>   < h1 > {{ dive.where }} </h1></div><div>   < h2 > {{ dive.buddy }} </h2></div><div></body></div><div><br></div><div>( yes, very short example )</div><div><br></div><div>and let the grantlee template system do it's magic.</div><div><br></div><div>I'm -1 for depending on tex because it's a huge package and a mess to install it on windows</div><div><br></div><div>Quite a lot of the issues we had on the painter side was when we depended on Qt4, since now we are depending on qt5 we can look if the issues are still happening.</div><div><br></div></div></div></div>