# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/scr/buildbot/src/mmshare/python/modules/schrodinger/application/msv/gui/dialogs/blast_results_dialog.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_BlastResultsDialog(object):
[docs] def setupUi(self, BlastResultsDialog):
BlastResultsDialog.setObjectName("BlastResultsDialog")
BlastResultsDialog.setWindowModality(QtCore.Qt.NonModal)
BlastResultsDialog.resize(708, 503)
self.vertical_layout = QtWidgets.QVBoxLayout(BlastResultsDialog)
self.vertical_layout.setSpacing(4)
self.vertical_layout.setObjectName("vertical_layout")
self.horizontal_layout_1 = QtWidgets.QHBoxLayout()
self.horizontal_layout_1.setContentsMargins(-1, 0, -1, -1)
self.horizontal_layout_1.setObjectName("horizontal_layout_1")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_1.addItem(spacerItem)
self.label = QtWidgets.QLabel(BlastResultsDialog)
self.label.setObjectName("label")
self.horizontal_layout_1.addWidget(self.label)
self.tab_combo = QtWidgets.QComboBox(BlastResultsDialog)
self.tab_combo.setObjectName("tab_combo")
self.horizontal_layout_1.addWidget(self.tab_combo)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_1.addItem(spacerItem1)
self.vertical_layout.addLayout(self.horizontal_layout_1)
self.line_2 = QtWidgets.QFrame(BlastResultsDialog)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.vertical_layout.addWidget(self.line_2)
self.horizontal_layout_2 = QtWidgets.QHBoxLayout()
self.horizontal_layout_2.setObjectName("horizontal_layout_2")
self.ref_seq_lbl = QtWidgets.QLabel(BlastResultsDialog)
self.ref_seq_lbl.setObjectName("ref_seq_lbl")
self.horizontal_layout_2.addWidget(self.ref_seq_lbl)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_2.addItem(spacerItem2)
self.algorithm_lbl = QtWidgets.QLabel(BlastResultsDialog)
self.algorithm_lbl.setObjectName("algorithm_lbl")
self.horizontal_layout_2.addWidget(self.algorithm_lbl)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_2.addItem(spacerItem3)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_2.addItem(spacerItem4)
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_2.addItem(spacerItem5)
self.vertical_layout.addLayout(self.horizontal_layout_2)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
self.horizontalLayout_4.setContentsMargins(-1, -1, 0, 0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.label_1 = QtWidgets.QLabel(BlastResultsDialog)
self.label_1.setIndent(-1)
self.label_1.setObjectName("label_1")
self.horizontalLayout_4.addWidget(self.label_1)
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem6)
self.label_2 = QtWidgets.QLabel(BlastResultsDialog)
self.label_2.setToolTipDuration(0)
self.label_2.setObjectName("label_2")
self.horizontalLayout_4.addWidget(self.label_2)
self.sequence_number_sb = QtWidgets.QSpinBox(BlastResultsDialog)
self.sequence_number_sb.setMinimum(1)
self.sequence_number_sb.setMaximum(100)
self.sequence_number_sb.setProperty("value", 10)
self.sequence_number_sb.setObjectName("sequence_number_sb")
self.horizontalLayout_4.addWidget(self.sequence_number_sb)
self.select_btn = QtWidgets.QPushButton(BlastResultsDialog)
self.select_btn.setObjectName("select_btn")
self.horizontalLayout_4.addWidget(self.select_btn)
self.vertical_layout.addLayout(self.horizontalLayout_4)
self.results_tv = QtWidgets.QTableView(BlastResultsDialog)
self.results_tv.setObjectName("results_tv")
self.vertical_layout.addWidget(self.results_tv)
self.horizontal_layout_4 = QtWidgets.QHBoxLayout()
self.horizontal_layout_4.setObjectName("horizontal_layout_4")
self.download_pdb_cb = QtWidgets.QCheckBox(BlastResultsDialog)
self.download_pdb_cb.setEnabled(True)
self.download_pdb_cb.setChecked(False)
self.download_pdb_cb.setObjectName("download_pdb_cb")
self.horizontal_layout_4.addWidget(self.download_pdb_cb)
spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout_4.addItem(spacerItem7)
self.active_tab_cb = QtWidgets.QCheckBox(BlastResultsDialog)
self.active_tab_cb.setObjectName("active_tab_cb")
self.horizontal_layout_4.addWidget(self.active_tab_cb)
self.active_tab_detail_lbl = QtWidgets.QLabel(BlastResultsDialog)
self.active_tab_detail_lbl.setObjectName("active_tab_detail_lbl")
self.horizontal_layout_4.addWidget(self.active_tab_detail_lbl)
self.vertical_layout.addLayout(self.horizontal_layout_4)
self.line = QtWidgets.QFrame(BlastResultsDialog)
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.vertical_layout.addWidget(self.line)
self.horizontal_layout = QtWidgets.QHBoxLayout()
self.horizontal_layout.setObjectName("horizontal_layout")
self.export_btn = QtWidgets.QPushButton(BlastResultsDialog)
self.export_btn.setObjectName("export_btn")
self.horizontal_layout.addWidget(self.export_btn)
self.seq_selected_lbl = QtWidgets.QLabel(BlastResultsDialog)
font = QtGui.QFont()
font.setItalic(True)
self.seq_selected_lbl.setFont(font)
self.seq_selected_lbl.setObjectName("seq_selected_lbl")
self.horizontal_layout.addWidget(self.seq_selected_lbl)
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontal_layout.addItem(spacerItem8)
self.import_btn = QtWidgets.QPushButton(BlastResultsDialog)
self.import_btn.setDefault(True)
self.import_btn.setObjectName("import_btn")
self.horizontal_layout.addWidget(self.import_btn)
self.cancel_btn = QtWidgets.QPushButton(BlastResultsDialog)
self.cancel_btn.setAutoDefault(False)
self.cancel_btn.setObjectName("cancel_btn")
self.horizontal_layout.addWidget(self.cancel_btn)
self.vertical_layout.addLayout(self.horizontal_layout)
self.retranslateUi(BlastResultsDialog)
QtCore.QMetaObject.connectSlotsByName(BlastResultsDialog)
BlastResultsDialog.setTabOrder(self.results_tv, self.import_btn)
BlastResultsDialog.setTabOrder(self.import_btn, self.cancel_btn)
[docs] def retranslateUi(self, BlastResultsDialog):
_translate = QtCore.QCoreApplication.translate
BlastResultsDialog.setWindowTitle(_translate("BlastResultsDialog", "Homolog Search Results "))
self.label.setText(_translate("BlastResultsDialog", "Results of search run from:"))
self.ref_seq_lbl.setText(_translate("BlastResultsDialog", "Reference sequence:"))
self.algorithm_lbl.setText(_translate("BlastResultsDialog", "Algorithm:"))
self.label_1.setText(_translate("BlastResultsDialog", "Select one or more homologs to import into viewer:"))
self.label_2.setText(_translate("BlastResultsDialog", "Choose top:"))
self.select_btn.setText(_translate("BlastResultsDialog", "Select"))
self.download_pdb_cb.setText(_translate("BlastResultsDialog", "Include structures when importing PDB sequences"))
self.active_tab_cb.setText(_translate("BlastResultsDialog", "Import into active tab"))
self.active_tab_detail_lbl.setText(_translate("BlastResultsDialog", " (default is original search tab)"))
self.export_btn.setText(_translate("BlastResultsDialog", "Export"))
self.seq_selected_lbl.setText(_translate("BlastResultsDialog", "0 sequences selected"))
self.import_btn.setText(_translate("BlastResultsDialog", "Import"))
self.cancel_btn.setText(_translate("BlastResultsDialog", "Cancel"))