169b3bf064d5855d970a08ad1ac82c610764eea4,ilastik-shell/applets/dataSelection/dataSelectionGui.py,DataSelectionGui,updateTableForSlot,#DataSelectionGui#Any#,189
Before Change
self.updateStorageOptionComboBox(row, externalPath)
// Create and add the checkbox for the "allow labels" option
allowLabelsCheckbox = QCheckBox()
allowLabelsCheckbox.setChecked( self.mainOperator.Dataset[row].value.allowLabels )
tableWidget.setCellWidget( row, Column.LabelsAllowed, allowLabelsCheckbox )
allowLabelsCheckbox.stateChanged.connect( partial(self.handleAllowLabelsCheckbox, self.mainOperator.Dataset[row]) )
def handleAllowLabelsCheckbox(self, slot, checked):
The user (un)checked the "allow labels" checkbox in one of the table rows.
After Change
// Create and add the combobox for storage location options
self.updateStorageOptionComboBox(row, externalPath)
if self.guiMode == GuiMode.Batch:
// Create and add the checkbox for the "allow labels" option
allowLabelsCheckbox = QCheckBox()
allowLabelsCheckbox.setChecked( self.mainOperator.Dataset[row].value.allowLabels )
tableWidget.setCellWidget( row, Column.LabelsAllowed, allowLabelsCheckbox )
allowLabelsCheckbox.stateChanged.connect( partial(self.handleAllowLabelsCheckbox, self.mainOperator.Dataset[row]) )
def handleAllowLabelsCheckbox(self, slot, checked):
The user (un)checked the "allow labels" checkbox in one of the table rows.
Update the corresponding dataset info in the operator (which is given in the parameter "slot")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: ilastik/ilastik
Commit Name: 169b3bf064d5855d970a08ad1ac82c610764eea4
Time: 2012-05-27
Author: bergs@janelia.hhmi.org
File Name: ilastik-shell/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: updateTableForSlot
Project Name: biolab/orange3
Commit Name: 57a482bb271f2c253ea16ee285f121104bda0b22
Time: 2020-05-29
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/utils/colorgradientselection.py
Class Name: ColorGradientSelection
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: 4cf6a78ba5c784f74878e5954d56aec7802a17b4
Time: 2013-07-29
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/workflows/objectClassification/objectClassificationWorkflow.py
Class Name: ObjectClassificationWorkflow
Method Name: _initBatchWorkflow