RQProgressBar

class pyreaqtive.widgets.rqprogressbar.RQProgressBar(model: Union[pyreaqtive.models.rqint.RQInt, pyreaqtive.models.rqfloat.RQFloat, int, float, pyreaqtive.models.rqobject.RQObject], *args, rq_if: Optional[pyreaqtive.models.rqbool.RQBool] = None, **kwargs)

Bases: pyreaqtive.widgets.rqwidget.RQWidget, PyQt5.QtWidgets.QProgressBar

Reactive ProgressBar Widget

model: Union[pyreaqtive.models.rqint.RQInt, pyreaqtive.models.rqfloat.RQFloat, pyreaqtive.models.rqobject.RQObject]

Model linked to the widget

__init__(model: Union[pyreaqtive.models.rqint.RQInt, pyreaqtive.models.rqfloat.RQFloat, int, float, pyreaqtive.models.rqobject.RQObject], *args, rq_if: Optional[pyreaqtive.models.rqbool.RQBool] = None, **kwargs)

Constructor.

Parameters
  • model – Model to link the widget to

  • args – arguments to pass to the native pyqt widget

  • rq_if – RQBool that controls the visibility

  • **kwargs – arguments to pass to the native pyqt widget

_rq_data_changed()None

Slot triggered when the model changes value.

Updates value of the progressbar