Probably we may discuss it before make any unwanted bug reports... Basically, I have the same problems described in the referenced topic from URL. Specifically, I have a scene (tiles of geographic map) and an overlay consisting of a polyline which should be editable via dragging its vertices.
By default, map is translated when mouse is moved with left button being pressed. It should not do so when some of the polyline's vertices is being dragged. This is where the problem comes up. As for now, while draging vertex the map is translated at the same time. Of course, this looks weird. So, I'd like to have some means to distinguish the case when QGraphicsScene processes (or one of its QGraphicsItem's) mouse move event and when it is not. I could rely on QEvent::isAccepted() flag, but it is true everytime. As for your statement that current behaviour is correct: what do you think about changes done as a result of resolving QTBUG-8061 ( https://bugreports.qt-project.org/brows/QTBUG-8061)? See https://codereview.qt-project.org/#patch,sidebyside,61740,2,src/widgets/graphicsview/qgraphicsview.cpp This patch is right what I lack for mouseMoveEventHandler() to do for me, in case this is consistent with desired behaviour. Regards, Dmitrii.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
