Source code for schrodinger.ui.ligfilter_definition_dialog_ui
# Form implementation generated from reading ui file '/Users/eltanawy/builds/2022-4/source/mmshare/python/modules/schrodinger/ui/ligfilter_definition_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.setWindowModality(QtCore.Qt.WindowModality.WindowModal)
Dialog.resize(658, 586)
self.verticalLayout_4 = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.label = QtWidgets.QLabel(Dialog)
self.label.setObjectName("label")
self.horizontalLayout_3.addWidget(self.label)
self.newdefinition_ef = QtWidgets.QLineEdit(Dialog)
self.newdefinition_ef.setObjectName("newdefinition_ef")
self.horizontalLayout_3.addWidget(self.newdefinition_ef)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
self.horizontalLayout_3.addItem(spacerItem)
self.verticalLayout_4.addLayout(self.horizontalLayout_3)
self.groupBox = QtWidgets.QGroupBox(Dialog)
self.groupBox.setObjectName("groupBox")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.include_button = QtWidgets.QPushButton(self.groupBox)
self.include_button.setObjectName("include_button")
self.horizontalLayout_2.addWidget(self.include_button)
self.exclude_button = QtWidgets.QPushButton(self.groupBox)
self.exclude_button.setObjectName("exclude_button")
self.horizontalLayout_2.addWidget(self.exclude_button)
self.label_2 = QtWidgets.QLabel(self.groupBox)
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.smarts_ef = QtWidgets.QLineEdit(self.groupBox)
self.smarts_ef.setMinimumSize(QtCore.QSize(60, 0))
self.smarts_ef.setObjectName("smarts_ef")
self.horizontalLayout_2.addWidget(self.smarts_ef)
self.getsmarts_button = QtWidgets.QPushButton(self.groupBox)
self.getsmarts_button.setObjectName("getsmarts_button")
self.horizontalLayout_2.addWidget(self.getsmarts_button)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.definition_listview = QtWidgets.QListView(self.groupBox)
self.definition_listview.setObjectName("definition_listview")
self.horizontalLayout.addWidget(self.definition_listview)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.verticalLayout.addItem(spacerItem1)
self.viewdefinition_button = QtWidgets.QPushButton(self.groupBox)
self.viewdefinition_button.setObjectName("viewdefinition_button")
self.verticalLayout.addWidget(self.viewdefinition_button)
self.horizontalLayout.addLayout(self.verticalLayout)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.verticalLayout_4.addWidget(self.groupBox)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.inclexcl_listview = QtWidgets.QListView(Dialog)
self.inclexcl_listview.setObjectName("inclexcl_listview")
self.horizontalLayout_4.addWidget(self.inclexcl_listview)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.verticalLayout_3.addItem(spacerItem2)
self.delete_button = QtWidgets.QPushButton(Dialog)
self.delete_button.setObjectName("delete_button")
self.verticalLayout_3.addWidget(self.delete_button)
self.deleteall_button = QtWidgets.QPushButton(Dialog)
self.deleteall_button.setObjectName("deleteall_button")
self.verticalLayout_3.addWidget(self.deleteall_button)
self.horizontalLayout_4.addLayout(self.verticalLayout_3)
self.verticalLayout_4.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.Help|QtWidgets.QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout_4.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", "Dialog"))
self.label.setText(_translate("Dialog", "Name of new functional group:"))
self.groupBox.setTitle(_translate("Dialog", "Include/exclude SMARTS expressions or functional group"))
self.include_button.setText(_translate("Dialog", "Include"))
self.exclude_button.setText(_translate("Dialog", "Exclude"))
self.label_2.setText(_translate("Dialog", "Functional group or SMARTS:"))
self.getsmarts_button.setText(_translate("Dialog", "Get From Selection"))
self.viewdefinition_button.setText(_translate("Dialog", "View"))
self.delete_button.setText(_translate("Dialog", "Delete"))
self.deleteall_button.setText(_translate("Dialog", "Delete All"))