Hello,
I'm gonna try my luck here. On the other forum there are about 20 people asking for this with not much of results.

How can I color a cell in a QTableView?
For instance if the cell holds a '1' I want it blue, else leave it white.

I know I have to override QPaintEvent, but how? I have a pointer to the QTableView that was created in Designer, it's called 'table'.

Now what to do?

In the 'old days' you wrote yourself a paint() function and overwrote the original like table->paint(args) = somefunc. I understand it is not as straightforward in qt.

But please where are working examples for this, I'm getting weary wading through classes and members without much of examples trying to guess things together.
Jean