[Interest] Qt3D QAbstractModel to watch Entities

Philip Schuchardt vpicaver at gmail.com
Sun Nov 11 16:16:22 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181111/24810386/attachment.html>


More information about the Interest mailing list