Hi,
How to the pixel length of a Qstring? for a perticular font?
Hi,
How to the pixel length of a Qstring? for a perticular font?
See QFontMetrics::width.
Have you actually looked at the Qt Docs and examples? Start with QFontMetrics or QPainter::boundingRect() to see what best suits.
Thanks man...
Too help me.
Bookmarks