schrodinger.ui.qt.structure_search_popup module

class schrodinger.ui.qt.structure_search_popup.StructureSearchEntry(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

A structure candidate shown in the search pop-up, along with the display string (row number and title) used to search and label it.

display_val: str

A parameter of the class.

st: Structure

A parameter of the class.

display_valChanged

A pyqtSignal emitted by instances of the class.

display_valReplaced

A pyqtSignal emitted by instances of the class.

stChanged

A pyqtSignal emitted by instances of the class.

stReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.ui.qt.structure_search_popup.StructureSearchEntriesSpec(*args, _param_type=<object object>, **kwargs)

Bases: TableSpec

display_val = <schrodinger.ui.qt.mapperwidgets.plptable.FieldColumn object>
st = <schrodinger.ui.qt.mapperwidgets.plptable.FieldColumn object>
columnsChanged

A pyqtSignal emitted by instances of the class.

columnsReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.ui.qt.structure_search_popup.StructureSearchPopUp(*args, **kwargs)

Bases: InitMixin, PopUp

Pop-up widget that provides the search functionality for choosing a structure from a list of structures.

ui_module = <module 'schrodinger.ui.qt.structure_search_popup_ui' from '/scr/buildbot/builds/build/internal/lib/python3.11/site-packages/schrodinger/ui/qt/structure_search_popup_ui.py'>
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.