schrodinger.ui.qt.standard_widgets.asl_line_edit module

class schrodinger.ui.qt.standard_widgets.asl_line_edit.LineEditWithASL(parent=None)

Bases: QWidget

LineEdit widget that adds a tool button with a menu to select ASL from Maestro Workspace selection or open Atom Selection dialog. This menu also has a Clear action to clear the ASL in the line edit. The tool button uses a vertical dot menu icon instead of the default arrow indicator.

HIDE_INDICATOR_STYLE_SHEET = '\n        QToolButton::menu-indicator {\n            /* Set the size to zero to hide it */\n            width: 0px;\n            height: 0px;\n            /* Optionally, set border to none */\n            border: none;\n        }\n    '
__init__(parent=None)
text() str

Get ASL string from the line edit.

setText(asl_str: str)

Set ASL string to the line edit.