Plasma
Go to the documentation of this file. 20 #ifndef PLASMA_TEXTBROWSER_H 21 #define PLASMA_TEXTBROWSER_H 23 #include <QtGui/QGraphicsProxyWidget> 33 class 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);
101 void dataUpdated(const QString &sourceName, const
Plasma::
DataEngine::Data &data);
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())
121 #endif // multiple inclusion guard Provides a plasma-themed KTextBrowser.
Namespace for everything in libplasma.
Data provider for plasmoids (Plasma plugins)
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Sat May 13 2017 06:40:51 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.