Navigation

  • index
  • modules |
  • Schrödinger Python API 2026-3 documentation »
  • schrodinger.application.bunsen.gui.user_consent_dialog module

schrodinger.application.bunsen.gui.user_consent_dialog module¶

class schrodinger.application.bunsen.gui.user_consent_dialog.ConsentDialog(*args, variant: enum.StrEnum | None = None, **kwargs)¶

Bases: BaseDialog

Ask the user whether Maestro should expose option to connect to Bunsen.

PROPAGATE_PANELX_STYLES = True¶
initSetOptions()¶

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

initSetUp()¶

Creates widget from ui and stores it ui_widget.

Suggested subclass use: create and initialize subwidgets, and connect signals.

initLayOut()¶

Create a vertical layout for the widget (widget_layout) and populate it with two vertical sub-layouts: main_layout and bottom_layout.

If the user has specified the ui data member, insert the resultant ui_widget into main_layout.

If the widget already has a layout defined, this method will produce a warning (but not a traceback). main_layout and bottom_layout will be inserted into the existing widget layout, which will not be the same as widget_layout. It is therefore recommended that this mixin is used only with widgets that do not already have a layout.

Suggested subclass use: create, initialize, and populate layouts.

schrodinger.application.bunsen.gui.user_consent_dialog.should_skip_consent_dialog() → bool¶

Whether the consent dialog should be skipped.

schrodinger.application.bunsen.gui.user_consent_dialog.set_skip_consent_dialog(skip: bool)¶

Set whether the consent dialog should be skipped.

schrodinger.application.bunsen.gui.user_consent_dialog.collect_bunsen_connection_consent() → bool¶

Ask the user whether Maestro should expose option to connect to Bunsen.

schrodinger.application.bunsen.gui.user_consent_dialog.main()¶

Quick search

Navigation

  • index
  • modules |
  • Schrödinger Python API 2026-3 documentation »
  • schrodinger.application.bunsen.gui.user_consent_dialog module
© Copyright 2026 Schrödinger, LLC. Created using Sphinx 5.1.1.