Shortcut? Shorter than what?

Never done it myself, but I expect the flow is: create a QFont, QFont::setUnderline() on the font, QPainter::setFont() on the painter, QPainter::drawText().