iblqt.widgets.AlyxUserEdit
- class iblqt.widgets.AlyxUserEdit[source]
Bases:
QLineEditA specialized
QLineEditfor logging in to Alyx.A one-line text editor for entering a username. The widget handles login actions, including displaying the login status. A
AlyxLoginDialogis 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