Hi!
I have a subclass of QGraphicsRectItem. The mouseMoveEvent handler looks like this:
Qt Code:
{ qDebug() << rect().x() << " " << rect().y(); }To copy to clipboard, switch view to plain text mode
The item drags like I expect. But the qDebug statement outputs the same coordinates as I drag it. Shouldn't the rect be changing as it is dragged?
Bookmarks