[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] issues with webkit javascript interaction
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2010-11-28 15:05:16
Message-ID: 3cba4c96f1e7a01e031aad0ca0a68a4a () localhost
[Download RAW message or body]

On Sun, 28 Nov 2010 13:15:15 +0100, "Hans-Peter Jansen" <hpj@urpla.net>
wrote:
> 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

You just need to decorate submit() with pyqtSlot().

It will be in tonight's snapshot.

Thanks,
Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic