Show count of selectedRows() in real time (PyQt5)
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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt