Am Donnerstag, 9. Februar 2006 18:08 schrieb Andreas Pakulat: > On 09.02.06 17:47:28, Tina Isaksen wrote: > > > >>void enkelTest::click() > > >>{ > > >>innput=self.lineEdit1.text().toInt() > > >>return innput > > >>} > > > > > >You're mixing C++ and Python here, not good. > > > > This I took directly from a tutorial...? > > > > http://www.cs.usfca.edu/~afedosov/qttut/ > > Did I tell you that I have no experience with PyQt3? So maybe pyuic > is actually capable of working with these ui.h files, I don't know. I > just "looks" wrong to me...
Yeah, it works this way with pyuic from PyQt3, but I would deprecate that, since it isn't needed when using the usual subclass approach... Pete _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde