<br>On Mon, Sep 14, 2009 at 9:00 PM, Lionel Chauvin <span dir="ltr">&lt;<a href="mailto:megabigbug@yahoo.fr" target="_blank">megabigbug@yahoo.fr</a>&gt;</span> wrote:<div><br><div class="gmail_quote"><div class="gmail_quote">

<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt">

<div><div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; I don&#39;t  know too much about Qt, only some patches in KDE...but i read sometime that</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; with webkit was possible to embedd qt widgets in the html, no? </p></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">



For instance, buttons in webpages are qt widgets. I don&#39;t know if qtWebKit allow to insert other widgets. Imo: mix technologies is not a good Idea.</p><div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">



<br></p></div></div></div></div></blockquote></div><div><br></div><div>QtWebKit does allow you to embed native (Qt) widgets into the page. This is done by using the &lt;object&gt; tag in the html page, along with the use of QWebPluginFactory in code.</div>

<div class="im">

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt"><div>



<div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; The Home page in chromium is html with javascript? or do they use gtk widgets for</p>




<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt;  the preview decorations?</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">



<br></p></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Google uses Ajax for their services. I think they do the same thing for the home page. (I don&#39;t test chrome)</p>



<div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p></div></div></div></div></blockquote><div><br></div></div><div>I am not 100% sure about this but Google Chrome uses a mixture of HTML and &#39;native&#39; code to display the new tab page.</div>

<div class="im">

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:&#39;times new roman&#39;, &#39;new york&#39;, times, serif;font-size:12pt"><div>



<div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; This is only an idea i&#39;ve just had, perhaps this has no sense...</p>




<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p></div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Thank you to propose ideas :)</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Imo, we have the choice of html/javascript or qt/plasma, not a mix. Andrea choose html/javascript, I will help him in this way.</p>



</div></div></div></blockquote><div><br></div></div><div>Originally, Chrome&#39;s new tab page was only javascript/html but then there were issues with its performance (the page used to take ages to load) so now they have split the page into an html page and a &quot;native backend&quot;. So I dont suppose we need to repeat the same mistake again by implementing a slower javascript/html when we can go for a faster, mixed (html/native) solution. And IMO it wont be any &quot;ugly&quot;, if its implemented using QtWebKit provided facilities. </div>


<div><br></div><div>Someone might (rightfully) argue that if its all about speed then why not implement it completely in native code. Well, the answer lies in the ease with which html can be modified to change the layout, colors etc without messing with the code, while the parts needing performance can be delegated to native code.</div>


</div>
<br>P.S: I am not just a &quot;opinionated spectator&quot;. I will work on implementing it this way if other developers agree. And sorry Lionel for the private message. These GUIs make you do stupid things ;-)<br>-- <br>

<br>Regards,<br><font color="#888888">Shaneeb Kamran<br>
</font></div><br><br>
</div>