#include <scalesceneitems.h>
|
enum | { Type = UserType + static_cast<int>(Vis::ArrowedLineItem)
} |
|
|
| ArrowedLineItem (QGraphicsItem *parent=nullptr) |
|
| ArrowedLineItem (const QLineF &line, QGraphicsItem *parent=nullptr) |
|
virtual | ~ArrowedLineItem ()=default |
|
virtual int | type () const Q_DECL_OVERRIDE |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) Q_DECL_OVERRIDE |
|
|
void | drawArrow (const QLineF &axis, QPainterPath &path, const qreal &arrow_size) |
|
Definition at line 84 of file scalesceneitems.h.
◆ anonymous enum
◆ ArrowedLineItem() [1/2]
ArrowedLineItem::ArrowedLineItem |
( |
QGraphicsItem * |
parent = nullptr | ) |
|
|
explicit |
◆ ArrowedLineItem() [2/2]
ArrowedLineItem::ArrowedLineItem |
( |
const QLineF & |
line, |
|
|
QGraphicsItem * |
parent = nullptr |
|
) |
| |
◆ ~ArrowedLineItem()
virtual ArrowedLineItem::~ArrowedLineItem |
( |
| ) |
|
|
virtualdefault |
◆ drawArrow()
void ArrowedLineItem::drawArrow |
( |
const QLineF & |
axis, |
|
|
QPainterPath & |
path, |
|
|
const qreal & |
arrow_size |
|
) |
| |
|
private |
◆ paint()
void ArrowedLineItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
virtual |
◆ type()
virtual int ArrowedLineItem::type |
( |
| ) |
const |
|
inlinevirtual |
◆ m_arrows
The documentation for this class was generated from the following files: