Can QSGNode inherit QObject and connect to signals and slots? I have tried but the slot is only called when rendering is done.
I had a matrix of cells. I was using QML to display them on a bi dimensional ListView (a ListView the had in each delegate a ListView). This lacked performance so I changed to SceneGraph. The problem is the data model. I'm now a passing a QList, where column has a QList. Each row has cells the have signals. This cells change. I want to notify render updates on those signals. My solution until I have a better one is to make each cell trigger a changed signal on the respective column which by it's turn will turn the update flag on the main QQuickItem implementing the scene.
Ideas?
A
QSGNode
cannot supportsignal
s andslot
s natively. But if you wanted to you could do double inheritance.