title: Displaying a QStandardItem with its foreground color in a QTreeView even when it is selected
body: <p>Using Qt 4.6.3 on Linux/X11.</p>
  
  <p>I have a QTreeView widget which uses a QStandardItemModel as its model, with 4 columns and hundreds of rows. Most of the items in the list are to be displayed with a standard color, but a few need to be of a different color. I can change the colors of those few items easily with QStandardItem::setForeground().</p>
  
  <p>However, that only affects the color of the item when it is <em>not</em> selected. When I select a colored item, its background color changes to blue (which is ok), and the text color changes to white (which is not ok). I tried using a stylesheet to affect the foreground color of selected items (with selector QTreeView::item:selected), but it affects <em>all</em> items.</p>
  
  <p>I would like items for which I called <code>item-&gt;setForeground(Qt::red)</code> to remain red even when they are selected, and other items to use the default set of colors (which they already do). How can that be done?</p>