schrodinger.application.livedesign.maestro_ld_connector module

This module contains functions for managing the LiveDesign connector in Maestro.

The functions emit signals to C++ to update the LiveDesign connector icon when: - Connection status changes (connected/disconnected) - User logs in to LiveDesign - Auto-reconnect happens

This separate module file is created to avoid circular import between login_gui2.py and maestro_ld_connection.py.

schrodinger.application.livedesign.maestro_ld_connector.get_live_design_hub()

Get the LiveDesignHub instance from MaestroHub.

Returns:

The LiveDesignHub instance.

Return type:

LiveDesignHub

schrodinger.application.livedesign.maestro_ld_connector.update_ld_connector()

Update the LiveDesign connector in Maestro when connection status changes. This emits the updateLDConnectorStatus signal to update the icon color (connected=green, disconnected=grey) without changing visibility preference.

schrodinger.application.livedesign.maestro_ld_connector.show_ld_connector_on_login()

Show the LiveDesign connector in Maestro when user logs in to LiveDesign. Always override the user preference to show the icon when user is connected to LiveDesign.

schrodinger.application.livedesign.maestro_ld_connector.show_ld_connector_on_auto_reconnect()

Show the LiveDesign connector in Maestro when auto-reconnect happens, but do not change the user preference for showing the icon.