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.12.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets


[docs]class Ui_Form(object):
[docs] def setupUi(self, Form): Form.setObjectName("Form") Form.resize(456, 167) self.verticalLayout = QtWidgets.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.input_selector_layout = QtWidgets.QVBoxLayout() self.input_selector_layout.setObjectName("input_selector_layout") self.verticalLayout.addLayout(self.input_selector_layout) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.entry_type_combo = MappableComboBox(Form) self.entry_type_combo.setObjectName("entry_type_combo") self.horizontalLayout.addWidget(self.entry_type_combo) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(Form) self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1) self.summary_lbl = QtWidgets.QLabel(Form) self.summary_lbl.setEnabled(False) self.summary_lbl.setObjectName("summary_lbl") self.gridLayout.addWidget(self.summary_lbl, 2, 1, 1, 1) self.label_3 = QtWidgets.QLabel(Form) self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) 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.gridLayout.addWidget(self.description_lbl, 1, 1, 1, 1) self.label_4 = QtWidgets.QLabel(Form) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) 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.summary_lbl.setText(_translate("Form", "TextLabel")) self.label_3.setText(_translate("Form", "Description:")) self.description_lbl.setText(_translate("Form", "TextLabel")) self.label_4.setText(_translate("Form", "Summary:"))
from schrodinger.ui.qt.mapperwidgets import MappableComboBox