liblancelot
Widget.cpp
Go to the documentation of this file.
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
virtual void setGroupByName(const QString &groupName)
Sets this widget's group by group name.
Definition: Widget.cpp:134
bool isHovered() const
Returns whether the mouse cursor is hovering the widget.
Definition: Widget.cpp:121
void mouseHoverEnter()
This signal is emitted when the mouse cursor enters the widget.
L_Override void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: Widget.cpp:110
bool isRightToLeft()
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
void fillRect(const QRectF &rectangle, const QBrush &brush)
L_Override void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: Widget.cpp:98
void setFlag(GraphicsItemFlag flag, bool enabled)
void scale(qreal sx, qreal sy)
void setPaintBackwardsWhenRTL(bool value)
Definition: Widget.cpp:263
void setGroupForObject(QObject *object, Group *group)
Sets the group for the object.
Definition: Global.cpp:473
bool isValid() const
L_Override void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: Widget.cpp:150
void update(const QRectF &rect)
QSizeF size() const
QSize toSize() const
void mouseHoverLeave()
This signal is emitted when the mouse cursor leaves the widget.
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
virtual void hideEvent(QHideEvent *event)
void paintBackground(QPainter *painter)
Paints the widget background using the widget's SVG.
Definition: Widget.cpp:158
Qt::MouseButton button() const
QSizeF boundedTo(const QSizeF &otherSize) const
bool isEnabled() const
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:59
L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:71
This class contains the triplet od colors for three standard object states - normal, disabled and active.
Definition: Global.h:71
L_Override QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
Definition: Widget.cpp:217
void translate(const QPointF &offset)
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
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.