Plasma
Go to the documentation of this file.
20#ifndef PLASMA_TEXTBROWSER_H
21#define PLASMA_TEXTBROWSER_H
23#include <QtGui/QGraphicsProxyWidget>
33class TextBrowserPrivate;
47 Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
48 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
49 Q_PROPERTY(KTextBrowser *nativeWidget READ nativeWidget)
60 void setText(
const QString &text);
70 void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy policy);
75 void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy policy);
82 void setStyleSheet(
const QString &stylesheet);
92 KTextBrowser *nativeWidget()
const;
99 void append(
const QString &text);
107 void resizeEvent(QGraphicsSceneResizeEvent *event);
108 void wheelEvent(QGraphicsSceneWheelEvent *event);
109 void changeEvent(QEvent *event);
110 void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
113 TextBrowserPrivate *
const d;
115 Q_PRIVATE_SLOT(d,
void setFixedHeight())
116 Q_PRIVATE_SLOT(d,
void setPalette())
QHash< QString, QVariant > Data
Provides a plasma-themed KTextBrowser.
Namespace for everything in libplasma.
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.