Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread michael.brasser
Hi, On 06/11/2010, at 7:17 AM, ext Tico Ballagas wrote: I was trying to create a basic QML Webkit + Flickable proof of concept. import Qt 4.7 import QtWebKit 2.0 Flickable{ width: 640; height: 480 contentWidth: webView.width contentHeight: webView.height WebView {

Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread tico.ballagas
Hmm. It looks like it also works if I just use constants for the preferredWidth / preferredHeight: import Qt 4.7 import QtWebKit 1.0 Flickable{ width: 640; height:480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView

Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread Tico Ballagas
Looks like we were revisiting this at the same time. Yes, the following works correctly: import Qt 4.7 import QtWebKit 1.0 Flickable{ id: myflickable width: 640; height:480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView

[Qt-qml] Basic QML Webkit + Flickable not working

2010-11-05 Thread Tico Ballagas
I was trying to create a basic QML Webkit + Flickable proof of concept. import Qt 4.7 import QtWebKit 2.0 Flickable{ width: 640; height: 480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView preferredWidth: parent.width url: