miguel_mark
2nd December 2008, 09:28
Hi, im having trouble in getting the value of the cell where the cell is a combobox, i've addded the combobx feature by means of:
QComboBox *cb = new QComboBox();
cb->addItem("India");
cb->addItem("Philippines");
cb->addItem("NIS");
CheckList->setCellWidget(CheckList->rowCount()-1, 3,cb);
where i already have a tablewidget and edited the cell so that it would be a combobx, but
the problem is i cannot get the value that the combobx contains on runtime.
QComboBox *cb = new QComboBox();
cb->addItem("India");
cb->addItem("Philippines");
cb->addItem("NIS");
CheckList->setCellWidget(CheckList->rowCount()-1, 3,cb);
where i already have a tablewidget and edited the cell so that it would be a combobx, but
the problem is i cannot get the value that the combobx contains on runtime.