Source code for schrodinger.application.job_monitor.file_browser_ui

# Form implementation generated from reading ui file '/Users/eltanawy/builds/2022-4/source/mmshare/python/modules/schrodinger/application/job_monitor/file_browser.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_Form(object):
[docs] def setupUi(self, Form): Form.setObjectName("Form") Form.resize(300, 350) self.verticalLayout = QtWidgets.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label = QtWidgets.QLabel(Form) self.label.setObjectName("label") self.horizontalLayout.addWidget(self.label) self.file_combo = QtWidgets.QComboBox(Form) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.file_combo.sizePolicy().hasHeightForWidth()) self.file_combo.setSizePolicy(sizePolicy) self.file_combo.setObjectName("file_combo") self.horizontalLayout.addWidget(self.file_combo) self.import_btn = QtWidgets.QPushButton(Form) self.import_btn.setObjectName("import_btn") self.horizontalLayout.addWidget(self.import_btn) self.verticalLayout.addLayout(self.horizontalLayout) self.file_text_edit = QtWidgets.QTextEdit(Form) self.file_text_edit.setObjectName("file_text_edit") self.verticalLayout.addWidget(self.file_text_edit) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
[docs] def retranslateUi(self, Form): _translate = QtCore.QCoreApplication.translate Form.setWindowTitle(_translate("Form", "Form")) self.label.setText(_translate("Form", "File:")) self.import_btn.setText(_translate("Form", "Import"))