Widgets can contain other widgets. There's a parent child relationship which can result in a tree of widgets. You add the parent widget to the tab.
Use layouts to arrange the widgets.