Hi,

You have to enable the developer extras for the QWebView.

inspect = QWebInspector()

page = web.page()
main_frame = page.mainFrame()
# Enable the Web Inspector
web_settings = view.settings()
web_settings.setAttribute(QtWebKit.QWebSettings.DeveloperExtrasEnabled, 1)

inspect.setPage(page)
inspect.show()

Dom

On 9 May 2011 23:10, Anil Vaitla <[email protected]> wrote:

> I am having trouble using pyside with the webinspector. Is this the correct
> usage:
>
>
> http://dpaste.com/hold/540527/
>
>
> Thanks
>
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.pyside.org/listinfo/pyside
>
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to