[PyQt] Multiple Inheritance

Hans-Peter Jansen hpj at urpla.net
Thu Mar 13 13:45:36 GMT 2008


[Ivan, two things first: keep discussions on this fairly low volume list,
 and do not top post, if remotely possible]

Am Donnerstag, 13. März 2008 schrieb Ivan Coronado:
> I want to create class that inherits Qmainwindow and qthread support, but
> now i'm thinking about create two diferent classes.

Well, that sounds like a perfect recipe to beg for trouble, even in C++. If 
you look at the semantics of both classes, you discover plenties of reasons 
to keep them separated. 

Pete

> thanks
>
> -----Mensaje original-----
> De: pyqt-bounces at riverbankcomputing.com
> [mailto:pyqt-bounces at riverbankcomputing.com] En nombre de Hans-Peter
> Jansen Enviado el: jueves, 13 de marzo de 2008 12:40
> Para: pyqt at riverbankcomputing.com
> Asunto: Re: [PyQt] Multiple Inheritance
>
> Am Donnerstag, 13. März 2008 schrieb Ivan Coronado:
> > Is possible the Multiple Inheritance from qt classes with PyQt??
>
> Yes and no, since at most one sip generated class can be involved.
>
> The question is, what's your purpose?
>
> Pete
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt





More information about the PyQt mailing list