1. A WebView is ideal if you are Qt4.4+ 2. A WebView contains a WebPage. The WebView is a widget, whereas the WebPage is not - the WebView is the visual representation of the web page, hence the name.
3. When you create a WebView, it contains a WebPage. Add the WebView to one of your widgets. You use the page() member function of WebView to get the WebPage, and you can then set the link delegation policy and connect signals to that page object. This all works very well, BTW. _______________________________________________________________________________ From: [EMAIL PROTECTED] To: [email protected] Sent: 05/31/2008 05:58 AM Received: 05/31/2008 06:05 AM Subject: [PyQt] webView & webPage Hi I'm trying to make a special web navigator with the webview. But I like to manage the weblinks. With signal clickedLink I see that this is what I want, but don't work if I dont define to use this signal. This I see I can do with linkDelegationPolicy. I cannot define linkdelegationpolicy on a webview. Only on a webpage class. The questions are: - It's better use webview or other widget to navigate throug own HTML with own link management? - What influence webpage has on webview. Because webpage has a lot of functions that webview does not inherits. - Can I use webpage to see html, and how I use it? I try to find examples and documentation on google but it's too new, and documentation and examples for pyqt does not exists. Sorry my english. Tnx 4 all Adonay -------------------------------------------------------------------- myhosting.com - Premium Microsoft� Windows� and Linux web and application hosting - http://link.myhosting.com/myhosting _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
