Plasma
#include <textbrowser.h>
Public Slots | |
void | append (const QString &text) |
void | dataUpdated (const QString &sourceName, const Plasma::DataEngine::Data &data) |
Signals | |
void | textChanged () |
Public Member Functions | |
TextBrowser (QGraphicsWidget *parent=0) | |
~TextBrowser () | |
KTextBrowser * | nativeWidget () const |
void | setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy policy) |
void | setStyleSheet (const QString &stylesheet) |
void | setText (const QString &text) |
void | setVerticalScrollBarPolicy (Qt::ScrollBarPolicy policy) |
QString | styleSheet () |
QString | text () const |
Protected Member Functions | |
void | changeEvent (QEvent *event) |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
void | wheelEvent (QGraphicsSceneWheelEvent *event) |
Properties | |
KTextBrowser | nativeWidget |
QGraphicsWidget | parentWidget |
QString | styleSheet |
QString | text |
Detailed Description
Constructor & Destructor Documentation
|
explicit |
Definition at line 78 of file textbrowser.cpp.
Plasma::TextBrowser::~TextBrowser | ( | ) |
Definition at line 99 of file textbrowser.cpp.
Member Function Documentation
|
slot |
|
protected |
Definition at line 184 of file textbrowser.cpp.
|
protected |
Definition at line 159 of file textbrowser.cpp.
|
slot |
Definition at line 145 of file textbrowser.cpp.
KTextBrowser* Plasma::TextBrowser::nativeWidget | ( | ) | const |
- Returns
- the native widget wrapped by this TextBrowser
|
protected |
Definition at line 168 of file textbrowser.cpp.
void Plasma::TextBrowser::setHorizontalScrollBarPolicy | ( | Qt::ScrollBarPolicy | policy | ) |
Sets the policy used to show/hide the horizontal scrollbar.
Definition at line 115 of file textbrowser.cpp.
void Plasma::TextBrowser::setStyleSheet | ( | const QString & | stylesheet | ) |
Sets the stylesheet used to control the visual display of this TextBrowser.
- Parameters
-
stylesheet a CSS string
Definition at line 125 of file textbrowser.cpp.
void Plasma::TextBrowser::setText | ( | const QString & | text | ) |
Sets the display text for this TextBrowser.
- Parameters
-
text the text to display; should be translated.
Definition at line 105 of file textbrowser.cpp.
void Plasma::TextBrowser::setVerticalScrollBarPolicy | ( | Qt::ScrollBarPolicy | policy | ) |
Sets the policy used to show/hide the vertical scrollbar.
Definition at line 120 of file textbrowser.cpp.
QString Plasma::TextBrowser::styleSheet | ( | ) |
- Returns
- the stylesheet currently used with this widget
QString Plasma::TextBrowser::text | ( | ) | const |
- Returns
- the display text
|
signal |
|
protected |
Definition at line 174 of file textbrowser.cpp.
Property Documentation
|
read |
Definition at line 49 of file textbrowser.h.
|
read |
Definition at line 46 of file textbrowser.h.
|
readwrite |
Definition at line 48 of file textbrowser.h.
|
readwrite |
Definition at line 47 of file textbrowser.h.
The documentation for this class was generated from the following files:
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.