|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SchemaGraphicObject.hpp>
Public Member Functions | |
| SchemaGraphicObject (QString &ClassName, SchemaGraphicsScene *scene, QGraphicsObject *parent=nullptr) | |
| ~SchemaGraphicObject () | |
| dunedaq::oks::OksClass * | GetClass () const |
| QString | GetClassName () const |
| void | GetInfo () |
| void | toggle_highlight_class () |
| Graphic API. | |
| QRectF | boundingRect () const override |
| QPainterPath | shape () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| void | AddArrow (SchemaGraphicSegmentedArrow *Arrow) |
| Arrow API. | |
| void | RemoveArrow (SchemaGraphicSegmentedArrow *Arrow) |
| void | RemoveArrows () |
| bool | HasArrow (SchemaGraphicObject *Dest) const |
| void | update_arrows () |
| bool | highlighted () const |
Protected Member Functions | |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *ev) |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *ev) |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *ev) |
Private Slots | |
| void | UpdateObject (QString Name) |
| void | RemoveObject (QString Name) |
Private Member Functions | |
| void | set_font () |
Private Attributes | |
| SchemaGraphicsScene * | m_scene |
| dunedaq::oks::OksClass * | m_class_info |
| QString | m_class_object_name |
| QStringList | m_class_attributes |
| QStringList | m_class_attribute_values |
| QStringList | m_class_methods |
| QStringList | m_class_relationhips |
| QStringList | m_class_inherited_attributes |
| QStringList | m_class_inherited_relationhips |
| QStringList | m_class_inherited_methods |
| bool | m_inherited_properties_visible |
| bool | m_highlight_active { false } |
| bool | m_highlight_class { false } |
| QFont | m_font |
| QFont | m_bold_font |
| double | LineOffsetX |
| double | LineOffsetY |
| QList< SchemaGraphicSegmentedArrow * > | m_arrows |
Definition at line 19 of file SchemaGraphicObject.hpp.
|
explicit |
Connecting Signals
Getting Class
Getting class info
Definition at line 22 of file SchemaGraphicObject.cpp.
| dbse::SchemaGraphicObject::~SchemaGraphicObject | ( | ) |
Definition at line 47 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::AddArrow | ( | SchemaGraphicSegmentedArrow * | Arrow | ) |
Arrow API.
Definition at line 425 of file SchemaGraphicObject.cpp.
|
nodiscardoverride |
Definition at line 242 of file SchemaGraphicObject.cpp.
|
nodiscard |
Definition at line 126 of file SchemaGraphicObject.cpp.
|
nodiscard |
Definition at line 132 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::GetInfo | ( | ) |
Getting direct Attributes
Getting direct Relationships
Getting direct Methods
Getting indirect Attributes
Getting indirect Relationships
Getting indirect Methods
Definition at line 138 of file SchemaGraphicObject.cpp.
| bool dbse::SchemaGraphicObject::HasArrow | ( | SchemaGraphicObject * | Dest | ) | const |
Definition at line 451 of file SchemaGraphicObject.cpp.
|
inline |
Definition at line 40 of file SchemaGraphicObject.hpp.
|
protected |
Definition at line 50 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 111 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 500 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 119 of file SchemaGraphicObject.cpp.
|
override |
Definition at line 320 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::RemoveArrow | ( | SchemaGraphicSegmentedArrow * | Arrow | ) |
Definition at line 431 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::RemoveArrows | ( | ) |
Definition at line 441 of file SchemaGraphicObject.cpp.
|
privateslot |
Updating object representation
Definition at line 539 of file SchemaGraphicObject.cpp.
|
private |
Definition at line 478 of file SchemaGraphicObject.cpp.
|
nodiscardoverride |
Definition at line 312 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::toggle_highlight_class | ( | ) |
Graphic API.
Definition at line 492 of file SchemaGraphicObject.cpp.
| void dbse::SchemaGraphicObject::update_arrows | ( | ) |
Definition at line 470 of file SchemaGraphicObject.cpp.
|
privateslot |
Updating object info
Updating object representation
Repainting object
Definition at line 511 of file SchemaGraphicObject.cpp.
|
private |
Definition at line 68 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 69 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 70 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 66 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 54 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 53 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 51 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 58 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 60 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 59 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 55 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 52 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 56 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 65 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 63 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 64 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 62 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 50 of file SchemaGraphicObject.hpp.