| 386 | |
| 387 | |
| 388 | void |
| 389 | NodeGraphicsObject:: |
| 390 | hoverMoveEvent(QGraphicsSceneHoverEvent * event) |
| 391 | { |
| 392 | auto pos = event->pos(); |
| 393 | auto & geom = _node.nodeGeometry(); |
| 394 | |
| 395 | |
| 396 | if (_node.nodeDataModel()->resizable() && |
| 397 | geom.resizeRect().contains(QPoint(pos.x(), pos.y()))) |
| 398 | { |
| 399 | setCursor(QCursor(Qt::SizeFDiagCursor)); |
| 400 | } |
| 401 | else |
| 402 | { |
| 403 | setCursor(QCursor()); |
| 404 | } |
| 405 | |
| 406 | event->accept(); |
| 407 | } |
| 408 | |
| 409 | |
| 410 | void |
nothing calls this directly
no outgoing calls
no test coverage detected