hello.
I'm creating an opengl/qt interface.
The opengl have a scenegraph and renders all every 2 ms.
I have some entities like line , point , cube eccc.. with a qt model that may be changed every time from a dialog.
I would that when i change a value on a point for example the x position the entity in the dialog change his property at index 0 of the qt model and the rendering system set a var on the shader to the new value.
when i changes a value on the dialog, on the model of the entities must change and all that is take the x entity value from anywhere take the new value.
How i can update a model and signal to each entities connected the change?
with emit?
is like the observer pattern ?where i can bind objects and each object receives a notify when i call "emit"?
thanks.