Now instead of having the ''QWebView'' as our top widget we have a plain ''QWidget''. This widget contains a layout which is not a visible widget but ensure child widgets are put in a sensible place. It is a ''QVBoxLayout'' which will put widgets in a vertical colum.

Now instead of having the ''QWebView'' as our top widget we have a plain ''QWidget''. This widget contains a layout which is not a visible widget but ensure child widgets are put in a sensible place. It is a ''QVBoxLayout'' which will put widgets in a vertical colum.

Line 22:

Line 22:

[[image:Pykde-tutorial-2.png|center]]

[[image:Pykde-tutorial-2.png|center]]

+

[[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part3|« Back to Part 3]] |

[[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part5|On to Part 5 »]]

[[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part5|On to Part 5 »]]

Now instead of having the QWebView as our top widget we have a plain QWidget. This widget contains a layout which is not a visible widget but ensure child widgets are put in a sensible place. It is a QVBoxLayout which will put widgets in a vertical colum.