title: How to prevent Qt from alpha-blending the selection over icons in QListView?
body: <p>I have a Qt application that uses a QTableView and a QListView. In both witdgets I display some icons.</p>
  
  <p>The problem is that when the user selects one of the entries Qt alpha blends the selection over the icons making the icons appear with less contrast and slightly different colors.</p>
  
  <p>I want Qt to draw the selection first and then draw the icons on top so they look the same no matter if they are selected or not. How can I do that?</p>
  
  <p><b>Update:</b></p>
  
  <p>This is what my problem looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/r5Qfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r5Qfn.png" alt="Effect with a normal icon"></a></p>
  
  <p>It is easier to spot with a white rectangular icon:</p>
  
  <p><a href="https://i.stack.imgur.com/75DTJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/75DTJ.png" alt="Effect with a white rectangle icon"></a></p>
  
  <p>When you check the color value with a graphics editor you see that the color value changes. I would like Qt to paint the icon as is without this overlay.</p>
  
  <p>The QListView here is styled with a color gradient background. But I have the same problem with a QTableView which is unstyled.</p>
  
  <p>All icons are SVG by the way.</p>