[PyQt] Snippet to embed a widget in an editor.

Phlip phlip2005 at gmail.com
Thu Jul 21 21:55:03 BST 2011

David Boddie wrote:

>> I switched to a vertically scrolling layout, and I'll just stuff what
>> I need into it, one by one.

> Have you thought about just using a layout and putting rich text QLabel
> widgets and buttons into it?


> Call the findChildren() method, optionally passing the class of the widgets
> you're looking for. Pass QWidget if you want to get them all.

Awesome. It's amazing how much stuff is in here, under the surface. Tx!


More information about the PyQt mailing list