iblqt.widgets.AlyxLoginWidget
- class iblqt.widgets.AlyxLoginWidget[source]
Bases:
QWidgetA widget used for managing the connection to Alyx.
This widget contains an
AlyxUserEditfor entering a username and aStatefulButtonfor logging in and out.- __init__(alyx, parent=None, cache=UseTokenCache.ASK)[source]
Initialize the widget.
- Parameters:
alyx (
QAlyx | str) – The Alyx instance or the base URL for the Alyx API.parent (
QWidget) – The parent widget.cache (
UseTokenCache) – Strategy for handling the token cache. Defaults to UseTokenCache.ASK.
- Return type:
None