ActionSpinBox

class qtpyvcp.widgets.button_widgets.action_spinbox.ActionSpinBox(parent=None, action=None)[source]

Action spinbox for triggering QtPyVCP actions that take a numeric argument.

On spinbox valueChange the action will be triggered with the spinbox value passed as the action argument.

Parameters:
  • parent (QWidget, optional) – The parent widget of the spindbox, or None.
  • action (str, optional) – The name of the action the spindbox should trigger.
actionName

Property for the name of the action the spindbox triggers (str).

When this property is set it calls QtPyVCP.actions.bindWidget() to bind the widget to the action.