On Saturday 09 July 2005 5:03 pm, Giovanni Bajo wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > > How? Qt doesn't provide the type information that would be needed to do > > this. > > Can't you pretend all those virtual functions are pure, so that they're > invoked virtually? At least the iterator will work correctly, even if > Python doesn't know its real type.
The iterator works fine. The problem is working out the specific type of the QLayoutItems it returns. Having looked at the implementation of QLayoutItem, QWidgetItem etc. it looks like it will be possible to use QLayoutItem::widget() etc. to determine a more specific type. Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
