TextBrowser Class Reference
from PyKDE4.plasma import *
Inherits: QGraphicsProxyWidget → QGraphicsWidget → QObject
Namespace: Plasma
Detailed Description
TextBrowser plasma/widgets/TextBrowser.h <Plasma/Widgets/TextBrowser>
Provides a plasma-themed KTextBrowser.
- Since:
- 4.3
Method Documentation
dataUpdated |
( |
self, |
|
|
|
QString |
sourceName, |
|
|
Plasma.DataEngine.Data |
data |
|
) |
|
|
|
- Returns:
- the native widget wrapped by this TextBrowser
Sets the policy used to show/hide the horizontal scrollbar
setStyleSheet |
( |
self, |
|
|
|
QString |
stylesheet |
|
) |
|
|
|
Sets the stylesheet used to control the visual display of this TextBrowser
@arg stylesheet a CSS string
Sets the display text for this TextBrowser
@arg text the text to display; should be translated.
Sets the policy used to show/hide the vertical scrollbar
- Returns:
- the stylesheet currently used with this widget
- Returns:
- the display text
- Signal syntax:
QObject.connect(source, SIGNAL("textChanged()"), target_slot)