Report question

Question: How to get the sizes of the rendered text on a QPainter?