RQWidget¶
- class pyreaqtive.widgets.rqwidget.RQWidget(model: Union[pyreaqtive.models.rqmodel.RQModel, str, int, float], rq_if: Optional[pyreaqtive.models.rqbool.RQBool] = None)¶
Bases:
objectReactive Widget Base class
- __init__(model: Union[pyreaqtive.models.rqmodel.RQModel, str, int, float], rq_if: Optional[pyreaqtive.models.rqbool.RQBool] = None)¶
Constructor.
This class always always inherits from QWidget but is not declared as so. User defined widgets, will directly have the QWidget methods
- Parameters
model – model to link the widget to. Can also be a built-in type that is converted to a dummy model
rq_if – RQBool that controls the visibility
- _rq_if_data_changed()¶