#include <arrow_item.h>
|
| enum | { Type = typeArrow
} |
◆ anonymous enum
◆ ArrowItem()
◆ ~ArrowItem()
| ArrowItem::~ArrowItem |
( |
| ) |
|
|
override |
◆ animationEvent()
| bool ArrowItem::animationEvent |
( |
| ) |
|
|
overridevirtual |
Advances the item's animation by one timer tick.
- Returns
- true while the animation is still running, false once it has finished.
Implements IAnimatedItem.
◆ boundingRect()
| QRectF ArrowItem::boundingRect |
( |
| ) |
const |
|
inlinenodiscardoverride |
◆ delArrow()
| void ArrowItem::delArrow |
( |
| ) |
|
◆ getCreatorId()
| int ArrowItem::getCreatorId |
( |
| ) |
const |
|
inlinenodiscard |
◆ getId()
| int ArrowItem::getId |
( |
| ) |
const |
|
inlinenodiscard |
◆ getStartItem()
◆ getTargetItem()
◆ mousePressEvent()
| void ArrowItem::mousePressEvent |
( |
QGraphicsSceneMouseEvent * | event | ) |
|
|
overrideprotected |
◆ onTargetDestroyed()
| void ArrowItem::onTargetDestroyed |
( |
| ) |
|
◆ paint()
| void ArrowItem::paint |
( |
QPainter * | painter, |
|
|
const QStyleOptionGraphicsItem * | option, |
|
|
QWidget * | widget ) |
|
override |
◆ requestDeletion
| void ArrowItem::requestDeletion |
( |
int | creatorId, |
|
|
int | id ) |
|
signal |
◆ setTargetLocked()
| void ArrowItem::setTargetLocked |
( |
bool | _targetLocked | ) |
|
|
inline |
◆ shape()
| QPainterPath ArrowItem::shape |
( |
| ) |
const |
|
inlinenodiscardoverride |
◆ startDrawAnimation()
| void ArrowItem::startDrawAnimation |
( |
| ) |
|
◆ type()
| int ArrowItem::type |
( |
| ) |
const |
|
inlinenodiscardoverride |
◆ updatePath() [1/2]
| void ArrowItem::updatePath |
( |
| ) |
|
◆ updatePath() [2/2]
| void ArrowItem::updatePath |
( |
const QPointF & | endPoint | ) |
|
◆ animationClock
| QElapsedTimer ArrowItem::animationClock |
|
private |
◆ animationStarted
| bool ArrowItem::animationStarted = false |
|
private |
◆ bodyPath
| QPainterPath ArrowItem::bodyPath |
|
private |
◆ centerLine
| QPainterPath ArrowItem::centerLine |
|
private |
◆ data
| QSharedPointer<const ArrowData> ArrowItem::data |
|
protected |
◆ drawProgress
| qreal ArrowItem::drawProgress = 1.0 |
|
private |
◆ fullColor
| bool ArrowItem::fullColor = true |
|
protected |
◆ glowAlpha
| qreal ArrowItem::glowAlpha = 0.0 |
|
private |
◆ glowExtent
| qreal ArrowItem::glowExtent = 12.0 |
|
staticconstexprprivate |
◆ glowFadeDurationMs
| qreal ArrowItem::glowFadeDurationMs = 0 |
|
private |
◆ headBaseFraction
| qreal ArrowItem::headBaseFraction = 1.0 |
|
private |
◆ headPath
| QPainterPath ArrowItem::headPath |
|
private |
◆ path
| QPainterPath ArrowItem::path |
|
private |
◆ shaftOutlinePath
| QPainterPath ArrowItem::shaftOutlinePath |
|
private |
◆ startItem
◆ strokeDurationMs
| qreal ArrowItem::strokeDurationMs = 0 |
|
private |
◆ targetItem
◆ targetLocked
| bool ArrowItem::targetLocked = false |
|
protected |
The documentation for this class was generated from the following files: