18#ifndef CONDUCTOR_TEXT_ITEM_H
19#define CONDUCTOR_TEXT_ITEM_H
42 enum {
Type = UserType + 1006 };
44 void fromXml(
const QDomElement &)
override;
50 virtual void setPos(
const QPointF &pos);
51 virtual void setPos(qreal x, qreal y);
Definition conductor.h:43
Definition conductortextitem.h:30
bool rotate_by_user_
Definition conductortextitem.h:65
ConductorTextItem(const ConductorTextItem &)
int type() const override
Definition conductortextitem.h:45
~ConductorTextItem() override
Definition conductortextitem.cpp:53
@ Type
Definition conductortextitem.h:42
void hoverLeaveEvent(QGraphicsSceneHoverEvent *) override
Definition conductortextitem.cpp:251
void hoverMoveEvent(QGraphicsSceneHoverEvent *) override
Definition conductortextitem.cpp:262
QPointF before_mov_pos_
Definition conductortextitem.h:66
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
ConductorTextItem::mouseReleaseEvent.
Definition conductortextitem.cpp:204
virtual bool wasRotateByUser() const
ConductorTextItem::wasRotateByUser.
Definition conductortextitem.cpp:96
bool moved_by_user_
Definition conductortextitem.h:64
virtual void setPos(const QPointF &pos)
ConductorTextItem::setPos.
Definition conductortextitem.cpp:135
virtual void forceMovedByUser(bool)
Definition conductortextitem.cpp:106
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
ConductorTextItem::mouseMoveEvent.
Definition conductortextitem.cpp:179
void hoverEnterEvent(QGraphicsSceneHoverEvent *) override
Definition conductortextitem.cpp:237
virtual bool wasMovedByUser() const
Definition conductortextitem.cpp:87
Conductor * parentConductor() const
Definition conductortextitem.cpp:61
Conductor * parent_conductor_
Definition conductortextitem.h:63
void fromXml(const QDomElement &) override
ConductorTextItem::fromXml Read the properties stored in the xml element given in parameter.
Definition conductortextitem.cpp:71
virtual void forceRotateByUser(bool)
ConductorTextItem::forceRotateByUser.
Definition conductortextitem.cpp:122
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
ConductorTextItem::mousePressEvent.
Definition conductortextitem.cpp:170
Definition diagramtextitem.h:34