{
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??
{
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??
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
plz give some examples
Bookmarks