Re: [PyKDE] pyqt and new-style classes

2004-02-20 Thread Ulrich Berning
Roland Schulz schrieb: I understood this, but I thought incorretly that there are classes more apropriate to use then directly using QMetaObject. But I was wrong and you're right QMetaObject should be implemented if someone wants to write something like designer in pyqt. But why not just using d

Re: [PyKDE] pyqt and new-style classes

2004-02-20 Thread Roland Schulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 20. Februar 2004 10:59 schrieb Ulrich Berning: > Roland Schulz schrieb: > >On Do, 2004-02-19 at 11:55, Ulrich Berning wrote: > >>Phil Thompson schrieb: > >>>On Wednesday 18 February 2004 19:04, Eron Lloyd wrote: > >> > >>Nevertheless it mak

Re: [PyKDE] pyqt and new-style classes

2004-02-20 Thread Ulrich Berning
Roland Schulz schrieb: On Do, 2004-02-19 at 11:55, Ulrich Berning wrote: Phil Thompson schrieb: On Wednesday 18 February 2004 19:04, Eron Lloyd wrote: Nevertheless it makes sense to implement QMetaObject and QMetaProperty, just in case so

Re: [PyKDE] pyqt and new-style classes

2004-02-19 Thread Roland Schulz
On Do, 2004-02-19 at 11:55, Ulrich Berning wrote: > Phil Thompson schrieb: > > On Wednesday 18 February 2004 19:04, Eron Lloyd wrote: > Nevertheless it makes sense to implement QMetaObject and > QMetaProperty, just in case someone plans to build a kind of dialog > editor with PyQt (in the future,

Re: [PyKDE] pyqt and new-style classes

2004-02-19 Thread Ulrich Berning
Phil Thompson schrieb: On Wednesday 18 February 2004 19:04, Eron Lloyd wrote: Would there be any benefit in doing this? From the way I understand it, all Qt objects already expose their get/set methods, while any objects you create through subclassing can simply use Python's native

Re: [PyKDE] pyqt and new-style classes

2004-02-18 Thread Phil Thompson
On Wednesday 18 February 2004 19:04, Eron Lloyd wrote: > Would there be any benefit in doing this? From the way I understand it, all > Qt objects already expose their get/set methods, while any objects you > create through subclassing can simply use Python's native properties > support. For the mos

Re: [PyKDE] pyqt and new-style classes

2004-02-18 Thread Stefan Seefeld
Eron Lloyd wrote: Would there be any benefit in doing this? From the way I understand it, all Qt objects already expose their get/set methods, while any objects you create through subclassing can simply use Python's native properties support. For the most part, properties have their biggest valu

Re: [PyKDE] pyqt and new-style classes

2004-02-18 Thread Eron Lloyd
Would there be any benefit in doing this? From the way I understand it, all Qt objects already expose their get/set methods, while any objects you create through subclassing can simply use Python's native properties support. For the most part, properties have their biggest value in use with Desi

Re: [PyKDE] pyqt and new-style classes

2004-02-18 Thread Phil Thompson
On Wednesday 18 February 2004 13:16, Stefan Seefeld wrote: > Phil Thompson wrote: > > SIP v4 classes are new-style classes. > > Wonderful ! Are there plans to map Qt properties to > python properties ? (sounds like an easy thing to > do given the technical parallels...) No, no plans. Phil __

Re: [PyKDE] pyqt and new-style classes

2004-02-18 Thread Stefan Seefeld
Phil Thompson wrote: SIP v4 classes are new-style classes. Wonderful ! Are there plans to map Qt properties to python properties ? (sounds like an easy thing to do given the technical parallels...) Regards, Stefan ___ PyKDE mailing list

Re: [PyKDE] pyqt and new-style classes

2004-02-14 Thread Phil Thompson
On Saturday 14 February 2004 15:54, Stefan Seefeld wrote: > hi there, > > I'v tried to write python classes that derive > from pyqt classes and 'object' (or any derivative > thereof), which immediately segfaults the application > as soon as such an object is constructed. Is there > any flag to set

Re: [PyKDE] pyqt and new-style classes

2004-02-14 Thread Fredrik Juhlin
Stefan Seefeld wrote: hi there, I'v tried to write python classes that derive from pyqt classes and 'object' (or any derivative thereof), which immediately segfaults the application as soon as such an object is constructed. Is there any flag to set when compiling sip and or pyqt to enable new-sty

[PyKDE] pyqt and new-style classes

2004-02-14 Thread Stefan Seefeld
hi there, I'v tried to write python classes that derive from pyqt classes and 'object' (or any derivative thereof), which immediately segfaults the application as soon as such an object is constructed. Is there any flag to set when compiling sip and or pyqt to enable new-style classes ? Thanks,