<br><br><div class="gmail_quote">On Tue, Sep 15, 2009 at 3:16 AM, Shaneeb Kamran <span dir="ltr"><<a href="mailto:shaneebster@gmail.com">shaneebster@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>On Mon, Sep 14, 2009 at 9:00 PM, Lionel Chauvin <span dir="ltr"><<a href="mailto:megabigbug@yahoo.fr" target="_blank">megabigbug@yahoo.fr</a>></span> wrote:</div><div><br><div class="gmail_quote">
<div class="gmail_quote"><div class="im">
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt">
<div><div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I don'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">> 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'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><div>QtWebKit does allow you to embed native (Qt) widgets into the page. This is done by using the <object> tag in the html page, along with the use of QWebPluginFactory in code.</div>
<div class="im">
<div>
<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:'times new roman', 'new york', 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">> 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">> 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'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><div>I am not 100% sure about this but Google Chrome uses a mixture of HTML and 'native' code to display the new tab page.</div>
<div class="im">
<div>
<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:'times new roman', 'new york', 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">> This is only an idea i'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><div>Originally, Chrome'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 "native backend". 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 "ugly", 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></div></div></blockquote><div><br></div><div>Although it's used only Qt for the homepage, i thought that CSS can be used to customize the widgets, what it's then "to have the best of two worlds". I really think that using Qt is better than html&javascript, it's possible to give the widgets nice animations and all those things.</div>
<div><br></div><div>Bye!!</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="gmail_quote"><div class="gmail_quote">
</div>
<br>P.S: I am not just a "opinionated spectator". 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>
<br>_______________________________________________<br>
rekonq mailing list<br>
<a href="mailto:rekonq@kde.org">rekonq@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/rekonq" target="_blank">https://mail.kde.org/mailman/listinfo/rekonq</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jon de Andrés<br><br>