| 92 | |
| 93 | |
| 94 | void |
| 95 | Node:: |
| 96 | reactToPossibleConnection(PortType reactingPortType, |
| 97 | NodeDataType const &reactingDataType, |
| 98 | QPointF const &scenePoint) |
| 99 | { |
| 100 | QTransform const t = _nodeGraphicsObject->sceneTransform(); |
| 101 | |
| 102 | QPointF p = t.inverted().map(scenePoint); |
| 103 | |
| 104 | _nodeGeometry.setDraggingPosition(p); |
| 105 | |
| 106 | _nodeGraphicsObject->update(); |
| 107 | |
| 108 | _nodeState.setReaction(NodeState::REACTING, |
| 109 | reactingPortType, |
| 110 | reactingDataType); |
| 111 | } |
| 112 | |
| 113 | |
| 114 | void |
nothing calls this directly
no outgoing calls
no test coverage detected