[Solved]Color a QTableWidget cell
I’m trying to color a cell from a QTableWidget but it seams that I’m doing something wrong because is not working( fails silently ), what is my mistake?
- tableWidget->setRowCount( 8 );
- tableWidget->setColumnCount( 10 );
- tableWidget->item( 0, 0 )->setBackgroundColor( color );
1 reply
You must log in to post a reply. Not a member yet? Register here!
