I would like to get the deltaX and the deltaY from the previous position and current position of the move. There is a way to get this delta from qt ?

I use it to move a picture inside a widget when a button is pressed.