| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hey there, I'm using QPaint::drawText to display text in a widget. Is there a way to get the length of the text bitmap before actually drawing it ? Thanks. Ben.
bunjee wrote: > I'm using > QPaint::drawText to display text in a widget. > Is there a way to get the length of the text bitmap before actually > drawing it ? Take a look at the QFontMetrics class. -- [ signature omitted ]