#include <Plasma/Widgets/TextEdit>
Provides a plasma-themed KTextEdit.
Definition at line 40 of file textedit.h.
Plasma::TextEdit::~TextEdit |
( |
| ) |
|
void Plasma::TextEdit::append |
( |
const QString & |
text | ) |
|
|
slot |
Allows appending text to the text browser.
- Since
- 4.4
Definition at line 125 of file textedit.cpp.
void Plasma::TextEdit::changeEvent |
( |
QEvent * |
event | ) |
|
|
protected |
void Plasma::TextEdit::contextMenuEvent |
( |
QGraphicsSceneContextMenuEvent * |
event | ) |
|
|
protected |
void Plasma::TextEdit::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protected |
bool Plasma::TextEdit::isReadOnly |
( |
| ) |
const |
- Returns
- true if the text area is non-interacive
Definition at line 85 of file textedit.cpp.
void Plasma::TextEdit::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protected |
KTextEdit* Plasma::TextEdit::nativeWidget |
( |
| ) |
const |
- Returns
- the native widget wrapped by this TextEdit
void Plasma::TextEdit::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
event | ) |
|
|
protected |
void Plasma::TextEdit::setNativeWidget |
( |
KTextEdit * |
nativeWidget | ) |
|
Sets the text edit wrapped by this TextEdit (widget must inherit KTextEdit), ownership is transferred to the TextEdit.
- Parameters
-
nativeWidget | text edit that will be wrapped by this TextEdit |
- Since
- KDE4.4
Definition at line 100 of file textedit.cpp.
void Plasma::TextEdit::setReadOnly |
( |
bool |
readOnly | ) |
|
Sets the text area to be read only or interactive.
- Parameters
-
true | to make it read only, false for interactive |
- Since
- 4.4
Definition at line 80 of file textedit.cpp.
void Plasma::TextEdit::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
Sets the stylesheet used to control the visual display of this TextEdit.
- Parameters
-
Definition at line 90 of file textedit.cpp.
void Plasma::TextEdit::setText |
( |
const QString & |
text | ) |
|
Sets the display text for this TextEdit.
- Parameters
-
text | the text to display; should be translated. |
Definition at line 70 of file textedit.cpp.
QString Plasma::TextEdit::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
QString Plasma::TextEdit::text |
( |
| ) |
const |
void Plasma::TextEdit::textChanged |
( |
| ) |
|
|
signal |
KTextEdit * Plasma::TextEdit::nativeWidget |
|
readwrite |
bool Plasma::TextEdit::readOnly |
|
readwrite |
QString Plasma::TextEdit::styleSheet |
|
readwrite |
QString Plasma::TextEdit::text |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.