#include <scene_rect.h>
|
enum | { Type = UserType + static_cast<int>(Vis::ScenePoint)
} |
|
|
| SceneRect (const QColor &lineColor, QGraphicsItem *parent=nullptr) |
|
virtual | ~SceneRect ()=default |
|
virtual int | type () const Q_DECL_OVERRIDE |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) Q_DECL_OVERRIDE |
|
virtual void | refreshPointGeometry (const VPointF &point) |
|
Definition at line 38 of file scene_rect.h.
◆ anonymous enum
◆ SceneRect()
SceneRect::SceneRect |
( |
const QColor & |
lineColor, |
|
|
QGraphicsItem * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~SceneRect()
virtual SceneRect::~SceneRect |
( |
| ) |
|
|
virtualdefault |
◆ hoverEnterEvent()
void SceneRect::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ hoverLeaveEvent()
void SceneRect::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ isOnlyPoint()
bool SceneRect::isOnlyPoint |
( |
| ) |
const |
|
protected |
◆ paint()
void SceneRect::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
virtual |
◆ refreshPointGeometry()
void SceneRect::refreshPointGeometry |
( |
const VPointF & |
point | ) |
|
|
virtual |
◆ setOnlyPoint()
void SceneRect::setOnlyPoint |
( |
bool |
value | ) |
|
|
protected |
◆ setPointColor()
void SceneRect::setPointColor |
( |
const QString & |
value | ) |
|
|
protected |
◆ setRectPen()
void SceneRect::setRectPen |
( |
qreal |
scale | ) |
|
|
private |
◆ type()
virtual int SceneRect::type |
( |
| ) |
const |
|
inlinevirtual |
◆ m_isHovered
bool SceneRect::m_isHovered |
|
protected |
◆ m_onlyPoint
bool SceneRect::m_onlyPoint |
|
protected |
◆ m_rectColor
QColor SceneRect::m_rectColor |
|
protected |
◆ m_showPointName
bool SceneRect::m_showPointName |
|
protected |
The documentation for this class was generated from the following files: