39 virtual void removeAllConnections(
void)
override;
41 virtual void prepareGraphicsItemGeometryChange(
void)
override;
43 virtual void callPaint(QPainter* _painter,
const QStyleOptionGraphicsItem* _opt, QWidget* _widget)
override;
48 virtual void setGraphicsItemRequestedSize(
const QSizeF& _size)
override;
50 virtual QSizeF graphicsItemSizeHint(Qt::SizeHint _hint,
const QSizeF& _constrains)
const;
58 virtual void finalizeGraphicsItem(
void)
override;
60 virtual std::list<GraphicsElement*> getAllGraphicsElements(
void)
override;
62 virtual std::list<GraphicsElement*> getAllDirectChildElements(
void)
override;
68 virtual void paint(QPainter* _painter,
const QStyleOptionGraphicsItem* _opt, QWidget* _widget)
override;
70 virtual QRectF boundingRect(
void)
const override;
71 virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange _change,
const QVariant& _value)
override;
72 virtual void mousePressEvent(QGraphicsSceneMouseEvent* _event)
override;
73 virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* _event)
override;
74 virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* _event)
override;
75 virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* _event)
override;
76 virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* _event)
override;
82 virtual QSizeF sizeHint(Qt::SizeHint _hint,
const QSizeF& _constrains)
const override;
84 virtual void setGeometry(
const QRectF& rect)
override;
93 virtual double getMaxAdditionalTriggerDistance(
void)
const override;
102 virtual void graphicsElementStateChanged(
const GraphicsElementStateFlags& _state)
override;
104 virtual void notifyChildsAboutTransformChange(
const QTransform& _newTransform)
override;
110 bool adjustChildItems(
void);
112 std::list<GraphicsStackItemEntry> m_items;
113 QSizeF m_lastCalculatedSize;
The GraphicsStackItemEntry holds a GraphicsItem aswell as the information if this item is a master or...
Definition GraphicsStackItem.h:21
bool isSlave
If true, the item is a master.
Definition GraphicsStackItem.h:24
ot::GraphicsItem * item
Definition GraphicsStackItem.h:22
bool isMaster
Item.
Definition GraphicsStackItem.h:23