Peppe, your right. I mixed up things from what I looked up in the sources some times ago. The layout only keeps book of the widgets it manages, but does not take ownership.
But what's really important for the users: After the UI is set up, all parent-child relationships are correct. I really do like Qt :-)