Good Day Everyone,
I just upgraded to QT 4 this week, and still learning some of the features.
Currently my problem is changing the background color of a QTalbeWidgetItem
Here is what I am doing:
dataTable->itemat( row , col ) -> setBackground ( QBrush( Qt::cyan) ) ;
(where dataTable is a QTableWidget)
The good news is a cell does appear in cyan, however it is the wrong cell, and it's always the cell at 0 , 0 no matter what row , col I use.
If somebody could help me figure out what I'm doing wrong it would be greatly appreciated.
Let me know if more info is needed on this problem.
Thank you,
Sarol


Reply With Quote


Bookmarks