Yes, I would like to have the combo when i double clicked the item in the table!
Yes, I would like to have the combo when i double clicked the item in the table!
aekilic (21st July 2007)
Dear All
Actually we have solved problem in a different way and we have added the combo different way. Thank you very much that you have helped us!
Can you please share how you solved this problem....thanks
try this you have to make a new object everytime.
for(int i=0; i<n; i++)
{
QComboBox * editor = new QComboBox(parent);
editor->addItem("0");
editor->addItem("1");
editor->addItem("Z");
editor->addItem("Last Known State");
io_ui->tableWidget->setCellWidget(i,j,editor);
}
Bookmarks