1#ifndef SCHEMAGRAPHICOBJECT_H
2#define SCHEMAGRAPHICOBJECT_H
5#include <QGraphicsObject>
6#include <QGraphicsSceneHoverEvent>
17class SchemaGraphicSegmentedArrow;
33 [[nodiscard]] QPainterPath
shape()
const override;
34 void paint ( QPainter * painter,
const QStyleOptionGraphicsItem * option,
35 QWidget * widget )
override;
42 QVariant
itemChange ( GraphicsItemChange change,
const QVariant & value );
void AddArrow(SchemaGraphicSegmentedArrow *Arrow)
Arrow API.
QStringList m_class_attributes
QStringList m_class_relationhips
void set_highlight_active(bool highlight)
QList< SchemaGraphicSegmentedArrow * > m_arrows
void RemoveObject(QString Name)
QPainterPath shape() const override
void UpdateObject(QString Name)
void hoverLeaveEvent(QGraphicsSceneHoverEvent *ev)
QStringList m_class_inherited_methods
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
void RemoveArrow(SchemaGraphicSegmentedArrow *Arrow)
QString m_class_object_name
bool m_inherited_properties_visible
QStringList m_class_methods
void hoverEnterEvent(QGraphicsSceneHoverEvent *ev)
QString GetClassName() const
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
SchemaGraphicObject(QString &ClassName, QGraphicsObject *parent=nullptr)
dunedaq::oks::OksClass * GetClass() const
QRectF boundingRect() const override
QStringList m_class_inherited_relationhips
dunedaq::oks::OksClass * m_class_info
QStringList m_class_inherited_attributes
bool HasArrow(SchemaGraphicObject *Dest) const
void set_inherited_properties_visibility(bool visible)
Graphic API.
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *ev)