iblrig.gui.tools.LineEditAlyxUser
- class iblrig.gui.tools.LineEditAlyxUser[source]
A custom QLineEdit widget for managing user login with an AlyxObject.
This widget displays a checkmark icon to indicate the connection status and allows the user to input their username for logging in.
- Parameters:
*args (
tuple
) – Positional arguments passed to the QLineEdit constructor.alyx (
AlyxObject
) – An instance of AlyxObject used to manage login and connection status.**kwargs (
dict
) – Keyword arguments passed to the QLineEdit constructor.
- __init__(*args, alyx, **kwargs)[source]
Initializes the LineEditAlyxUser widget.
Sets up the checkmark icon, connects signals for login status, and configures the line edit based on the AlyxObject’s state.
- Parameters:
*args (
tuple
) – Positional arguments passed to the QLineEdit constructor.alyx (
AlyxObject
) – An instance of AlyxObject.**kwargs (
dict
) – Keyword arguments passed to the QLineEdit constructor.
- Parameters:
alyx (AlyxObject)