Jason,<br>I think it's cool. I would have been nice if you had at least included the private files needed, but I hunted them down and got it working;) I'm trying to build Qt remotely on a web server so I can try to use it for CGI scripts so maybe your concept will come in handy.<br>
<br>I'm not very familiar with some of Qt's web capabilities but wouldn't it make more sense to generate actual html checkboxes and radiobuttons for some of that? I can see some interesting uses for the canvas but was wondering if there is anything else that does say an entire html page layout? Is this uncharted territory or can Qt already do this?<br>
<br>Your license is a little odd. Why don't you just include your email in the files and state that your releasing the code into the public domain or just use the zlib license: <a href="http://www.gzip.org/zlib/zlib_license.html">http://www.gzip.org/zlib/zlib_license.html</a><br>
<br>Sorry for such a delayed response on this. I have been busy but knew I would come back to this to check it out. Luckily my memory served me well and found your post. Good job nonetheless, I will study and play around with it some more later this week.<br>
<br><div class="gmail_quote">On Thu, Mar 29, 2012 at 2:50 PM, Jason H <span dir="ltr"><<a href="mailto:scorp1us@yahoo.com" target="_blank">scorp1us@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:Courier New,courier,monaco,monospace,sans-serif"><div><span>No one else thought this was cool?</span></div><div><span></span></div><div><br></div>  <div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt">
 <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Jason H <<a href="mailto:scorp1us@yahoo.com" target="_blank">scorp1us@yahoo.com</a>><br>
 <b><span style="font-weight:bold">To:</span></b> Interests Qt <<a href="mailto:interest@qt-project.org" target="_blank">interest@qt-project.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Wednesday, March 28, 2012 2:24 PM<br>
 <b><span style="font-weight:bold">Subject:</span></b> [Interest] HTML5 canvas support?<br> </font> </div><div><div class="h5"> <br>
<br><br>I think we should be able to paint to a HTML5 canvas.<br><br>I created the attached PoC, modeled after QPicture. See main.cpp for an example.<br><br><br>The code is released with the following license: <br><br>USE: Use at your own risk. Use it as you wish with no warranties or fitness expressed or implied. <br>
COPYING/DISTRIBUTION: Don't claim the original code is yours, that would  be wrong. Please attribute the original code to me. (It's a resume thing) It is your responsibility to put my email address in the file headers. You may use the code in Open and Closed Source projects, and assign what ever license and copyright as you wish. I don't assert any copyright, just credit.<br>
<br>Details:<br>The rendering is "pretty good" I've noticed fonts are not pixel-perfect but pretty close. The HTML5 canvas system (at least in FireFox) needs a 0.5px offset to generate a line properly, so things may be a tad off.<br>
<br>If you browser supports HTML
 I'm attaching sample output. (123.html)<br><br>I'd love to see how you use this. Feel free to show me.<br><br></div></div>_______________________________________________<br>Interest mailing list<br><a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/mailman/listinfo/interest</a><br><br><br> </div> </div>  </div></div><br>_______________________________________________<br>

Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/mailman/listinfo/interest</a><br>
<br></blockquote></div><br>