Hi, Sorry for my bad english and PyQt skill.
I am reading the book "Rapid GUI Programming with Python and Qt The
Definitive Guide to PyQt Programming", my question is related to
chap08/mymovies.pyw.
near the end of MainWindow.updateTable() there is
if selected is not None:
selected.setSelected(True)
self.table.setCurrentItem(selected)
self.table.scrollToItem(selected)
what I want to ask is, what's the mean of "selected.setSelected(True)",
isn't self.table.setCurrentItem(selected) enough here?
Thank in advance for your reply.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt