QWidget *widget=ui->tableWidget->cellWidget(i,2);
QComboBox combox=(QComboBox)widget;
groupNameList.append(combox->currentText());
读取tablewidget里面combox的内容方法
最新推荐文章于 2023-11-16 13:43:14 发布
QWidget *widget=ui->tableWidget->cellWidget(i,2);
QComboBox combox=(QComboBox)widget;
groupNameList.append(combox->currentText());