Source code for schrodinger.ui.picking_dir.pick_constraint_res_no_maestro_dialog_ui

# Form implementation generated from reading ui file '/Users/eltanawy/builds/2022-4/source/mmshare/python/modules/schrodinger/ui/picking_dir/pick_constraint_res_no_maestro_dialog.ui'
#
# Created by: PyQt6 UI code generator 6.3.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


[docs]class Ui_Dialog(object):
[docs] def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(400, 300) self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.residue_distance_sb = QtWidgets.QSpinBox(Dialog) self.residue_distance_sb.setMinimum(1) self.residue_distance_sb.setProperty("value", 5) self.residue_distance_sb.setObjectName("residue_distance_sb") self.horizontalLayout.addWidget(self.residue_distance_sb) self.label_2 = QtWidgets.QLabel(Dialog) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.horizontalLayout.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_3 = QtWidgets.QLabel(Dialog) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.constraints_view = QtWidgets.QTableView(Dialog) self.constraints_view.setObjectName("constraints_view") self.horizontalLayout_3.addWidget(self.constraints_view) self.verticalLayout.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.list_waters_cb = QtWidgets.QCheckBox(Dialog) self.list_waters_cb.setObjectName("list_waters_cb") self.horizontalLayout_4.addWidget(self.list_waters_cb) self.verticalLayout.addLayout(self.horizontalLayout_4) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) # type: ignore self.buttonBox.rejected.connect(Dialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(Dialog)
[docs] def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "H-Bond/Metal Constraint Selection")) self.label.setText(_translate("Dialog", "Show residues within")) self.label_2.setText(_translate("Dialog", "A of ligand.")) self.label_3.setText(_translate("Dialog", "Choose constraint(s):")) self.list_waters_cb.setText(_translate("Dialog", "List waters"))