TextEdit Class Reference
from PyKDE4.plasma import *
Inherits: QGraphicsProxyWidget → QGraphicsWidget → QObject
Namespace: Plasma
Detailed Description
TextEdit plasma/widgets/textedit.h <Plasma/Widgets/TextEdit>
Provides a plasma-themed KTextEdit.
Method Documentation
dataUpdated |
( |
self, |
|
|
|
QString |
sourceName, |
|
|
Plasma.DataEngine.Data |
data |
|
) |
|
|
|
- Returns:
- the native widget wrapped by this TextEdit
setStyleSheet |
( |
self, |
|
|
|
QString |
stylesheet |
|
) |
|
|
|
Sets the stylesheet used to control the visual display of this TextEdit
@arg stylesheet a CSS string
Sets the display text for this TextEdit
@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("textChanged()"), target_slot)