I want to know how can i convert a QPointf position into a QPoint position in PyQt, because i need to set the mouse position using the position of an item. I've been trying with this, but nothing happens:
xq=node.pos().x()
yq= node.pos().y()
x=int(xq)
y=int(yq)
QtGui.QCursor.setPos(x,y)
Thanks in advance!