On 2010-06-05, Mark Summerfield wrote: > On 2010-06-05, Vadym Honcharuk wrote: > > Thanks a lot, Mark! > > Hi Vadym, > > One approach that you could take is to write the count of how many > things you're going to write and then write the things. For example, > you could try something like this: > > write data: > > srcCount = self.srcTableModel.count()
Ooops, I meant .rowCount() not .count() throughout of course! [snip] -- Mark Summerfield, Qtrac Ltd, www.qtrac.eu C++, Python, Qt, PyQt - training and consultancy "Programming in Python 3 (Second Edition)" - ISBN 0321680561 _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt