Creating a QTablewidget with 8 columns. The last five columns are filled with comboboxes using the following code.
Code:
for col in xrange(3, 8):
self.Choices = QtGui.QComboBox()
self.Choices.addItems(['t','nil'])
self.myTbl.setCellWidget(0 , col, self.Choices)
This works and the table is built with combo boxes set in the cells of the table widget.
How do I read back the values of all the combo boxes from the table? There could also be more rows created at runtime so I would need to read the values of all the comboboxes from all the rows and columns.
Thanks to all.