#include <scalesceneitems.h>
|
enum | { Type = UserType + static_cast<int>(Vis::ScaledLine)
} |
|
|
| VScaledLine (QGraphicsItem *parent=nullptr) |
|
| VScaledLine (const QLineF &line, QGraphicsItem *parent=nullptr) |
|
virtual | ~VScaledLine ()=default |
|
virtual int | type () const Q_DECL_OVERRIDE |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) Q_DECL_OVERRIDE |
|
qreal | GetBasicWidth () const |
|
void | setBasicWidth (const qreal &value) |
|
Definition at line 62 of file scalesceneitems.h.
◆ anonymous enum
◆ VScaledLine() [1/2]
VScaledLine::VScaledLine |
( |
QGraphicsItem * |
parent = nullptr | ) |
|
|
explicit |
◆ VScaledLine() [2/2]
VScaledLine::VScaledLine |
( |
const QLineF & |
line, |
|
|
QGraphicsItem * |
parent = nullptr |
|
) |
| |
◆ ~VScaledLine()
virtual VScaledLine::~VScaledLine |
( |
| ) |
|
|
virtualdefault |
◆ GetBasicWidth()
qreal VScaledLine::GetBasicWidth |
( |
| ) |
const |
◆ paint()
void VScaledLine::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
virtual |
◆ setBasicWidth()
void VScaledLine::setBasicWidth |
( |
const qreal & |
value | ) |
|
◆ type()
virtual int VScaledLine::type |
( |
| ) |
const |
|
inlinevirtual |
Reimplemented in VisToolTrueDarts, VisToolTriangle, VisToolShoulderPoint, VisToolPointOfIntersectionArcs, VisToolPointOfContact, VisToolPointFromArcAndTangent, VisToolNormal, VisToolLineIntersectAxis, VisToolLineIntersect, VisToolLine, VisToolHeight, VisToolEndLine, VisToolCurveIntersectAxis, VisToolBisector, VisToolAlongLine, VisLine, PointIntersectXYVisual, VisToolRotation, VisToolMove, VisToolMirrorByLine, VisToolMirrorByAxis, VisOperation, IntersectCircleTangentVisual, IntersectCirclesVisual, and AnchorPointVisual.
Definition at line 69 of file scalesceneitems.h.
References Type.
◆ basicWidth
qreal VScaledLine::basicWidth |
|
private |
The documentation for this class was generated from the following files: