c12004eb6380d76f0a9d7c9222d57f0f3178a1e1,Orange/widgets/gui.py,,labeledSlider,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,1325

Before Change


            value_label.setText(labelFormat % x)
    else:
        value_label.set_label = lambda x: value_label.setText(labelFormat(x))
    QtCore.QObject.connect(slider, QtCore.SIGNAL("valueChanged(int)"),
                           value_label.set_label)

    connectControl(slider, master, value, callback, "valueChanged(int)",
                   CallFrontLabeledSlider(slider, labels),
                   CallBackLabeledSlider(slider, master, labels))

After Change


            value_label.setText(labelFormat % x)
    else:
        value_label.set_label = lambda x: value_label.setText(labelFormat(x))
    slider.valueChanged[int].connect(value_label.set_label)

    connectControl(master, value, callback, slider.valueChanged[int],
                   CallFrontLabeledSlider(slider, labels),
                   CallBackLabeledSlider(slider, master, labels))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: biolab/orange3
Commit Name: c12004eb6380d76f0a9d7c9222d57f0f3178a1e1
Time: 2015-01-23
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name:
Method Name: labeledSlider


Project Name: biolab/orange3
Commit Name: c12004eb6380d76f0a9d7c9222d57f0f3178a1e1
Time: 2015-01-23
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name:
Method Name: valueSlider


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__