Plasma
#include <textbrowser.h>
Provides a plasma-themed KTextBrowser.
- Since
- 4.3
Definition at line 42 of file textbrowser.h.
◆ TextBrowser()
◆ ~TextBrowser()
Plasma::TextBrowser::~TextBrowser |
( |
| ) |
|
◆ append
void Plasma::TextBrowser::append |
( |
const QString & |
text | ) |
|
|
slot |
Allows appending text to the text browser.
- Since
- 4.4
Definition at line 140 of file textbrowser.cpp.
◆ changeEvent()
void Plasma::TextBrowser::changeEvent |
( |
QEvent * |
event | ) |
|
|
protected |
◆ contextMenuEvent()
void Plasma::TextBrowser::contextMenuEvent |
( |
QGraphicsSceneContextMenuEvent * |
event | ) |
|
|
protected |
◆ dataUpdated
◆ nativeWidget()
KTextBrowser * Plasma::TextBrowser::nativeWidget |
( |
| ) |
const |
◆ resizeEvent()
void Plasma::TextBrowser::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
event | ) |
|
|
protected |
◆ setHorizontalScrollBarPolicy()
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.
◆ setStyleSheet()
void Plasma::TextBrowser::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
◆ setText()
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.
◆ setVerticalScrollBarPolicy()
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.
◆ styleSheet()
QString Plasma::TextBrowser::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
◆ text()
QString Plasma::TextBrowser::text |
( |
| ) |
const |
◆ textChanged
void Plasma::TextBrowser::textChanged |
( |
| ) |
|
|
signal |
◆ wheelEvent()
void Plasma::TextBrowser::wheelEvent |
( |
QGraphicsSceneWheelEvent * |
event | ) |
|
|
protected |
◆ nativeWidget
KTextBrowser * Plasma::TextBrowser::nativeWidget |
|
read |
◆ parentWidget
◆ styleSheet
QString Plasma::TextBrowser::styleSheet |
|
readwrite |
◆ text
QString Plasma::TextBrowser::text |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.