works excellent! Thanks a lot! one question almost on this issue: only one QDataStream may exist per one file? May be one more approach is separate QDataStream for each tables and in one file?
with best regards, -vadym 2010/6/5 Mark Summerfield <l...@qtrac.plus.com>: > 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