Hi,
I have a QGraphicsItem which is working as the new mouse icon when the graphics view has mouse tracking on itself. I did this operation by something like the following
CursorItem* myQGraphicsItemAsCursor = new CursorItem()
QGraphicsView::mouseMoveEvent( ... pEvent)
{
...
myQGraphicsItemAsCursor->move(pEvent->x(), pEvent->y())
...
}
CursorItem::move( int x, int y)
{
QGraphicsItem::setPos(x, y);
...
}
The problem is it really seems that mouse suffers from something when it hovers on the view. It couldn't catch all mouse moves. What could be the possible problems?
Thanks in advance
Bookmarks