RE: [PyQt] 'pyqt@riverbankcomputing.com'

2007-11-08 Thread Dr Andrew Perella
Ok - I got the bottom of this. 1) I had a c++ class with no virtual destructor defined. 2) I wrapped it in sip. 3) Constructed an instance in python 4) Transferred ownership to C++ 5) allowed c++ to delete it The sip wrapper still continued to live in the cpp to wrapper hash map. This would c

[PyQt] 'pyqt@riverbankcomputing.com'

2007-11-08 Thread Dr Andrew Perella
I get exactly the same objmap.c crash as you in an application I have written using SIP (but not PyQT). The crash is timing related - depending on when the garbage collector is called, the sip hashmap still has a reference sometimes to a freed python wrapper. I will investigate further. Cheers, A

Re: [PyQt] ANN: new eric4 snapshot release

2007-11-08 Thread Simon Edwards
Detlev Offenbach wrote: * The autocomplete window always pops up regardless of how I configure it. I want it to be available but only to appear when I press Ctnl+Space. (I see that you've improved the popup too in the snapshot. cool! much better) Did you disable autocompletion in the configurati

Re: [PyQt] Model/View

2007-11-08 Thread Andreas Pakulat
On 08.11.07 17:29:49, Sun Wukong wrote: > Hello, > > I'm a PyQt newbie, trying to implement the following exemple > http://doc.trolltech.com/4.0/qt4-interview.html > in Python. > > Unfortunatly, nothing appear in the window but its title. > > Thanks for your help. > Sw > > Here's my code : > >

Re: [PyQt] Model/View

2007-11-08 Thread Mark Summerfield
On 2007-11-08, Sun Wukong wrote: > Hello, > > I'm a PyQt newbie, trying to implement the following exemple > http://doc.trolltech.com/4.0/qt4-interview.html > in Python. > > Unfortunatly, nothing appear in the window but its title. > > Thanks for your help. > Sw If you add the line of code as show

[PyQt] Model/View

2007-11-08 Thread Sun Wukong
Hello, I'm a PyQt newbie, trying to implement the following exemple http://doc.trolltech.com/4.0/qt4-interview.html in Python. Unfortunatly, nothing appear in the window but its title. Thanks for your help. Sw Here's my code : import sys from PyQt4 import QtGui from PyQt4 import QtCore class

Re: [PyQt] stdin processing

2007-11-08 Thread Simon Edwards
Tom Dossis wrote: On 07/11/2007, at 2:08 AM, Vladimir Pouzanov wrote: Is there any way to read stdin line by line without blocking? My application receives data over stdin (one command per line) and should react immediately. I get the same problem in the following doctest. Also I don't se

[PyQt] QLabel setFont does not work

2007-11-08 Thread Linos
Hello all, i have a problem with a QLabel i want to change the font size and make bold, i have a dialog created in designer where i have changed the font, i can view the change ok in the designer preview but when i launch the code with the dialog imported it doest not change the standard