ProTonS
10th July 2009, 19:41
Hi, everybody, its my first time here.
I have a little problem, I am a beginner in qt, but I liking it. Well, to the problem:
QTableWidgetItem *item1;
QString helper;
item1 = ui.mywidget_table->item(0,1);
helper = item1->text();
I´ve received a error in the last line because my cell is empty, but I think that I need to test if the cell is empty, how can I make that?
Thx in advance.
Jorge.
I have a little problem, I am a beginner in qt, but I liking it. Well, to the problem:
QTableWidgetItem *item1;
QString helper;
item1 = ui.mywidget_table->item(0,1);
helper = item1->text();
I´ve received a error in the last line because my cell is empty, but I think that I need to test if the cell is empty, how can I make that?
Thx in advance.
Jorge.