b7ef8fcff014ad870b2fc2ec0e9c63ac8a24f545,ilastik/applets/tracking/base/trackingBaseGui.py,TrackingBaseGui,_initColors,#TrackingBaseGui#,252

Before Change


        

    def _initColors(self):
        self.mergerColors = [
                             QColor(0,0,0,0),
                             QColor(1,1,1,0),
                             QColor(255,0,0,255),
                             QColor(0,255,0,255),
                             QColor(0,0,255,255),
                             QColor(255,128,128,255),
                             QColor(128,255,128,255),
                             QColor(128,128,255,255)
                             ]
        
    def _labelSetStyleSheet(self, qlabel, qcolor):        
        qlabel.setAutoFillBackground(True)                 
        values = "{r}, {g}, {b}, {a}".format(r = qcolor.red(),

After Change


    def _initColors(self):
        self.mergerColors = [ QColor(c) for c in LabelingGui._createDefault16ColorColorTable()[1:] ]
        self.mergerColors[0] = QColor(0,0,0,0) // 0 and 1 must be transparent
        self.mergerColors[1] = QColor(0,0,0,0)
        
    def _labelSetStyleSheet(self, qlabel, qcolor):        
        qlabel.setAutoFillBackground(True)                 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: b7ef8fcff014ad870b2fc2ec0e9c63ac8a24f545
Time: 2014-07-03
Author: martin.schiegg@iwr.uni-heidelberg.de
File Name: ilastik/applets/tracking/base/trackingBaseGui.py
Class Name: TrackingBaseGui
Method Name: _initColors


Project Name: biolab/orange3
Commit Name: 4b803479322219967f7daa836e9db02dce0b65d1
Time: 2013-07-20
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: AttributeIconDict
Method Name: __getitem__


Project Name: biolab/orange3
Commit Name: 5b58ab5c45be8923e5d74e3bc84101be1ad13066
Time: 2017-08-21
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/unsupervised/owmds.py
Class Name: OWMDS
Method Name: _setup_plot