[PyQt] Monkeypatching QWebPage.userAgentForUrl

2011-05-11 Thread Gelonida G
Hi, I would like to send a custom useragent for any http access done from a certain python script. So I assumed the way to go would be monkeypatching userAgentForUrl I'm not sure, whether this is impossible to achieve or whether I made a mistake in patching. This is my approach in my code

Re: [PyQt] Disable context menu of a plugin in QWebview

2011-04-19 Thread Gelonida G
Hi Hans-Peter, Thanks for your answer. On 04/19/2011 03:00 PM, Hans-Peter Jansen wrote: On Monday 18 April 2011, 11:16:17 Gelonida N wrote: Hi, Now I am able to activate a flash plugin in my QWebview browser and things work as they should. There is just one minor problem The browser

Re: [PyQt] Use QWebview with Flash plugin

2011-04-18 Thread Gelonida G
Hi David, Thanks a lot for your help. Installing a normal Firefox Flash plugin and setting QWebSettings.PluginsEnabled to True did the trick. Thanks a gain 04/18/2011 02:31 AM, David Boddie wrote: On Sat, 16 Apr 2011 18:55:43 +0200, Gelonida Gmail wrote: I'd like to have a small QWebview

Re: [PyQt] visualizing PDF files in PyQT WIndows

2011-04-18 Thread Gelonida G
On 04/17/2011 05:31 PM, Gelonida G wrote: Hi, Is there any recommended way to visualize PDF files with PyQT under Windows? Thanks in advance for any pointers Well having received the answer to another question I had already one possible solution, though it is not optimal. I could create