rect.topLeft()

Return the point that is the top left corner of the rectangle.