Hey, I'm using PySide 1.0.5 with Python 2.6.6. I just tested it and I can confirm that this is not working. This deserves a bug report because this was working in PyQt. Also according to PySide's documentation it should work: """ Because of binary compatibility constraints, this function is not virtual. If you want to provide your own implementation in a PySide.QtWebKit.QWebPage<http://www.pyside.org/docs/pyside/PySide/QtWebKit/QWebPage.html#PySide.QtWebKit.QWebPage> subclass, reimplement the QWebPage.shouldInterruptJavaScript() slot in your subclass instead. *QtWebKit* will dynamically detect the slot and call it. """
Tibold On 30 July 2011 10:39, Goran Rakic <[email protected]> wrote: > У суб, 30. 07 2011. у 10:33 +0200, Tibold Kandrai пише: > > > > The method has to be defined as a slot. > > > Hi Tibold, > > Have you tested this code? This is not working for me, what version of > PySide and Qt do you have? > > > Goran > >
_______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
