David Boddie a écrit :
The porting of the C++ Qt examples to Python has fallen behind since Qt 4.3
so there aren't any simple WebKit examples included with PyQt.
I'm not lucky... :-\

David Boddie a écrit :
The recent Monster Evolution experiments on Qt Labs include a Python version
of a program that integrates with WebKit's JavaScript engine:


QWebFrame's addToJavaScriptWindowObject() method lets you insert an instance
of a QObject subclass into the page. You can expose methods to JavaScript,
but you have to declare them as slots with the @pyqtSignature() decorator.
The example code can be found here:

I'll study it as soon as possible...


PyQt mailing list    PyQt@riverbankcomputing.com

Reply via email to