Hello, i have a QTreeWidgetItem * item and i'd like to set the color font in red and the font style in bold.
I made in this way
Qt Code:
  1. QFont font("" , 9 , QFont::Bold );
  2. item->setFont( 0, font );
To copy to clipboard, switch view to plain text mode 
but i dont know how to set the font in red color, QTreeWidgetItem does not have palette() and setPalette() methods and i dont know another way to do it.
any hint?
thx