KDE 4.3 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

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


Signals

 textChanged ()

Methods

 __init__ (self, QGraphicsWidget parent=0)
 dataUpdated (self, QString sourceName, Plasma.DataEngine.Data data)
KTextBrowser nativeWidget (self)
 resizeEvent (self, QGraphicsSceneResizeEvent event)
 setHorizontalScrollBarPolicy (self, Qt.ScrollBarPolicy policy)
 setStyleSheet (self, QString stylesheet)
 setText (self, QString text)
 setVerticalScrollBarPolicy (self, Qt.ScrollBarPolicy policy)
QString styleSheet (self)
QString text (self)
 textChanged (self)

Method Documentation

__init__ (  self,
QGraphicsWidget  parent=0
)
dataUpdated (  self,
QString  sourceName,
Plasma.DataEngine.Data  data
)
KTextBrowser nativeWidget (   self )

Returns:
the native widget wrapped by this TextBrowser

resizeEvent (  self,
QGraphicsSceneResizeEvent  event
)
setHorizontalScrollBarPolicy (  self,
Qt.ScrollBarPolicy  policy
)

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

setText (  self,
QString  text
)

Sets the display text for this TextBrowser

@arg text the text to display; should be translated.

setVerticalScrollBarPolicy (  self,
Qt.ScrollBarPolicy  policy
)

Sets the policy used to show/hide the vertical scrollbar

QString styleSheet (   self )

Returns:
the stylesheet currently used with this widget

QString text (   self )

Returns:
the display text

textChanged (   self )
Signal syntax:
QObject.connect(source, SIGNAL("textChanged()"), target_slot)
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal