[PyQt] Embedding QWidgets within a parent
c.c.wood at gmail.com
Thu Apr 24 19:29:47 BST 2014
If I have a standalone widget, what's the best way to integrate (/embed) it
within a QMainWindow / parent QWidget? I know that a QScrollArea has a
setWidget method - but is there a better / lower level / more abstract way
of achieving it?
(In my particular case, I'm using QtWebKit; using this answer (
http://stackoverflow.com/a/13386109/889604) as a starting point, I'd like
to embed 'view' (which is an instance of Browser) into a parent QWidget.
I'd like to think that because QWebView inherits QWidget, this should be
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt