Languages/Python/PyKDE WebKit Tutorial/Part6

Jump to: navigation, search


Warning.png
This page has been archived
The information on this page is outdated or no longer in use but is kept for historical purposes. Please see the Category:Archives for similar pages.
Warning.png
Warning
This tutorial uses Qt4, PyQt4, and PyKDE4.


Now we can add our address bar.

After creating the layout add:

        self.addressBar = QLineEdit(self.widget)
        layout.addWidget(self.addressBar)

A QLineEdit is a widget into which you can type a line of text.

See the full code.

The programme with a line edit for an address bar.

Pykde-tutorial-3.png


« Back to Part 5 | On to Part 7 »


This page was last edited on 31 May 2019, at 14:04. Content is available under Creative Commons License SA 4.0 unless otherwise noted.