[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Access Python QObject from QML fails to convert on second call
From:       Fabian Sturm <f () rtfs ! org>
Date:       2016-05-21 15:08:17
Message-ID: 1463843297.29564.62.camel () rtfs ! org
[Download RAW message or body]

Just wanted to follow up. Setting the parent of the individual items to
the self of the QAbstractListModel solved my problem! So this part now
works.
Unfortunately what does not work is that if the item is changed it
never updates the ComboBox. But this is no PyQt problem...

Thanks a lot,
Fabian

Am Freitag, den 20.05.2016, 09:14 +0100 schrieb Phil Thompson:
> I don't use QML. You could look at the PyQt examples. They seem to do
> the initial setup in a more simple way - no use of QQmlComponent.
> 
> Phil

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic