That's not what I want. The function I'd like to see would return an integer (number of characters), not a rectangle.
That's not what I want. The function I'd like to see would return an integer (number of characters), not a rectangle.
Indeed, that's what happens when you answer questions at 3 A.M.
Then maybe you will find something in QTextLayout?
Bookmarks