- Create a UserWidget “MyLayout”.
- Add named slot widgets to it to create… a layout.
- Create another UserWidget “MyMenu”, using MyLayout as its root widget.
- Add widgets to the slots on the “MyMenu” widget.
- Rename a named slot on “MyLayout”.
- Open up MyMenu and be amazed how all widgets on the slot are deleted.