self.table.setRowCount(5)
self.table.setColumnCount(8)
self.table.setHorizontalHeaderLabels(title)
for i,row in enumerate(cur):
for j,val in enumerate(row):
self.table.setItem(i, j, QtGui.QTableWidgetItem(str(val)))
I have made a table, which I want to contain multiple rows of data, how could I have rowcount +1 for every line of data inserted into the table? Instead of me having to have a limit of rows for data to be inserted into. If anymore information is required please let me know.