Philip Schuchardt
2018-11-11 15:16:22 UTC
I want to create a QAbstractItemModel to watches Entity that have a custom
component. The custom component would have information for the
QAbstractItemModel to change visibility of Entity's via a QLayer. The
QAbstractItemModel would be attached to a ListView to allow users to enable
and disable visibility. I'm having trouble figuring out how to access or
use add/remove entity and component events.
Do I need to write a custom QAspect to allow QAbstractItemModel to watch
scene changes?
Do subclasses of QAbstractAspects live on a non-gui thread?
I'm trying to follow https://www.kdab.com/writing-custom-qt-3d-aspect/ but
there's only 2/3 parts to the article. Qt docs on aspects are pretty much
non-existent.
Thanks,
Phi|ip
component. The custom component would have information for the
QAbstractItemModel to change visibility of Entity's via a QLayer. The
QAbstractItemModel would be attached to a ListView to allow users to enable
and disable visibility. I'm having trouble figuring out how to access or
use add/remove entity and component events.
Do I need to write a custom QAspect to allow QAbstractItemModel to watch
scene changes?
Do subclasses of QAbstractAspects live on a non-gui thread?
I'm trying to follow https://www.kdab.com/writing-custom-qt-3d-aspect/ but
there's only 2/3 parts to the article. Qt docs on aspects are pretty much
non-existent.
Thanks,
Phi|ip