[Kmymoney-devel] Tags update

Alessandro Russo axela74 at yahoo.it
Mon Oct 15 21:10:58 UTC 2012


Il 15/10/2012 14:42, Alvaro Soliverez ha scritto:
> On Mon, Oct 15, 2012 at 9:12 AM, Alessandro Russo <axela74 at 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


More information about the KMyMoney-devel mailing list