28991186ecb6edbdaa8e75f5e9ad42abbd812d51,workflow3.py,Main,initUic,#Main#,34

Before Change


        shape = raw.shape
        labelsrc = self.createLabelSource(shape)
        red   = QColor(255,0,0)
        green = QColor(0,255,0)
        black = QColor(0,0,0,0)
        
        self.labellayer = ColortableLayer(labelsrc, colorTable = [black.rgba(), red.rgba(), green.rgba()] )
        self.labellayer.name = "Labels"

After Change


        self.DownButton.clicked.connect(model.moveSelectedDown)
        model.canMoveSelectedDown.connect(self.DownButton.setEnabled)
        self.DeleteButton.clicked.connect(model.deleteSelected)
        model.canDeleteSelected.connect(self.DeleteButton.setEnabled)        
        
        
        //connections
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: 28991186ecb6edbdaa8e75f5e9ad42abbd812d51
Time: 2011-08-23
Author: luca.fiaschi@iwr.uni-heidelberg.de
File Name: workflow3.py
Class Name: Main
Method Name: initUic


Project Name: ilastik/ilastik
Commit Name: 6c331b84293bb6cf5dc5480037d69cc0ffb0c6fe
Time: 2013-09-18
Author: martin.schiegg@iwr.uni-heidelberg.de
File Name: ilastik/applets/thresholdTwoLevels/thresholdTwoLevelsGui.py
Class Name: ThresholdTwoLevelsGui
Method Name: setupLayers


Project Name: ilastik/ilastik
Commit Name: b71c79b8bb87791082c23837e472d97a7bfab712
Time: 2012-11-16
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingGui.py
Class Name: LabelingGui
Method Name: _addNewLabel