| 25 | using QtNodes::FlowScene; |
| 26 | |
| 27 | ConnectionGraphicsObject:: |
| 28 | ConnectionGraphicsObject(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 | |
| 47 | ConnectionGraphicsObject:: |
nothing calls this directly
no outgoing calls
no test coverage detected