How can read selected items from QTableWidget?
Thanks
How can read selected items from QTableWidget?
Thanks
Use the selectedItems
function to retrieve the selected items or the selectedIndexes
to get all selected cells including empty ones.
the best way to access the items in a qtablewidget is using the function
QList QTableWidget::selectedRanges () const