iblqt.widgets.AlyxUserEdit
- class iblqt.widgets.AlyxUserEdit[source]
Bases:
QLineEdit
A specialized
QLineEdit
for logging in to Alyx.A one-line text editor for entering a username. The widget handles login actions, including displaying the login status. A
AlyxLoginDialog
is triggered when no authentication token is available.- __init__(alyx, parent, cache=UseTokenCache.ASK)[source]
Initialize the widget.
- Parameters:
alyx (
QAlyx
) – The alyx instance.parent (
QWidget
) – The parent widget.cache (
UseTokenCache
) – Strategy for handling the token cache. Defaults to UseTokenCache.ASK.
- Return type:
None