[PyQt] Snippet to embed a widget in an editor.
phlip2005 at gmail.com
Thu Jul 21 17:26:53 BST 2011
> I changed the code for the text object to use the widget's size hint.
Awesome, thanks, but..!
I can't click on the form; the point was simulating a web page's form.
I switched to a vertically scrolling layout, and I'll just stuff what
I need into it, one by one.
(I'm going for a chat scroll, like Skype...)
New question: Given a QWidget, how to I collect every control
(QLineEdit, QLabel, etc.) in it?
Walking the object model it appears I must traverse each layout, each
layout's children, etc. Is this already bottled up for me?
More information about the PyQt