Re: [Qt-qml] [QML Troll needed] Ehm, where is QDeclarativeWebSettings?

2010-05-21 Thread Ivan De Marino
Where can I see the code that implements this automagical behaviour?
Just to see what decision you made in terms of balance between performance
and features.

PS WebGL flag, that was in 4.7-beta1, is now missing in the main 4.7 branch
on gitorious. WHY?

On 21 May 2010 02:14, warwick.alli...@nokia.com wrote:

  WebGL, AcceleratedCompositing and TiledBackingStore are the 3
  attributes that are missing QWebSettings::WebAttribute at this point.

 They're deliberately missing. The WebView element will itself choose the
 optimal setting for those, not leave them to be set from QML. So in this
 case, looking at sources is misleading ;-)

 --
 Warwick




-- 
Ivan De Marino | Software Engineer | France Telecom RD UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org | www.linkedin.com/in/ivandemarino
___
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml


Re: [Qt-qml] [QML Troll needed] Ehm, where is QDeclarativeWebSettings?

2010-05-20 Thread Ivan De Marino
WebGL, AcceleratedCompositing and TiledBackingStore are the 3 attributes
that are missing QWebSettings::WebAttribute at this point.

On 20 May 2010 01:10, warwick.alli...@nokia.com wrote:

  I mean, to write good QML I find necessary to take a look to the source
  code. Particularly when using new methods/stuff.
  This time I had a surprise.
  I can't find the definition of QDeclarativeWebSettings, the class used
  in QDeclarativeWebView.

 Can you also let us know what extra documentation you needed? Documentation
 inadequacies are a lot harder for QML Trolls to spot, and you also only
 get to see the problems the first one or two times you read them.

 Currently, the supported settings are all documented in the WebView
 element's documentation by referring to the QWebSettings class.

 --
 Warwick




-- 
Ivan De Marino | Software Engineer | France Telecom RD UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org | www.linkedin.com/in/ivandemarino
___
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml


Re: [Qt-qml] [QML Troll needed] Ehm, where is QDeclarativeWebSettings?

2010-05-20 Thread warwick.allison
 WebGL, AcceleratedCompositing and TiledBackingStore are the 3
 attributes that are missing QWebSettings::WebAttribute at this point.

They're deliberately missing. The WebView element will itself choose the 
optimal setting for those, not leave them to be set from QML. So in this case, 
looking at sources is misleading ;-)

--
Warwick

___
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml


Re: [Qt-qml] [QML Troll needed] Ehm, where is QDeclarativeWebSettings?

2010-05-19 Thread Ivan De Marino
It's an inline definition!!!
That's why I didn't see it: I was looking at the top of the class
definition, and I didn't go deeper to see the inline methods.

My bad.
Thanks.

So, now I understand why I can't enable WebGL in Beta1, even though it's
available in QGraphicsWebView.
But I don't get why it doesn't work even setting it in
QWebSettings::globalSettings.

Investigation underway ;)

On 19 May 2010 15:34, Alan Alpert alan.alp...@nokia.com wrote:


  Torsdag 20. mai 2010 00:11:34 skrev ext Ivan De Marino :
  I mean, to write good QML I find necessary to take a look to the source
  code. Particularly when using new methods/stuff. This time I had a
  surprise.
  I can't find the definition of QDeclarativeWebSettings, the class used in
  QDeclarativeWebView.
 
  I can see that there is some sort of mapping between
  DeclarativeWebSettings and QWebSettings, but... I don't get it.
 
  Most probably is me missing something or not getting the magic C++ that
 the
  Trolls write, but... HELP! :D
 

 It's defined in src/imports/webkit/qdeclarativewebview_p_p.h . A bit of an
 odd
 place, I agree.

 --
 Alan Alpert
 Software Engineer
 Nokia, Qt Development Frameworks
 ___
 Qt-qml mailing list
 Qt-qml@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-qml




-- 
Ivan De Marino | Software Engineer | France Telecom RD UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org | www.linkedin.com/in/ivandemarino
___
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml