I have successfully created code that loads and displays data in a QTableView with a QAbstractTableModel.
I have done so by piecing together a LOT of bits from around the web. And I would really like to find some discussion of the concepts of table views and models...I really find the complexity of displaying a table of data with this construct mind numbing. I be happy to go read any recommendations. Or if anyone can recommend any tutorials or examples?
That said, what I really need to do now is add code that sets the color of a row. For example the color of the row indicates the function of the displayed data. So each row may be one of 4 or 5 colors.
So far, setBackgroundColor doesn't seem to be the answer...
I'm using PyQt5.
Bookmarks