Problem description: Class WorkspaceEditor contains one instance each of StructureTree, SegmentationTree and PropertyEditor. Whenever an item is selected in structureTree or segmentationTree, propertyEditor is supposed to show editable properties of the selected item.
In Qt, you make StructureTree and SegmentationTree emit a signal whenever the user selects an item and PropertyEditor gets a slot that implements the reaction to the signal. Finally signal and slot are connected.
What is the JUCE equivalent?
My motivation for this post is to find out what is the best way to implement this kind of communication and in particular avoid a trial-and-error process that might lead to suboptimal results. Thanks!
P.S.: I know about Signals & slots in Juce but since the problem is so common, I am confident that there is an ‘official’ standard solution in JUCE.