rows=[]
for idx in self.table.selectedIndexes()
        rows.append(idx.row())

starglider develop wrote:
Hi,
how can I get a list of all selected rows in a QTableWidget.
I try to play with selectedIndexes() but don't know how to convert in rows
index.

Thank you in advance for your help.



------------------------------------------------------------------------

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to