| 343 | } |
| 344 | |
| 345 | void IPPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event) |
| 346 | { |
| 347 | int posX = (int) event->pos().x() + 0.5; // round to next full pixel |
| 348 | int posY = (int) event->pos().y() + 0.5; // round to next full pixel |
| 349 | |
| 350 | _imageViewer->updateMousePosition(posX, posY); |
| 351 | } |
nothing calls this directly
no test coverage detected