What exactly do you want to achieve? To render only the children of some widget? This is not possible directly - render() renders the widget and optionally its children. You can put the children on a simple QWidget that is transparent and render that. What you do with the main window it's probably that you render the central widget that is transparent so you don't see it but only its children.
Bookmarks