Plasma
#include <itembackground.h>
Definition at line 40 of file itembackground.h.
◆ ItemBackground()
◆ ~ItemBackground()
ItemBackground::~ItemBackground |
( |
| ) |
|
◆ animationStep
void Plasma::ItemBackground::animationStep |
( |
qreal |
progress | ) |
|
|
signal |
Emitted at each animation frame.
Useful for synchronizing item animations
◆ appearanceChanged
void Plasma::ItemBackground::appearanceChanged |
( |
| ) |
|
|
signal |
Emitted when the visual layout and appearance changes.
Useful for synchronizing content margins.
◆ eventFilter()
bool ItemBackground::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
◆ itemChange()
QVariant ItemBackground::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
protected |
◆ paint()
◆ resizeEvent()
void ItemBackground::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
| ) |
|
|
protected |
◆ sceneEventFilter()
bool ItemBackground::sceneEventFilter |
( |
QGraphicsItem * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
◆ setTarget()
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.
◆ setTargetItem()
void ItemBackground::setTargetItem |
( |
QGraphicsItem * |
target | ) |
|
◆ target()
QRectF ItemBackground::target |
( |
| ) |
const |
- Returns
- the current target rect; may be empty if there is no target currently set
Definition at line 101 of file itembackground.cpp.
◆ targetItem()
QGraphicsItem * ItemBackground::targetItem |
( |
| ) |
const |
◆ targetItemReached
void Plasma::ItemBackground::targetItemReached |
( |
QGraphicsItem * |
| ) |
|
|
signal |
Emitted when the target has been reached.
Useful to consider this instead of the corresponding hoverEnterEvent;
◆ targetReached
void Plasma::ItemBackground::targetReached |
( |
QRectF |
| ) |
|
|
signal |
Emitted when the target has been reached.
Useful to consider this instead of the corresponding hoverEnterEvent;
◆ animationUpdate
qreal Plasma::ItemBackground::animationUpdate |
|
readwrite |
◆ target
QRectF Plasma::ItemBackground::target |
|
readwrite |
◆ targetItem
QGraphicsItem* Plasma::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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.