Plasma
itembackground.cpp
Go to the documentation of this file.
263 void ItemBackground::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QPointF mapToParent(const QPointF &point) const
QGraphicsWidget * parentWidget() const
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Definition: itembackground.cpp:235
Type type() const
bool eventFilter(QObject *watched, QEvent *event)
Definition: itembackground.cpp:203
QGraphicsItem * targetItem() const
bool end()
void fillRect(const QRectF &rectangle, const QBrush &brush)
void setCompositionMode(CompositionMode mode)
bool sceneEventFilter(QGraphicsItem *watched, QEvent *event)
Definition: itembackground.cpp:219
void setFlag(GraphicsItemFlag flag, bool enabled)
void resizeEvent(QGraphicsSceneResizeEvent *)
Definition: itembackground.cpp:230
Definition: framesvg.h:93
QRectF geometry() const
void targetReached(QRectF)
Emitted when the target has been reached.
visible
void setAcceptedMouseButtons(QFlags< Qt::MouseButton > buttons)
void hide()
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom)
qreal zValue() const
void installEventFilter(QObject *filterObj)
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
void setTarget(const QRectF &newGeometry)
Sets a new target geometry we want at the end of animation.
Definition: itembackground.cpp:106
QPointF mapFromScene(const QPointF &point) const
ItemBackground(QGraphicsWidget *parent=0)
Definition: itembackground.cpp:61
a background for QGraphicsWidget based item views with animation effects
void moveTopLeft(const QPointF &position)
bool isVisible() const
QPointF mapToScene(const QPointF &point) const
void setCacheMode(CacheMode mode, const QSize &logicalCacheSize)
virtual QRectF boundingRect() const =0
QTransform transform() const
void setTransform(const QTransform &matrix, bool combine)
QRectF rect() const
bool isWidget() const
bool toBool() const
QGraphicsItem * parentItem() const
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QRect rect() const
void setZValue(qreal z)
virtual void setGeometry(const QRectF &rect)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: itembackground.cpp:263
virtual QRectF boundingRect() const
void setTargetItem(QGraphicsItem *target)
set the ItemBackground geometry to be the target geometry, plus the ItemBackground margins ...
Definition: itembackground.cpp:142
void destroyed(QObject *obj)
void removeEventFilter(QObject *obj)
QRectF target() const
void targetItemReached(QGraphicsItem *)
Emitted when the target has been reached.
singleShot
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.