Updating UI bitween objects
-
This is a variation the attache post
https://forum.qt.io/topic/49492/why-cant-i-pass-the-ui-variable-as-a-pointer?page=1
After reading it t , I am still not sure how they "solved " the issue.
One thing was clear - since UI is private its pointer can be only passed "down line".I have the opposite - I need to update "main window" - parent from child - upstream.
I like to use pointers but not sure about the syntax - would use of the dreaded "connect " be better anyway ?
What I really want is to have an object event passed to the parent and have parent broadcast the event update to all of the children.
Sound complicated but would be of great usage in future since "children " won't be talking to each other....... -
This is a variation the attache post
https://forum.qt.io/topic/49492/why-cant-i-pass-the-ui-variable-as-a-pointer?page=1
After reading it t , I am still not sure how they "solved " the issue.
One thing was clear - since UI is private its pointer can be only passed "down line".I have the opposite - I need to update "main window" - parent from child - upstream.
I like to use pointers but not sure about the syntax - would use of the dreaded "connect " be better anyway ?
What I really want is to have an object event passed to the parent and have parent broadcast the event update to all of the children.
Sound complicated but would be of great usage in future since "children " won't be talking to each other.......