Hi Folks...
I have a QTableView that I populate with data from a model. The model specifies some foreground/background coloring for a given cell in the table based on the content of the cell...
What I cannot figure out how to do is control the coloring of items/rows when they are selected. All coloring that I assign using Qt::ForegroundRole and Qt::BackgroundRole are ignored if the item is selected...
Are there comparable tags for selected item foreground/background role? I did look into using stylesheets for manipulating selected item colors but they don't seem to be sensitive to the content of a cell.
Thanks for any pointers in the right direction...
-G
Bookmarks