[PyKDE] What little detail am I missing?

Hans-Peter Jansen hpj at urpla.net
Thu Feb 9 22:35:20 GMT 2006


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




More information about the PyQt mailing list