Hi,
Is it possible to have the text width without the special params as <qt>, <b> and others ?
I wrote an Elided QLabel custom class but then the width is not correct, and also I have this case in other places.
For the simple way I used the remove function of QString to remove <qt>, </qt>, <b> and </b> but there is a way to remove all ? I surely don't know all so I can miss one too.
BUT also italic and bold change the width of the text, so it has to be parsed, but maybe one function already do that in Qt ?
Thanks for the help




Reply With Quote
Bookmarks