I am using QTableWidget to create a table of mp3s and their ID3 tag information. I want to be able to handle multiple selections in the the table. It seems selectedItems() behaves differently based on how the items were selected. I have my table set to only select rows. When two contiguous rows are selected, item.at(0) is row 0 col 0 and item.at(1) is row 1 col 0. If the selected rows are not contiguous item.at(0) is row 0 col 0 and item.at(1) is row 0 col 1. I can I code it so that my functions work either way? Is there a better way to get the selected items? Or will using a mode/view combo solve my problem?
Thanks
mAx
Bookmarks