I am creating a plugin which shows the list of location of vector/raster layers. I am using QTableWidget
to show the data. When I select one row/cell and click a QPushButton
it opens the specific vector/ratser layers in the QGIS. I use the following code to retrieve the data from the selected cell:
row = self.tableWidget.currentRow()
path = (self.tableWidget.item(row,3).text())
How do I select multiple cells at the same time to open multiple files?