69f1be7dec004493c2f6b1bafffc556de8b09d8a,gui/mozregui/report_delegate.py,AskVerdict,__init__,#AskVerdict#Any#Any#,12
Before Change
painter.end()
AskVerdict.icons_cache[text] = QIcon(pixmap)
// set verdict icons
for i in range(self.ui.comboVerdict.count()):
text = str(self.ui.comboVerdict.itemText(i))
self.ui.comboVerdict.setItemIcon(i, AskVerdict.icons_cache[text])
self.ui.evaluate.clicked.connect(self.on_evaluate_clicked)
def on_evaluate_clicked(self):
if not self.emitted:
After Change
model = self.ui.comboVerdict.model()
model.itemFromIndex(model.index(0, 0)).setSelectable(False)
self.ui.comboVerdict.activated.connect(self.on_dropdown_item_activated)
self.ui.goodVerdict.clicked.connect(self.on_good_bad_button_clicked)
self.ui.goodVerdict.setIcon(AskVerdict.icons_cache["good"])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: mozilla/mozregression
Commit Name: 69f1be7dec004493c2f6b1bafffc556de8b09d8a
Time: 2016-02-04
Author: wasif_hyder@hotmail.com
File Name: gui/mozregui/report_delegate.py
Class Name: AskVerdict
Method Name: __init__
Project Name: wkentaro/labelme
Commit Name: c2ba19759b2a6955ff3ccade614a15f1a6d61b9c
Time: 2019-05-15
Author: cmerchant@camgian.com
File Name: labelme/widgets/label_dialog.py
Class Name: LabelDialog
Method Name: __init__
Project Name: biolab/orange3
Commit Name: 988ca547322b7e67240865fa4c631cd292c89db5
Time: 2013-08-27
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/schemeedit.py
Class Name: SchemeEditWidget
Method Name: setScheme
Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: __init__