Qt - QPushButton text formatting

Posted by Narek on Stack Overflow See other posts from Stack Overflow or by Narek
Published on 2010-06-07T13:53:20Z Indexed on 2010/06/08 4:42 UTC
Read the original article Hit count: 273

Filed under:
|
|
|

I have a QPushButton and on that I have a text and and icon. I want to make the text on the button to be bold and red. Looked at other forums, googled and lost my hope. Seems there is no way to do that if the button has an icon (of course if you don't creat a new icon wich is text+former icon). Is that the only way? Anyone has a better idea?

© Stack Overflow or respective owner

Related posts about c++

Related posts about qt