An affective way to manage multiple widgets groups
Hi all,
Can anyone give me a pointer of how-to organize and manage a group of widgets so I can enable and disable whole group together?
If I have a group of buttons, gauge, text fields widgets and I need two different groups that overlap each other so I have to enable one and disable the other group and vice versa base on one toggle button states.
I tried the containers method but unfortunately there are so many details that each group has to be differently so I can't implement the container. Each group has about 20 widgets, and it is just a mess (for me) to make these 20 widgets setVisible(true) vs. setVisible(false).
Do any of you know how to organize these widgets as a group? So I can setVisible once for every widgets in the group?
Thank you for your time.
