Hi All,

I am Using QTableWidget to display the data in the Table

QTableWidget *table = new QTableWidget;
table->setItem(0, 0, newItemName);
For Inserting data in Table I use QStringList SList;
Like

SList << Data;
By Using Stylesheet I can fixed the color by using
color: cyan;

I want to use different color when data is insert in the Table sometimes it RED, when new data enter Text color is Yellow.
I want to change the text color when data insert in the table


Can anyone tell me how is it possible. It would be very helpful for me.