Show count of selectedRows() in real time (PyQt5)

G Connor neothreeeight at hotmail.com
Tue Oct 25 21:35:07 BST 2022


I have  QTableWidget and QTableView items on my screen.  Both have SelectionMode set to ExtendedSelection.

tbl.selectionModel().selectedRows() will give me the count after the rows are selected, but I want to captured/show that count in real-time, as I’m dragging the mouse or using the keyboard (which is done with shift to anchor and then the up/down key).

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221025/5998487b/attachment.htm>


More information about the PyQt mailing list