Re: [Interest] Qt3D QAbstractItemModel to watch QEntity's

2018-11-13 Thread Philip Schuchardt
Yea, it would be really useful to have more add/remove signals. I think having a way to see if QNode are added/removed to another QNode. There's currently no way to see if the QNode tree has been modified structurally at the moment. Aspects can see these changes, via QSceneChanges, but other that t

Re: [Interest] Qt3D QAbstractItemModel to watch QEntity's

2018-11-13 Thread Paul Lemire via Interest
Hi, Have you looked into using the signals: void QComponent::addedToEntity(QEntity *entity); void QComponent::removedFromEntity(QEntity *entity); That would be up to you to write a table you would update based on these signals to keep track of which entities reference which components. There's

[Interest] Qt3D QAbstractItemModel to watch QEntity's

2018-11-12 Thread Philip Schuchardt
I want to create a QAbstractItemModel to watches Entity that have a custom component. The custom component would have information (a list key value pairs) for the QAbstractItemModel to change visibility of Entity's via a QLayer. The QAbstractItemModel would be attached to a ListView to allow users