Source code for schrodinger.application.livedesign.export_setup_ui

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/scr/buildbot/src/mmshare/python/modules/schrodinger/application/livedesign/export_setup.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


[docs]class Ui_Form(object):
[docs] def setupUi(self, Form): Form.setObjectName("Form") Form.resize(733, 371) self.gridLayout_2 = QtWidgets.QGridLayout(Form) self.gridLayout_2.setObjectName("gridLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.input_selector_layout = QtWidgets.QVBoxLayout() self.input_selector_layout.setObjectName("input_selector_layout") self.gridLayout.addLayout(self.input_selector_layout, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(Form) self.label_2.setLayoutDirection(QtCore.Qt.LeftToRight) self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.description_layout = QtWidgets.QHBoxLayout() self.description_layout.setContentsMargins(3, 3, 3, 3) self.description_layout.setObjectName("description_layout") self.description_lbl = QtWidgets.QLabel(Form) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.description_lbl.sizePolicy().hasHeightForWidth()) self.description_lbl.setSizePolicy(sizePolicy) self.description_lbl.setMinimumSize(QtCore.QSize(0, 63)) self.description_lbl.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.description_lbl.setWordWrap(True) self.description_lbl.setObjectName("description_lbl") self.description_layout.addWidget(self.description_lbl) self.gridLayout.addLayout(self.description_layout, 2, 1, 1, 1) self.label = QtWidgets.QLabel(Form) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.entry_type_layout = QtWidgets.QHBoxLayout() self.entry_type_layout.setContentsMargins(3, 3, 3, 3) self.entry_type_layout.setObjectName("entry_type_layout") self.entry_type_combo = MappableComboBox(Form) self.entry_type_combo.setObjectName("entry_type_combo") self.entry_type_layout.addWidget(self.entry_type_combo) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.entry_type_layout.addItem(spacerItem) self.gridLayout.addLayout(self.entry_type_layout, 1, 1, 1, 1) self.label_4 = QtWidgets.QLabel(Form) self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1) self.summary_layout = QtWidgets.QHBoxLayout() self.summary_layout.setContentsMargins(3, 3, 3, 3) self.summary_layout.setObjectName("summary_layout") self.summary_lbl = QtWidgets.QLabel(Form) self.summary_lbl.setEnabled(True) self.summary_lbl.setMouseTracking(False) self.summary_lbl.setText("") self.summary_lbl.setObjectName("summary_lbl") self.summary_layout.addWidget(self.summary_lbl) self.gridLayout.addLayout(self.summary_layout, 3, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
[docs] def retranslateUi(self, Form): _translate = QtCore.QCoreApplication.translate Form.setWindowTitle(_translate("Form", "Form")) self.label_2.setText(_translate("Form", "Entry type:")) self.description_lbl.setText(_translate("Form", "TextLabel")) self.label.setText(_translate("Form", "Structure source:")) self.label_4.setText(_translate("Form", "Structures to export: "))
from schrodinger.ui.qt.mapperwidgets import MappableComboBox