Change to QPonintF from QPoint