PDA

View Full Version : how to update qtable



anu0050
2nd May 2007, 12:17
{
table->SetText(1,1,"yes");
table->SetText(1,1,"no");
}

i didn't get 'yes'.. only got 'no' in the table... i want first yes then no.... how to solve this issue.. is any threading method used??

marcel
2nd May 2007, 12:49
You're setting the text in the same table cell, that is why you only see no.

Do you want to see "yes" and then "no" after some delay?
Then use a QTimer, no thread should be necessary. In the time out slot you just change the text, from yes to no, or whatever you need.

regards

anu0050
2nd May 2007, 12:56
plz give some examples