DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SchemaGraphicObject.hpp>
Public Member Functions | |
SchemaGraphicObject (QString &ClassName, QGraphicsObject *parent=nullptr) | |
~SchemaGraphicObject () | |
dunedaq::oks::OksClass * | GetClass () const |
QString | GetClassName () const |
void | GetInfo () |
void | set_inherited_properties_visibility (bool visible) |
Graphic API. | |
void | set_highlight_active (bool highlight) |
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 |
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 Attributes | |
dunedaq::oks::OksClass * | m_class_info |
QString | m_class_object_name |
QStringList | m_class_attributes |
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} |
QFont | m_font |
QFont | m_bold_font |
QColor | m_default_color |
QColor | m_highlight_color |
QColor | m_opaque_color |
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 21 of file SchemaGraphicObject.cpp.
dbse::SchemaGraphicObject::~SchemaGraphicObject | ( | ) |
Definition at line 52 of file SchemaGraphicObject.cpp.
void dbse::SchemaGraphicObject::AddArrow | ( | SchemaGraphicSegmentedArrow * | Arrow | ) |
Arrow API.
Definition at line 458 of file SchemaGraphicObject.cpp.
|
nodiscardoverride |
Definition at line 273 of file SchemaGraphicObject.cpp.
|
nodiscard |
Definition at line 158 of file SchemaGraphicObject.cpp.
|
nodiscard |
Definition at line 163 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 168 of file SchemaGraphicObject.cpp.
bool dbse::SchemaGraphicObject::HasArrow | ( | SchemaGraphicObject * | Dest | ) | const |
Definition at line 483 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 58 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 122 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 519 of file SchemaGraphicObject.cpp.
|
protected |
Definition at line 128 of file SchemaGraphicObject.cpp.
|
override |
Definition at line 356 of file SchemaGraphicObject.cpp.
void dbse::SchemaGraphicObject::RemoveArrow | ( | SchemaGraphicSegmentedArrow * | Arrow | ) |
Definition at line 463 of file SchemaGraphicObject.cpp.
void dbse::SchemaGraphicObject::RemoveArrows | ( | ) |
Definition at line 473 of file SchemaGraphicObject.cpp.
|
privateslot |
Updating object representation
Definition at line 560 of file SchemaGraphicObject.cpp.
void dbse::SchemaGraphicObject::set_highlight_active | ( | bool | highlight | ) |
Definition at line 513 of file SchemaGraphicObject.cpp.
void dbse::SchemaGraphicObject::set_inherited_properties_visibility | ( | bool | visible | ) |
Graphic API.
Definition at line 504 of file SchemaGraphicObject.cpp.
|
nodiscardoverride |
Definition at line 349 of file SchemaGraphicObject.cpp.
|
privateslot |
Updating object info
Updating object representation
Repainting object
Definition at line 531 of file SchemaGraphicObject.cpp.
|
private |
Definition at line 65 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 66 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 67 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 60 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 49 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 47 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 53 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 55 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 54 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 50 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 48 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 51 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 61 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 59 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 58 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 62 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 57 of file SchemaGraphicObject.hpp.
|
private |
Definition at line 63 of file SchemaGraphicObject.hpp.