I have a QStandardItemModel
that I am displaying as a QTreeView
with multiple columns. How can I make it highlight rows when the mouse hovers over them?
Related pages
- How to catch mouse over event of QTableWidget item in pyqt?:
similar question using
QTableWidget
instead ofQ*View
. - Customizing QListView: suggests it is possible to do it very easily with stylesheets, but I don't quite follow the c++.
- How to highlight the entire row on mouse hover in QTableWidget
- QListView selection with highlight/hover