LineEdit Class Reference
from PyKDE4.plasma import *
Inherits: QGraphicsProxyWidget → QGraphicsWidget → QObject
Namespace: Plasma
Detailed Description
LineEdit plasma/widgets/lineedit.h <Plasma/Widgets/LineEdit>
Provides a plasma-themed KLineEdit.
Method Documentation
- Signal syntax:
QObject.connect(source, SIGNAL("editingFinished()"), target_slot)
- Returns:
- the native widget wrapped by this LineEdit
- Signal syntax:
QObject.connect(source, SIGNAL("returnPressed()"), target_slot)
setStyleSheet |
( |
self, |
|
|
|
QString |
stylesheet |
|
) |
|
|
|
Sets the stylesheet used to control the visual display of this LineEdit
@arg stylesheet a CSS string
Sets the display text for this LineEdit
@arg text the text to display; should be translated.
- Returns:
- the stylesheet currently used with this widget
- Returns:
- the display text
- Signal syntax:
QObject.connect(source, SIGNAL("textEdited(const QString&)"), target_slot)