MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / ConnectionGraphicsObject

Method ConnectionGraphicsObject

QtNodeEditor/src/ConnectionGraphicsObject.cpp:27–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25using QtNodes::FlowScene;
26
27ConnectionGraphicsObject::
28ConnectionGraphicsObject(FlowScene &scene,
29 Connection &connection)
30 : _scene(scene)
31 , _connection(connection)
32{
33 _scene.addItem(this);
34
35 setFlag(QGraphicsItem::ItemIsMovable, true);
36 setFlag(QGraphicsItem::ItemIsFocusable, true);
37 setFlag(QGraphicsItem::ItemIsSelectable, true);
38
39 setAcceptHoverEvents(true);
40
41 // addGraphicsEffect();
42
43 setZValue(-1.0);
44}
45
46
47ConnectionGraphicsObject::

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected