schrodinger.application.jaguar.gui.filedialog module

Custom file dialogs for the Jaguar GUIs

class schrodinger.application.jaguar.gui.filedialog.FileDialogWithExtraCombo(parent, caption, lbl_text, combo_items)

Bases: schrodinger.ui.qt.filedialog.FileDialog

A Qt file dialog with an extra combo box about the filename text edit

selectedOption()

Return the currently selected index for the extra combo box

Returns:The currently selected index for the extra combo box
Return type:int
class schrodinger.application.jaguar.gui.filedialog.ReadFileDialog(parent, allowed_options=None)

Bases: schrodinger.application.jaguar.gui.filedialog.FileDialogWithExtraCombo

An Open dialog both with an extra combo box to specify what should be read from the specified file.

Variables:
  • GEOM_AND_SETTINGS (int) – The index of the “Geometry and settings” option, as returned by selectedOption().
  • GEOM_ONLY (int) – The index of the “Geometry only” option, as returned by selectedOption().
  • SETTINGS_ONLY (int) – The index of the “Settings only” option, as returned by selectedOption().
GEOM_AND_SETTINGS = 0
GEOM_ONLY = 1
SETTINGS_ONLY = 2
OPTION_TEXT = {0: 'Geometry and settings', 1: 'Geometry only', 2: 'Settings only'}