6ba73ed6655c8d89bb3dbc7579639d121a7c1a72,Orange/widgets/data/owdatasampler.py,OWDataSampler,__init__,#OWDataSampler#,52

Before Change


        self.leRandomSeed = le = gui.lineEdit(
            optionsBox, self, "randomSeed", "Random seed ", orientation=0,
            controlWidth=50, validator=QtGui.QIntValidator())
        sze = le.sizeHint().height()
        b = gui.toolButton(le.box, self, width=sze, height=sze, callback=self.clearRandomSeed)
        b.setIcon(b.style().standardIcon(b.style().SP_DialogCancelButton))
        gui.rubber(le.box)
        gui.checkBox(optionsBox, self, "stratified",

After Change


        le = gui.lineEdit(optionsBox, self, "randomSeed", "Random seed: ",
                          orientation=0, controlWidth=60,
                          validator=QtGui.QIntValidator())
        s = le.sizeHint().height() - 2
        b = gui.toolButton(le.box, self, width=s, height=s,
                           callback=lambda: le.setText(""))
        b.setIcon(b.style().standardIcon(b.style().SP_DialogCancelButton))
        gui.rubber(le.box)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 6ba73ed6655c8d89bb3dbc7579639d121a7c1a72
Time: 2013-08-03
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owdatasampler.py
Class Name: OWDataSampler
Method Name: __init__


Project Name: wkentaro/labelme
Commit Name: 97383b1a2a9c39ec1f1c432df4727a11d5166137
Time: 2018-12-25
Author: www.kentaro.wada@gmail.com
File Name: labelme/widgets/canvas.py
Class Name: Canvas
Method Name: intersectionPoint


Project Name: matplotlib/matplotlib
Commit Name: 5400888e9c5e6ee25284faa8e6b0bb5c8c50d470
Time: 2016-12-01
Author: iannucci@mit.edu
File Name: lib/matplotlib/backends/backend_qt5.py
Class Name: FigureCanvasQT
Method Name: resizeEvent