liblancelot
ScrollPane.cpp
Go to the documentation of this file.
bool isHovered() const
Returns whether the mouse cursor is hovering the widget.
Definition: Widget.cpp:121
virtual ScrollPane * scrollPane() const
Definition: ScrollPane.cpp:59
void setParentItem(QGraphicsItem *newParent)
qreal top() const
void scrollVertical(int value)
Scrolls the view vertically to the specified value.
Definition: ScrollPane.cpp:235
A modified version of Plasma::BorderLayout.
Definition: FullBorderLayout.h:38
qreal left() const
QSizeF size() const
qreal bottom() const
QRectF viewportGeometry() const
The geometry of the area that actually displays the web page.
virtual void setScrollPane(ScrollPane *pane)
Sets the scroll pane that contains this Scrollable widget.
Definition: ScrollPane.cpp:52
void scrollTo(QRectF rect)
Ensures that the specified area is visible.
Definition: ScrollPane.cpp:320
QSizeF currentViewportSize() const
Definition: ScrollPane.cpp:158
void scrollableWidgetSizeUpdateNeeded()
Call this slot when the scrollable widget updates its side.
Definition: ScrollPane.cpp:163
QPointF scrollPosition() const
qreal right() const
void scrollHorizontal(int value)
Scrolls the view horizontally to the specified value.
Definition: ScrollPane.cpp:229
void setAcceptsHoverEvents(bool enabled)
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:59
L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:71
Definition: kineticscroll_p.h:36
L_Override void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: ScrollPane.cpp:223
QGraphicsWidget(QGraphicsItem *parent, QFlags< Qt::WindowType > wFlags)
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: ScrollPane.cpp:274
QSizeF contentsSize() const
ScrollPane(QGraphicsItem *parent=0)
Creates a new Lancelot::ScrollPane.
Definition: ScrollPane.cpp:92
L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: ScrollPane.cpp:289
QGraphicsLayout * layout() const
QSizeF maximumViewportSize() const
Definition: ScrollPane.cpp:153
void setScrollableWidget(Scrollable *widget)
Sets the widget that should be contained by this ScrollPane.
Definition: ScrollPane.cpp:137
qreal height() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
virtual void resizeEvent(QGraphicsSceneResizeEvent *event)
qreal width() const
void setScrollPosition(const QPointF &position)
Sets the position of the webpage relative to this widget.
Definition: ScrollPane.cpp:352
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 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:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.