[PyQt] Access Python QObject from QML fails to convert on second call
Fabian Sturm
f at rtfs.org
Sat May 21 16:08:17 BST 2016
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
More information about the PyQt
mailing list