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

2010-07-02 Thread alanm
On Friday 02 July 2010 12:03:29 pm Jan Haag wrote: > On 7/2/10 3:38 PM, alanm wrote: > > On Friday 02 July 2010 1:17:06 am Andreas Pakulat wrote: > >> Don't block the event-loop with your processor. The signals are > >> delivered as you expect, but the widget is not redrawn with that > >> message.

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

2010-07-02 Thread Jan Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7/2/10 3:38 PM, alanm wrote: > On Friday 02 July 2010 1:17:06 am Andreas Pakulat wrote: >> >> Don't block the event-loop with your processor. The signals are >> delivered as you expect, but the widget is not redrawn with that >> message. The reason

Re: [PyQt] SIP Bug: virtual function wrapped twice due to deep inheritance from base class and ABC

2010-07-02 Thread Demetrius Cassidy
Sorry Phil - corrected inheritance tree: PUDPSocket <- PIPDataGramSocket <- PIPSocket <- PSocket (ABC) PTCPSocket <- PIPSocket <- PSocket (ABC) PUDPSocket does not have a 'Listen' function in it, instead it just inherits it from PIPSocket, who overrides PSocket. PTCPSocket DOES include a 'Lis

Re: [PyQt] Synchronous WebView.load()

2010-07-02 Thread alanm
On Friday 02 July 2010 3:04:40 am you wrote: > On Fri, 02 Jul 2010 00:31:40 -0500, alan moore wrote: > >> 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 hist

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

2010-07-02 Thread alanm
On Friday 02 July 2010 1:17:06 am Andreas Pakulat wrote: > > Don't block the event-loop with your processor. The signals are > delivered as you expect, but the widget is not redrawn with that > message. The reason is that your processing blocks the Qt event loop and > hence no painting is done. >

Re: [PyQt] Synchronous WebView.load()

2010-07-02 Thread Phil Thompson
On Fri, 02 Jul 2010 00:31:40 -0500, alan moore wrote: >> 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. No, the load starts straight away but may not finish unti

Re: [PyQt] SIP Bug: virtual function wrapped twice due to deep inheritance from base class and ABC

2010-07-02 Thread Phil Thompson
On Thu, 1 Jul 2010 17:53:23 -0700 (PDT), Demetrius Cassidy wrote: > Phil, > > It's not code specific to that class. It's due to the deep inheritance > tree. > You should be able to run my test code and get the same results. > > Basically to sum it up: > > PTCPSocket <- PIPDataGramSocket <- PIP

Re: [PyQt] multiple inheritance and MappedType

2010-07-02 Thread Phil Thompson
On Thu, 1 Jul 2010 15:51:48 -0600, Clinton Stimpson wrote: > Hi, > > I've got an existing library with python wrappers generated with a > different > tool, and I've successfully used MappedType to interface with that and I'm > getting the interoperability I'm looking for. > > But now I want to