Il 15/10/2012 14:42, Alvaro Soliverez ha scritto:
On Mon, Oct 15, 2012 at 9:12 AM, Alessandro Russo <axel...@yahoo.it> wrote:
I wanted to show each tag with a different color (the user can set a
different color for each tag) but I can't see how to do that...
Do you know if you can use richtext with QStyle->drawItemText() ?

You could use the <qt> tag and then rich text tags for color. Have you
tried that?
_______________________________________________
I tried now but doesn't work. I put '<qt><b>test</b></qt>' but it came out like:
<qt><b>test</b></qt>

 Do you now why it's used qstyle->drawItemText() instead of.. i.e.  QLabel?

Best regards,
 Alessandro Russo
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to