4b803479322219967f7daa836e9db02dce0b65d1,Orange/widgets/gui.py,FloatSlider,__init__,#FloatSlider#Any#Any#Any#Any#Any#,2186
Before Change
def __init__(self, orientation, min_value, max_value, step, parent=None):
QSlider.__init__(self, orientation, parent)
self.setScale(min_value, max_value, step)
QObject.connect(self, SIGNAL("valueChanged(int)"), self.sendValue)
def update(self):
self.setSingleStep(1)
After Change
class FloatSlider(QtGui.QSlider):
def __init__(self, orientation, min_value, max_value, step, parent=None):
super().__init__(orientation, parent)
self.setScale(min_value, max_value, step)
self.valueChanged[int].connect(self.sendValue)
def update(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
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: FloatSlider
Method Name: __init__
Project Name: biolab/orange3
Commit Name: 357c8e2ad604c88a2297d5a871f9970d3b014b76
Time: 2014-12-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owtreeviewer2d.py
Class Name: TreeNavigator
Method Name: __init__
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: LinkStyledItemDelegate
Method Name: __init__
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: collapsableWidgetBox
Method Name: __init__