Languages/Python/PyKDE WebKit Tutorial/Part6: Difference between revisions
Appearance
New page: Now we can add our address bar. After creating the layout add: <code python> self.addressBar = QLineEdit(self.widget) layout.addWidget(self.addressBar) </code> A ''QLine... |
No edit summary |
||
Line 17: | Line 17: | ||
[[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part4|« Back to Part 5]] | [[Development/Languages/Python/PyKDE_WebKit_Tutorial/ | [[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part4|« Back to Part 5]] | [[Development/Languages/Python/PyKDE_WebKit_Tutorial/Part7|On to Part 7 »]] |
Revision as of 00:16, 13 October 2008
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.
