I have a QTreeWidget with a few QTreeWidgetItems in it. Each QTreeWidgetItem has a custom editor that is attached using setItemWidget(...). I have modified my style sheet as follows

Qt Code:
  1. QTreeWidget::item:selected:active{
  2. background-color: transparent;
  3. color: #3d80df;
  4. }
  5.  
  6. QTreeWidget::item:selected:!active {
  7. background-color: transparent;
  8. color: #3d80df;
  9. }
To copy to clipboard, switch view to plain text mode 

so that when an item is selected, the color turns blue. However, the widget that is in column 1 that was set with setItemWidget is not showing a selected state.

What property in the style sheet do i need to modify, or how can i achieve this functionality.