estanisgeyer
23rd May 2008, 15:22
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:
QTableView::item:hover {
background-color: rgb(185, 210, 235);
}
See the picture below.
Thanks,
Marcelo Estanislau
Brazil
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:
QTableView::item:hover {
background-color: rgb(185, 210, 235);
}
See the picture below.
Thanks,
Marcelo Estanislau
Brazil