title: CSS set parameters of item that has lost attention
body: <p>I have an item that I am trying to edit with CSS:</p>
  
  <pre><code>QTreeView#databaseView:item:selected
  {
  color: #FFFFFF;
  }
  </code></pre>
  
  <p>When the item is selected the font turns white. </p>
  
  <p>The problem I am having is that if I click on another window/program, the item loses attention in the window and the text turns black. I would like it to stay white. </p>
  
  <p><em>Is there a way in CSS to check if the attention has been lost so I can make it white?</em></p>
  
  <p>Thanks in advance!</p>