Yes, it might be.
There are at least three different ways to handle your situation. One possibility is to render contents of your item to a pixmap and only update the pixmap when you're not moving the item and if you are then render the old contents. Second possibility is to enable one of the caching modes for the item which does essentially more or less the same. I forgot the third solutionAnd this have obviously slower my graph(which drawed in the class inherits from qgraphicsItem) .
how can i prevent when the mouse move ,and the item won't be repainted?![]()
Bookmarks