Plasma
webview.cpp
Go to the documentation of this file.
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void setScrollPosition(const QPointF &position)
Sets the position of the webpage relative to this widget.
Definition: webview.cpp:140
void setBrush(ColorRole role, const QBrush &brush)
virtual void keyPressEvent(QKeyEvent *event)
QRectF viewportGeometry() const
The geometry of the area that actually displays the web page.
QString html() const
The applet is constrained horizontally, but can expand vertically.
Definition: plasma.h:77
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: webview.cpp:244
void setDragToScroll(bool drag)
Sets if the page can be scrolled around by dragging the contents with the mouse.
Definition: webview.cpp:180
QPalette palette() const
QRectF geometry() const
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition: webview.cpp:224
void setAcceptTouchEvents(bool enabled)
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
void hoverMoveEvent(QGraphicsSceneHoverEvent *event)
Definition: webview.cpp:229
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Definition: webview.cpp:239
virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event)
The applet is constrained vertically, but can expand horizontally.
Definition: plasma.h:75
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value)
virtual void dropEvent(QGraphicsSceneDragDropEvent *event)
void dragEnterEvent(QGraphicsSceneDragDropEvent *event)
Definition: webview.cpp:279
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Definition: webview.cpp:299
QPointF pos() const
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Reimplementation.
Definition: webview.cpp:219
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
void dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
Definition: webview.cpp:284
void wheelEvent(QGraphicsSceneWheelEvent *event)
Definition: webview.cpp:254
QSizeF contentsSize() const
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
Definition: webview.cpp:249
void back()
Loads the previous document in the list of documents built by navigating links.
Definition: webview.cpp:199
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
void forward()
Loads the next document in the list of documents built by navigating links.
Definition: webview.cpp:204
KUrl url() const
virtual void keyReleaseEvent(QKeyEvent *event)
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: webview.cpp:234
void dragMoveEvent(QGraphicsSceneDragDropEvent *event)
Definition: webview.cpp:289
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event)
bool dragToScroll()
qreal width() const
void setAcceptsHoverEvents(bool enabled)
virtual void wheelEvent(QGraphicsSceneWheelEvent *event)
QPointF scrollPosition() const
void setFlags(QFlags< QGraphicsItem::GraphicsItemFlag > flags)
void setScrollBarPolicy(Qt::Orientation orientation, Qt::ScrollBarPolicy policy)
virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event)
virtual void focusInEvent(QFocusEvent *event)
virtual void focusOutEvent(QFocusEvent *event)
qreal height() const
QWebFrame * mainFrame() const
The main web frame associated with this item.
Definition: webview.cpp:175
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
void loadProgress(int percent)
During loading progress, this signal is emitted.
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setHtml(const QByteArray &html, const KUrl &baseUrl=KUrl())
Sets the html to be shown along with a base URL to be used to resolve relative references.
Definition: webview.cpp:109
virtual void setGeometry(const QRectF &rect)
void loadFinished(bool success)
This signal is emitted when loading is completed.
void dropEvent(QGraphicsSceneDragDropEvent *event)
Definition: webview.cpp:294
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition: webview.cpp:317
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.