[PyQt] QTableView as pick list

Kernc kerncece at gmail.com
Tue Dec 1 15:10:41 GMT 2015


Q*Model-s store the data; Q*View-s only present it.

The string data of the hidden second column should be:

    self.arrivals_view.model().index(model_index, 2).data()

with model_index being the second parameter to ci_clicked().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151201/67e4a607/attachment.html>


More information about the PyQt mailing list