schrodinger.ui.qt.forcefield.ffcustomoplssettingwidget module¶
- class schrodinger.ui.qt.forcefield.ffcustomoplssettingwidget.FFCustomOPLSSettingMixin(*args, **kwargs)¶
Bases:
schrodinger.ui.qt.widgetmixins.basicmixins.BaseMixinCollection
Abstract class for creating custom OPLS settings widgets.
Enforces consistent widget appearance and behavior.
Must be inherited by a widget class that defines a .ui file that contains a checkbox called
use_customized_version_cb
and aFFSettingsButton
calledff_settings_btn
.Emits a custom signal with a bool defining ‘use custom force field’ checkbox check state.
- Variables
useCustomParameterStateChanged (QtCore.pyqtSignal) – signal indication that use custom forcefield checkbox state is changed.
- useCustomParameterStateChanged¶
A
pyqtSignal
emitted by instances of the class.
- initSetUp()¶
Creates widget from
ui
and stores itui_widget
.Suggested subclass use: create and initialize subwidgets, and connect signals.
- event(e)¶
Handle the window activation.
- Parameters
e – the event object
- Return type
QTCore.QEvent
- isUseCustomizedVersionChecked()¶
Returns True if use customized option is checked, False otherwise. :rtype: bool :return: use customized version checked state.
- setUseCustomizedVersionCBState(cb_state)¶
Sets ‘use customized version’ checkbox state to on/off. :param cb_state: check state of checkbox. :type cb_state: bool
- class schrodinger.ui.qt.forcefield.ffcustomoplssettingwidget.FFCustomOPLSSettingWidget(*args, **kwargs)¶
Bases:
schrodinger.ui.qt.forcefield.ffcustomoplssettingwidget.FFCustomOPLSSettingMixin
,PyQt6.QtWidgets.QWidget
Standard widget for customizing OPLS settings.
- ui_module = <module 'schrodinger.ui.qt.forcefield.ffcustomoplssettingwidget_ui' from '/scr/buildbot/builds/core-suite-ci/core-suite-ci/build/internal/lib/python3.11/site-packages/schrodinger/ui/qt/forcefield/ffcustomoplssettingwidget_ui.py'>¶