Am Mittwoch, 2. Mai 2007 02:30 schrieb Behnam Kamrani: > Hi, > I'm writing this message desperately. Using qt (3.3.4), I have a table in > a widget, and since it needed to Enabled/Disabled table cells, I used > tableItems for it. > > To make it structural in my thinking, I used a list like > self.myTable.tableItem = [ [ ] ]. This way, it became possible to save > all tableItems in a list and reuse it. ie: > > for iRow in range(0, numberOfRows): > self.myTable.tableItem.append( myTableItemClass) > for iCol in range(0, numberOfCols): > self.myTable.tableItem[iRow].append( myTableItemClass) > ... > ... > > But the problem arises when I redraw the table for several times (e.g. 16 > times). The GUI does NOT crash, however in output windows I get the > following messages : > > QGVector::remove: Index -7 out of range > QGVector::remove: Index -7 out of range > QGVector::remove: Index -7 out of range
..but still not desperately enough to provide a minimal self contained example <hint, hint>. Pete _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt