Re: QWebView: notify python when I clicked on a certain web eleemnt

2011-02-23 Thread Gelonida
Thanks Ian, Pls see my other reply. Is that what you meant? On 02/24/2011 12:25 AM, Ian Kelly wrote: > On Wed, Feb 23, 2011 at 4:02 PM, Gelonida wrote: >>> so make a Python object with some methods you'd wish to call, then >>> evaluate some small JS that will bind the click event on your elemen

Re: QWebView: notify python when I clicked on a certain web eleemnt

2011-02-23 Thread Gelonida
Damjan, Thanks once more for your help. You pointed me in the right direction. On 02/24/2011 12:25 AM, Ian Kelly wrote: > On Wed, Feb 23, 2011 at 4:02 PM, Gelonida wrote: >>> so make a Python object with some methods you'd wish to call, then >>> evaluate some small JS that will bind the click e

Re: QWebView: notify python when I clicked on a certain web eleemnt

2011-02-23 Thread Ian Kelly
On Wed, Feb 23, 2011 at 4:02 PM, Gelonida wrote: >> so make a Python object with some methods you'd wish to call, then >> evaluate some small JS that will bind the click event on your element to >> the method of the Python object. >> > > OK, but how do I make sure, that I don't override an existin

Re: QWebView: notify python when I clicked on a certain web eleemnt

2011-02-23 Thread Gelonida
Hi Damjan, Thanks for your answer On 02/21/2011 05:09 PM, Дамјан Георгиевски wrote: >> I have a web page (existing page, can't modify it) and I would like >> to browse it in a QtWebview. (This is already working >> When I click on a certain element e.g. "" >> I would like to notify my python scr

Re: QWebView: notify python when I clicked on a certain web eleemnt

2011-02-21 Thread Дамјан Георгиевски
> I have a web page (existing page, can't modify it) and I would like > to browse it in a QtWebview. (This is already working) > > Now I Wonder how I could achieve following behaviour: > > When I click on a certain element e.g. "" > I would like to notify my python script. > > What is important:

QWebView: notify python when I clicked on a certain web eleemnt

2011-02-19 Thread Gelonida
I have a web page (existing page, can't modify it) and I would like to browse it in a QtWebview. (This is already working) Now I Wonder how I could achieve following behaviour: When I click on a certain element e.g. "" I would like to notify my python script. What is important: I don't want to c