Internal Pointers again... Was: [PyKDE] Model indexes and internal pointers

2006-09-18 Thread Allen Bierbaum
Phil et al: How much of a lost cause is this? I ask because I just got bit by this bug and ate up nearly a day trying to track down a very nasty seg fault. As Arve said in the original thread, Model-View programming is a core of QT and this issue makes it very difficult to successfully program

Re: [PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Giles schrieb: > I think I've uncovered a little bug in PyQt4 4.0.1. > > I used "Qt4 Designer" to create a small dialog, which has a QTabWidget > whose tabs have icons next to their titles. When I then used "pyuic4" > to create the ".py" file f

Re: [PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Joshua J. Kugler
On Friday 15 September 2006 02:41, Chris Giles wrote: > I think I've uncovered a little bug in PyQt4 4.0.1. > > I used "Qt4 Designer" to create a small dialog, which has a QTabWidget > whose tabs have icons next to their titles. When I then used "pyuic4" > to create the ".py" file for this dialog,

Re: [PyKDE] PyQt 4 on openSUSE (update, questions)

2006-09-18 Thread Simon Edwards
Hello, On Thursday 14 September 2006 17:39, Joachim Werner wrote: > The starting point is that we currently only have the kdebindings3 version > of > sip, PyQt, and PyKDE in openSUSE. > > We don't really want to change this for the openSUSE 10.2 release, but at > the > same time I'd like to h

Re: [PyKDE] How to detect if an object has been deleted

2006-09-18 Thread Giovanni Bajo
Daniel wrote: > Is there a documented way to detect if the underlying object has been > deleted? Here's a short example that works, but it feels a bit dirty: > > def is_deleted(obj): > try: > obj.name > except RunTimeError, ex: > if str(ex) == "underlying C/C++ object h

[PyKDE] How to detect if an object has been deleted

2006-09-18 Thread Daniel
Is there a documented way to detect if the underlying object has been deleted? Here's a short example that works, but it feels a bit dirty: def is_deleted(obj): try: obj.name except RunTimeError, ex: if str(ex) == "underlying C/C++ object has been deleted":

Re: [PyKDE] PyQt 4 on openSUSE (update, questions)

2006-09-18 Thread Phil Thompson
> Hi all, > > I've received the first version of Doug Bell's TreeLine in the PyQt 4 > version. > So the first application that we have on openSUSE is on it's way to PyQt > 4. > > I've also found a volunteer to create initial packages for openSUSE in the > build system. > > Now, after following the

[PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Chris Giles
I think I've uncovered a little bug in PyQt4 4.0.1. I used "Qt4 Designer" to create a small dialog, which has a QTabWidget whose tabs have icons next to their titles. When I then used "pyuic4" to create the ".py" file for this dialog, the following lines were missing and the icons therefore o

[PyKDE] Qt3Support classes in PyQt4

2006-09-18 Thread James Lamanna
If anyone's interested, I've started work in bringing in the Qt3Support classes to PyQt4. You can see of it here (its part of another project at the moment): https://svn.sourceforge.net/svnroot/kscraft/Q3/trunk/pyqtmods It should create a PyQt4.Qt3Support module. -- James __

[PyKDE] PyQt 4 on openSUSE (update, questions)

2006-09-18 Thread Joachim Werner
Hi all, I've received the first version of Doug Bell's TreeLine in the PyQt 4 version. So the first application that we have on openSUSE is on it's way to PyQt 4. I've also found a volunteer to create initial packages for openSUSE in the build system. Now, after following the previous thread,