65469050b8e372a40a3e942f6785d6a92619d558,Orange/widgets/evaluate/owconfusionmatrix.py,OWConfusionMatrix,set_results,#OWConfusionMatrix#Any#,109

Before Change


                for i, j in ((1, p + 2), (p + 2, 1)):
                    item = self._item(i, j)
                    item.setData(label, Qt.DisplayRole)
                    item.setData(QBrush(QColor(208, 208, 208)),
                                 Qt.BackgroundColorRole)
                    item.setTextAlignment(Qt.AlignRight | Qt.AlignVCenter)
                    item.setFlags(Qt.ItemIsEnabled)

After Change


                    item.setFlags(Qt.ItemIsEnabled)
                    if p < len(self.headers) - 1:
                        item.setData("br"[j == 1], BorderRole)
                        item.setData(QColor(192, 192, 192), BorderColorRole)
                    self._set_item(i, j, item)

            hor_header = self.tableview.horizontalHeader()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: biolab/orange3
Commit Name: 65469050b8e372a40a3e942f6785d6a92619d558
Time: 2016-02-08
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owconfusionmatrix.py
Class Name: OWConfusionMatrix
Method Name: set_results


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: ilastik/ilastik
Commit Name: 9b3706a2ecf20f4788254ad30d7ce47789597243
Time: 2012-10-03
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingGui.py
Class Name: LabelingGui
Method Name: _createDefault16ColorColorTable


Project Name: ilastik/ilastik
Commit Name: 5ac048db08312920a9448de1bf1aad73d08e026d
Time: 2012-09-11
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingGui.py
Class Name: LabelingGui
Method Name: _createDefault16ColorColorTable


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__