4481c431f863d681c7e259312e3cc70d1f562b3f,ilastik/applets/dataSelection/dataSelectionGui.py,DataSelectionGui,handleTableSelectionChange,#DataSelectionGui#,638
Before Change
// Figure out which dataset to remove
selectedItemRows = set()
selectedRanges = self.fileInfoTableWidget.selectedRanges()
for rng in selectedRanges:
for row in range(rng.topRow(), rng.bottomRow()+1):
selectedItemRows.add(row)
// Disconnect from selection change notifications while we do this
self.fileInfoTableWidget.itemSelectionChanged.disconnect(self.handleTableSelectionChange)
for row in selectedItemRows:
self.fileInfoTableWidget.selectRow(row)
After Change
Any time the user selects a new item, select the whole row.
self.selectEntireRow()
self.showSelectedDataset()
def selectEntireRow(self):
selectedItemRows = set()
selectedRanges = self.fileInfoTableWidget.selectedRanges()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ilastik/ilastik
Commit Name: 4481c431f863d681c7e259312e3cc70d1f562b3f
Time: 2013-01-09
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: handleTableSelectionChange
Project Name: ilastik/ilastik
Commit Name: b0485b3b687c83e19e74c937e96f7ce758375187
Time: 2013-01-28
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/batchIo/batchIoGui.py
Class Name: BatchIoGui
Method Name: handleTableSelectionChange
Project Name: ilastik/ilastik
Commit Name: fa463e1f881e717a7490a74d0d7b091238f012d1
Time: 2014-06-19
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataExport/dataExportGui.py
Class Name: DataExportGui
Method Name: showEvent