Measuring text width in Qt

Viewed 33820

Using the Qt framework, how do I measure the width (in pixels) of a piece of text rendered with a given font/style?

4 Answers
Related