title: Highlight item with mouse hover in QTreeView?
body: <p>I have a <code>QStandardItemModel</code> that I am displaying as a <code>QTreeView</code> with multiple columns. How can I make it highlight rows when the mouse hovers over them?  </p>
  
  <p><strong>Related pages</strong></p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/20064975/how-to-catch-mouse-over-event-of-qtablewidget-item-in-pyqt">How to catch mouse over event of QTableWidget item in pyqt?</a>:
  similar question using <code>QTableWidget</code> instead of <code>Q*View</code>.</li>
  <li><a href="http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qlistview" rel="nofollow noreferrer">Customizing QListView</a>: suggests it is possible to do it very
  easily with stylesheets, but I don't quite follow the c++.</li>
  <li><a href="https://stackoverflow.com/questions/23111075/how-to-highlight-the-entire-row-on-mouse-hover-in-qtablewidget-qt5">How to highlight the entire row on mouse hover in QTableWidget</a></li>
  <li><a href="https://stackoverflow.com/questions/26992849/qlistview-selection-with-highlight-hover">QListView selection with highlight/hover</a></li>
  </ul>