Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_TEXTEDIT_H
21 #define PLASMA_TEXTEDIT_H
23 #include <QtGui/QGraphicsProxyWidget>
33 class TextEditPrivate;
45 Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
46 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
47 Q_PROPERTY(KTextEdit *nativeWidget READ nativeWidget WRITE setNativeWidget)
48 Q_PROPERTY(
bool readOnly READ isReadOnly WRITE setReadOnly)
59 void setText(const QString &text);
71 void setReadOnly(
bool readOnly);
76 bool isReadOnly() const;
83 void setStyleSheet(const QString &stylesheet);
96 void setNativeWidget(KTextEdit *nativeWidget);
101 KTextEdit *nativeWidget() const;
108 void append(const QString &text);
110 void dataUpdated(const QString &sourceName, const Plasma::
DataEngine::Data &data);
116 void resizeEvent(QGraphicsSceneResizeEvent *event);
117 void changeEvent(QEvent *event);
118 void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
119 void mousePressEvent(QGraphicsSceneMouseEvent *event);
120 void focusOutEvent(QFocusEvent *event);
123 TextEditPrivate * const d;
124 Q_PRIVATE_SLOT(d,
void setPalette())
129 #endif // multiple inclusion guard
Data provider for plasmoids (Plasma plugins)
Provides a plasma-themed KTextEdit.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.