[PyQt] issues with webkit javascript interaction

Hans-Peter Jansen hpj at urpla.net
Sun Nov 28 12:15:15 GMT 2010


Hi Phil,

here's the next issue, this time related to webkit javascript 
interaction. The code is ported from Qt's webkit/formextractor example.

It tries to make use of addToJavaScriptWindowObject(), which should be 
allow to interact with javascript code. Unfortunately, triggering 
submit, which should result in a call to FormExtractor.submit() isn't 
executed at all.

python: 2.6
sip: 4.12-snapshot-ca22b358ab05
qt4: 4.7.1
pyqt4: snapshot-4.8.2-a935ffc263c2

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: formextractor.py
Type: application/x-python
Size: 5765 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101128/eeaf6e4f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: formextractor.ui
Type: application/x-designer
Size: 4341 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101128/eeaf6e4f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 353 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101128/eeaf6e4f/attachment-0002.bin>
-------------- next part --------------
<!DOCTYPE RCC><RCC version="1.0">
 <qresource>
     <file>form.html</file>
 </qresource>
 </RCC>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101128/eeaf6e4f/attachment.html>


More information about the PyQt mailing list