schrodinger.ui.qt.mapperwidgets.param_editor module¶
- class schrodinger.ui.qt.mapperwidgets.param_editor.ParamEditor(param=None, *args, **kwargs)¶
- Bases: - schrodinger.models.mappers.TargetMixin,- schrodinger.ui.qt.basewidgets.BaseWidget- __init__(param=None, *args, **kwargs)¶
 - initSetUp()¶
- Creates widget from - uiand 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_layoutand- bottom_layout.- If the user has specified the - uidata member, insert the resultant- ui_widgetinto- main_layout.- If the widget already has a layout defined, this method will produce a warning (but not a traceback). - main_layoutand- bottom_layoutwill 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. 
 - setParam(param)¶
 - targetGetValue()¶
 - targetSetValue(value)¶
 
- class schrodinger.ui.qt.mapperwidgets.param_editor.DynamicTypeDelegate(*args, **kwargs)¶
- Bases: - schrodinger.ui.qt.delegates.AbstractDelegateWithEditIcon- Delegate for displaying and editing the value of a param. - This delegate changes behavior depending on the param type for that given cell. For example, a bool param will display an interactable checkbox, while a string param will display text that can be edited with a line edit. - paint(self, painter: Optional[QPainter], option: QStyleOptionViewItem, index: QModelIndex)¶
 - editorEvent(self, event: Optional[QEvent], model: Optional[QAbstractItemModel], option: QStyleOptionViewItem, index: QModelIndex) bool¶
 - createEditor(self, parent: Optional[QWidget], option: QStyleOptionViewItem, index: QModelIndex) Optional[QWidget]¶
 - setEditorData(self, editor: Optional[QWidget], index: QModelIndex)¶
 - helpEvent(self, event: Optional[QHelpEvent], view: Optional[QAbstractItemView], option: QStyleOptionViewItem, index: QModelIndex) bool¶
 - setModelData(self, editor: Optional[QWidget], model: Optional[QAbstractItemModel], index: QModelIndex)¶
 
- class schrodinger.ui.qt.mapperwidgets.param_editor.Coord(*args, _param_type=<object object>, **kwargs)¶
- Bases: - schrodinger.models.parameters.CompoundParam- w: str¶
- A parameter of the class. 
 - x: float¶
- A parameter of the class. 
 - y: int¶
- A parameter of the class. 
 - z: bool¶
- A parameter of the class. 
 - wChanged¶
- A - pyqtSignalemitted by instances of the class.
 - wReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - xChanged¶
- A - pyqtSignalemitted by instances of the class.
 - xReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - yChanged¶
- A - pyqtSignalemitted by instances of the class.
 - yReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - zChanged¶
- A - pyqtSignalemitted by instances of the class.
 - zReplaced¶
- A - pyqtSignalemitted by instances of the class.
 
- class schrodinger.ui.qt.mapperwidgets.param_editor.Atom(*args, _param_type=<object object>, **kwargs)¶
- Bases: - schrodinger.models.parameters.CompoundParam- test_dict: Dict¶
- A parameter of the class. 
 - coord: schrodinger.ui.qt.mapperwidgets.param_editor.Coord¶
- A parameter of the class. 
 - mass: float¶
- A parameter of the class. 
 - test_enum: schrodinger.ui.qt.mapperwidgets.param_editor.MyEnum¶
- A parameter of the class. 
 - test_enum2: schrodinger.ui.qt.mapperwidgets.param_editor.MyEnum¶
- A parameter of the class. 
 - coordChanged¶
- A - pyqtSignalemitted by instances of the class.
 - coordReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - massChanged¶
- A - pyqtSignalemitted by instances of the class.
 - massReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - test_dictChanged¶
- A - pyqtSignalemitted by instances of the class.
 - test_dictReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - test_enum2Changed¶
- A - pyqtSignalemitted by instances of the class.
 - test_enum2Replaced¶
- A - pyqtSignalemitted by instances of the class.
 - test_enumChanged¶
- A - pyqtSignalemitted by instances of the class.
 - test_enumReplaced¶
- A - pyqtSignalemitted by instances of the class.
 - test_listChanged¶
- A - pyqtSignalemitted by instances of the class.
 - test_listReplaced¶
- A - pyqtSignalemitted by instances of the class.
 
- schrodinger.ui.qt.mapperwidgets.param_editor.main()¶