Quote:
Originally Posted by kovidgoyal
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?