connect_int_spin

glue.utils.qt.widget_properties.connect_int_spin(client, prop, widget, value_range=None, log=False)

Connect client.prop to widget.valueChanged

client.prop should be a callback property

If value_range is set, the slider values are mapped to that range. If log is set, the mapping is assumed to be logarithmic instead of linear.