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

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.


Signals

 textChanged ()

Methods

 __init__ (self, QGraphicsWidget parent=0)
 dataUpdated (self, QString sourceName, Plasma.DataEngine.Data data)
KTextEdit nativeWidget (self)
 resizeEvent (self, QGraphicsSceneResizeEvent event)
 setStyleSheet (self, QString stylesheet)
 setText (self, QString text)
QString styleSheet (self)
QString text (self)
 textChanged (self)

Method Documentation

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

Returns:
the native widget wrapped by this TextEdit

resizeEvent (  self,
QGraphicsSceneResizeEvent  event
)
setStyleSheet (  self,
QString  stylesheet
)

Sets the stylesheet used to control the visual display of this TextEdit

@arg stylesheet a CSS string

setText (  self,
QString  text
)

Sets the display text for this TextEdit

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

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
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal