Plasma
#include <itembackground.h>
Definition at line 40 of file itembackground.h.
ItemBackground::~ItemBackground |
( |
| ) |
|
void Plasma::ItemBackground::animationStep |
( |
qreal |
progress | ) |
|
|
signal |
Emitted at each animation frame.
Useful for synchronizing item animations
void Plasma::ItemBackground::appearanceChanged |
( |
| ) |
|
|
signal |
Emitted when the visual layout and appearance changes.
Useful for synchronizing content margins.
bool ItemBackground::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
QVariant ItemBackground::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
protected |
void ItemBackground::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
| ) |
|
|
protected |
bool ItemBackground::sceneEventFilter |
( |
QGraphicsItem * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
void ItemBackground::setTarget |
( |
const QRectF & |
newGeometry | ) |
|
Sets a new target geometry we want at the end of animation.
- Parameters
-
newGeometry | the final geometry target |
Definition at line 106 of file itembackground.cpp.
void ItemBackground::setTargetItem |
( |
QGraphicsItem * |
target | ) |
|
QRectF Plasma::ItemBackground::target |
( |
| ) |
const |
- Returns
- the current target rect; may be empty if there is no target currently set
QGraphicsItem* Plasma::ItemBackground::targetItem |
( |
| ) |
const |
- Returns
- the target item, if any
void Plasma::ItemBackground::targetItemReached |
( |
QGraphicsItem * |
| ) |
|
|
signal |
Emitted when the target has been reached.
Useful to consider this instead of the corresponding hoverEnterEvent;
void Plasma::ItemBackground::targetReached |
( |
QRectF |
| ) |
|
|
signal |
Emitted when the target has been reached.
Useful to consider this instead of the corresponding hoverEnterEvent;
qreal ItemBackground::animationUpdate |
|
readwrite |
QRectF ItemBackground::target |
|
readwrite |
QGraphicsItem * ItemBackground::targetItem |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.