Plasma
Go to the documentation of this file.
21 #ifndef ITEMBACKGROUND_H
22 #define ITEMBACKGROUND_H
24 #include <QtGui/QGraphicsWidget>
38 class ItemBackgroundPrivate;
43 Q_PROPERTY(QRectF target READ target WRITE setTarget)
44 Q_PROPERTY(QGraphicsItem* targetItem READ targetItem WRITE setTargetItem)
46 Q_PROPERTY(qreal animationUpdate READ animationUpdate WRITE setAnimationUpdate)
57 void setTarget(
const QRectF &newGeometry);
62 QRectF target()
const;
67 void setTargetItem(QGraphicsItem *target);
72 QGraphicsItem *targetItem()
const;
84 void appearanceChanged();
89 void animationStep(qreal progress);
95 void targetReached(QRectF);
101 void targetItemReached(QGraphicsItem *);
107 QVariant itemChange(GraphicsItemChange change,
const QVariant &value);
112 bool eventFilter(
QObject *watched, QEvent *event);
117 bool sceneEventFilter(QGraphicsItem *watched, QEvent *event);
122 void resizeEvent(QGraphicsSceneResizeEvent *);
125 void setAnimationUpdate(qreal progress);
126 qreal animationUpdate()
const;
129 Q_PRIVATE_SLOT(d,
void targetDestroyed(
QObject*))
130 Q_PRIVATE_SLOT(d,
void frameSvgChanged())
131 Q_PRIVATE_SLOT(d,
void refreshCurrentTarget())
133 friend class ItemBackgroundPrivate;
134 ItemBackgroundPrivate * const d;
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat Nov 8 2014 15:07:58 by
doxygen 1.8.8 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.