View Single Post
Old 09-21-2015, 08:30 AM   #5
esvorontsov
Member
esvorontsov began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2015
Device: sdfvsdvsdvsdvsd
Quote:
Originally Posted by kovidgoyal View Post
Code:
m = self.gui.library_view.model()
book_ids = {m.id(x) for x in range(m.rowCount()}
in Python 2.7 need to use xrange, but it is not important
m.rowCount() requires two arguments - ???
what is the name of the model class?
what method of the model class will return the metadata for book_id?
esvorontsov is offline   Reply With Quote