[PyQt] Rich text in buttons

Baz Walter bazwal at ftml.net
Sat Nov 21 18:29:25 GMT 2009


Richard A. Litherland wrote:
> I'm very new to this, so I apologize if this question has been asked 
> 1000 times before. The text property of QAbstractButton doesn't 
> recognize HTML markup, but the developers of KCalc, at least, have 
> managed to work around this. I can't figure out how. Does anybody know?

well, i suppose the kde developers do :)

so why not have a look at the kcalc source code?

http://api.kde.org/4.3-api/kdeutils-apidocs/kcalc/html/kcalc__button_8cpp_source.html


More information about the PyQt mailing list