Re: [PyQt] Transferring security context to newly created QWebView windows

2012-06-16 Thread alan moore
Realized I forgot to mention what this code does. It opens a password-protected page which contains a link to another page in the same password-protected folder and opens up in a new window. The expected behavior is that the second page will open fine, since we're already authenticated to the

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread alan moore
I ran my script with callgrind and looked at the output in Kcachegrind, but I didn't really grasp much of what it was telling me. It seems that I'm spending an inordinate amount of time in libfontconfig.so, but otherwise I couldn't identify any of my functions that were slow. The tricky part

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread alan moore
Yes; http://www.alandmoore.com/software/downloads/browser.py Thanks in advance! On 08/31/2010 11:02 PM, Taylor Carrasco wrote: Is the code available for us to take a look at for possible optimizations On Tue, Aug 31, 2010 at 9:09 AM, alanm mailto:m...@alandmoore.com>> wrote: I wrote a sma

Re: [PyQt] Synchronous WebView.load()

2010-07-01 Thread alan moore
As I understand it, the webview doesn't actually load the page and update itself until the method call returns; at which point it loads the new page and updates the history. To illustrate the problem I'm having a little more clearly, I've attached a sample script. The script is supposed to co

[PyQt] Processing signals from a called method while the method executes

2010-07-01 Thread alan moore
I've encountered this problem twice now in subtle ways, I think this is at the root of my last question about the QWebView; I've included sample code this time to illustrate. In the attached script, I have a widget class and a processor class. The processor represents some kind of processing e

[PyQt] QWebView and https

2010-05-10 Thread alan moore
After being fed up with the kiosk modes offered by various browsers, I'm taking another crack at writing my own minimal browser with pyqt and QtWebKit for a kiosk application. Everything is working great, and I'm able to get all the features I want from this set up. But there is a problem. O

Re: [PyQt] QWebKit issue with certain URLs

2008-09-25 Thread alan moore
Thanks for responding. I don't think that's it, though. setPort() is for creating a URL on a non-standard port from scratch. A link shouldn't require that. Besides it works fine on my laptop when I set Apache to port 90, and I can browser URLs on all kinds of other ports without explicitly

[PyQt] QWebKit issue with certain URLs

2008-09-23 Thread alan moore
Hello. I was trying to use QWebKit to create a basic browser to use with thin clients at our public library. Everything was looking good, but I have found a URL on our server that simply will not load in a QWebview. I have tried this using PyQT4.4 on Ubuntu Hardy Heron and on Windows XP, and