[PyQt] QAbstractListModel & QMl ListView: Invisible Items
Jonas Schürmann
jonasschuermann at aol.de
Mon Feb 23 20:17:17 GMT 2015
Thanks for the feedback!
Unfortunately I forgot to tell my current setup in my last email.
I am running Arch Linux, Python 3.4.2, Qt/PyQt 5.4.
I just installed Ubuntu on a virtual machine to test the code on a clean
system and I am running into the exact same issue. The versions are here
Python 3.4.2, Qt/PyQt 5.3
I always installed the packages from the official repositories, on my Arch box
and on Ubuntu.
Do you run different versions of Python/Qt?
Cheers,
Jonas
Am Montag, 23. Februar 2015, 14:24:07 schrieb Phil Thompson:
> On 16/02/2015 7:54 pm, Jonas Schürmann wrote:
> > Hello,
> >
> > I got a really strange problem and I don't know how to tackle it.
> >
> > What I'm trying to archive is simple: Using a subclassed
> > QAbstractListModel to
> > provide data to a QML ListView.
> >
> > The problem is, that only the first item in the ListView is visible,
> > all the
> > other items are there and take up space (I can scroll down the list),
> > but they
> > are not visible.
> > You can find a WebM of the behaviour I got here: [1]
> >
> > I have no idea how this can happen, to me it looks like a bug in PyQt.
> >
> > I'm attaching the two source files that reproduce the error for me.
> > If somebody else could reproduce the bug or give me some pointers how
> > this can
> > happen, I would be very glad.
> >
> > Regards,
> > Jonas Schürmann
> >
> > [1] http://gfycat.com/OffensiveShinyHagfish
>
> Works fine for me.
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150223/c4be11b8/attachment.sig>
More information about the PyQt
mailing list