• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Plasma

Plasma::TextEdit

Plasma::TextEdit Class Reference

Provides a plasma-themed KTextEdit. More...

#include <Plasma/Widgets/TextEdit>

Inheritance diagram for Plasma::TextEdit:
QGraphicsProxyWidget

List of all members.

Public Slots

void dataUpdated (const QString &sourceName, const Plasma::DataEngine::Data &data)

Signals

void textChanged ()

Public Member Functions

KTextEdit * nativeWidget () const
void setStyleSheet (const QString &stylesheet)
void setText (const QString &text)
QString styleSheet ()
QString text () const
 TextEdit (QGraphicsWidget *parent=0)
 ~TextEdit ()

Protected Member Functions

void resizeEvent (QGraphicsSceneResizeEvent *event)

Properties

KTextEdit nativeWidget
QGraphicsWidget parentWidget
QString stylesheet
QString text

Detailed Description

Provides a plasma-themed KTextEdit.

Definition at line 40 of file textedit.h.


Constructor & Destructor Documentation

Plasma::TextEdit::TextEdit ( QGraphicsWidget *  parent = 0  )  [explicit]

Definition at line 41 of file textedit.cpp.

Plasma::TextEdit::~TextEdit (  ) 

Definition at line 57 of file textedit.cpp.


Member Function Documentation

void Plasma::TextEdit::dataUpdated ( const QString &  sourceName,
const Plasma::DataEngine::Data &  data 
) [slot]

Definition at line 89 of file textedit.cpp.

KTextEdit* Plasma::TextEdit::nativeWidget (  )  const
Returns:
the native widget wrapped by this TextEdit
void Plasma::TextEdit::resizeEvent ( QGraphicsSceneResizeEvent *  event  )  [protected]

Definition at line 103 of file textedit.cpp.

void Plasma::TextEdit::setStyleSheet ( const QString &  stylesheet  ) 

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

  • stylesheet a CSS string

Definition at line 74 of file textedit.cpp.

void Plasma::TextEdit::setText ( const QString &  text  ) 

Sets the display text for this TextEdit.

  • text the text to display; should be translated.

Definition at line 63 of file textedit.cpp.

QString Plasma::TextEdit::styleSheet (  ) 
Returns:
the stylesheet currently used with this widget

Definition at line 79 of file textedit.cpp.

QString Plasma::TextEdit::text (  )  const
Returns:
the display text
void Plasma::TextEdit::textChanged (  )  [signal]

Property Documentation

KTextEdit * Plasma::TextEdit::nativeWidget [read]

Definition at line 47 of file textedit.h.

QGraphicsWidget Plasma::TextEdit::parentWidget [read]

Definition at line 44 of file textedit.h.

QString Plasma::TextEdit::stylesheet [read, write]

Definition at line 46 of file textedit.h.

QString Plasma::TextEdit::text [read, write]

Definition at line 45 of file textedit.h.


The documentation for this class was generated from the following files:
  • textedit.h
  • textedit.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal