098408171dd0f2fd01cb113df78b23e4b6c89886,ilastik/widgets/featureDlg.py,,,#,145
Before Change
ex1 = FeatureDlg()
ex1.createFeatureTable({"Color": [FeatureEntry("Banana")], "Edge": [FeatureEntry("Mango"), FeatureEntry("Cherry")]}, [0.3, 0.7, 1, 1.6, 3.5, 5.0, 10.0])
ex1.setWindowTitle("ex1")
ex1.setImageToPreView((numpy.random.rand(200,200)*256).astype(numpy.uint8))
ex1.setIconsToTableWidget("icons/CheckboxFull.png", "icons/CheckboxPartially.png", "icons/CheckboxEmpty.png")
// print "table ", ex1.featureTableWidget.sizeHint()
// print "horiHeader", ex1.featureTableWidget.horizontalHeader().sizeHint()
After Change
//app.setStyle("cleanlooks")
ex = FeatureDlg()
ex.createFeatureTable([("Color", [FeatureEntry("Banananananaana")]), ("Edge", [FeatureEntry("Mango"), FeatureEntry("Cherry")])], [0.3, 0.7, 1, 1.6, 3.5, 5.0, 10.0])
ex.setWindowTitle("FeatureTest")
ex.setImageToPreView(None)
ex.exec_()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ilastik/ilastik
Commit Name: 098408171dd0f2fd01cb113df78b23e4b6c89886
Time: 2013-05-03
Author: ben-heuer@web.de
File Name: ilastik/widgets/featureDlg.py
Class Name:
Method Name:
Project Name: ilastik/ilastik
Commit Name: 9be131f0e7c77086ab4c3cad7469887bd1d55c89
Time: 2013-05-15
Author: ben-heuer@web.de
File Name: ilastik/widgets/featureDlg.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: e897855f0db3c4cd9b77e6508d3feb1b4441a363
Time: 2017-10-30
Author: anntzer.lee@gmail.com
File Name: examples/user_interfaces/embedding_in_qt_sgskip.py
Class Name: ApplicationWindow
Method Name: __init__