Hi guys,
I have a QTableView with items from a result of a QSqlQueryModel. So far, so good, created a stylesheet so that when the mouse pointer was placed on an item, a color was painted. Running perfectly, but not found a way to make the entire line was painted in this case. There are as I do so with stylesheets?
Then my stylesheet:
background-color: rgb(185, 210, 235);
}
QTableView::item:hover {
background-color: rgb(185, 210, 235);
}
To copy to clipboard, switch view to plain text mode
See the picture below.
Thanks,
Marcelo Estanislau
Brazil
Bookmarks