Esempio n. 1
0
class Ui_IQTREE(object):
    def setupUi(self, IQTREE):
        IQTREE.setObjectName("IQTREE")
        IQTREE.resize(849, 553)
        self.gridLayout_5 = QtWidgets.QGridLayout(IQTREE)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.scrollArea = QtWidgets.QScrollArea(IQTREE)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 831, 535))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.comboBox_11 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_11.sizePolicy().hasHeightForWidth())
        self.comboBox_11.setSizePolicy(sizePolicy)
        self.comboBox_11.setAcceptDrops(True)
        self.comboBox_11.setEditable(True)
        self.comboBox_11.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_11.setObjectName("comboBox_11")
        self.gridLayout_2.addWidget(self.comboBox_11, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_2.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.checkBox_8 = QtWidgets.QCheckBox(self.groupBox_4)
        self.checkBox_8.setObjectName("checkBox_8")
        self.gridLayout_2.addWidget(self.checkBox_8, 1, 0, 1, 1)
        self.lineEdit_3 = InputQLineEdit(self.groupBox_4)
        self.lineEdit_3.setEnabled(False)
        self.lineEdit_3.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.lineEdit_3.setReadOnly(True)
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.gridLayout_2.addWidget(self.lineEdit_3, 1, 1, 1, 1)
        self.pushButton_22 = QtWidgets.QPushButton(self.groupBox_4)
        self.pushButton_22.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_22.sizePolicy().hasHeightForWidth())
        self.pushButton_22.setSizePolicy(sizePolicy)
        self.pushButton_22.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_22.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_22.setStyleSheet("")
        self.pushButton_22.setText("")
        self.pushButton_22.setObjectName("pushButton_22")
        self.gridLayout_2.addWidget(self.pushButton_22, 1, 2, 1, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_2)
        self.gridLayout_6 = QtWidgets.QGridLayout()
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.label_24 = QtWidgets.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_24.setFont(font)
        self.label_24.setObjectName("label_24")
        self.gridLayout_6.addWidget(self.label_24, 0, 0, 1, 1)
        self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_3.sizePolicy().hasHeightForWidth())
        self.comboBox_3.setSizePolicy(sizePolicy)
        self.comboBox_3.setMinimumSize(QtCore.QSize(100, 26))
        self.comboBox_3.setObjectName("comboBox_3")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.gridLayout_6.addWidget(self.comboBox_3, 0, 1, 1, 2)
        self.label_8 = QtWidgets.QLabel(self.groupBox_4)
        self.label_8.setObjectName("label_8")
        self.gridLayout_6.addWidget(self.label_8, 1, 0, 1, 2)
        self.comboBox_5 = QtWidgets.QComboBox(self.groupBox_4)
        self.comboBox_5.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_5.sizePolicy().hasHeightForWidth())
        self.comboBox_5.setSizePolicy(sizePolicy)
        self.comboBox_5.setMinimumSize(QtCore.QSize(95, 26))
        self.comboBox_5.setObjectName("comboBox_5")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.gridLayout_6.addWidget(self.comboBox_5, 1, 2, 1, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_6)
        self.horizontalLayout_6.setStretch(0, 5)
        self.horizontalLayout_6.setStretch(1, 2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_22 = QtWidgets.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_22.setFont(font)
        self.label_22.setObjectName("label_22")
        self.horizontalLayout_2.addWidget(self.label_22)
        self.comboBox_9 = QtWidgets.QComboBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_9.sizePolicy().hasHeightForWidth())
        self.comboBox_9.setSizePolicy(sizePolicy)
        self.comboBox_9.setMinimumSize(QtCore.QSize(114, 26))
        self.comboBox_9.setMaximumSize(QtCore.QSize(16777215, 26))
        self.comboBox_9.setStyleSheet("")
        self.comboBox_9.setObjectName("comboBox_9")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.horizontalLayout_2.addWidget(self.comboBox_9)
        self.horizontalLayout_7.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.checkBox_9 = QtWidgets.QCheckBox(self.groupBox_4)
        self.checkBox_9.setChecked(True)
        self.checkBox_9.setObjectName("checkBox_9")
        self.horizontalLayout_3.addWidget(self.checkBox_9)
        self.comboBox_10 = CheckableComboBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_10.sizePolicy().hasHeightForWidth())
        self.comboBox_10.setSizePolicy(sizePolicy)
        self.comboBox_10.setMinimumSize(QtCore.QSize(95, 26))
        self.comboBox_10.setObjectName("comboBox_10")
        self.horizontalLayout_3.addWidget(self.comboBox_10)
        self.horizontalLayout_7.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_7.setStretch(0, 1)
        self.horizontalLayout_7.setStretch(1, 1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_14 = QtWidgets.QLabel(self.groupBox_4)
        self.label_14.setOpenExternalLinks(True)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout_5.addWidget(self.label_14)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.label_3 = QtWidgets.QLabel(self.groupBox_4)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_5.addWidget(self.label_3)
        self.label = ClickedLableGif(self.groupBox_4)
        self.label.setText("")
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox.setToolTip("")
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.label_25 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_25.setFont(font)
        self.label_25.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_25.setObjectName("label_25")
        self.gridLayout.addWidget(self.label_25, 0, 0, 1, 1)
        self.comboBox_7 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_7.sizePolicy().hasHeightForWidth())
        self.comboBox_7.setSizePolicy(sizePolicy)
        self.comboBox_7.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_7.setObjectName("comboBox_7")
        self.gridLayout.addWidget(self.comboBox_7, 0, 1, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_27.setFont(font)
        self.label_27.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_27.setObjectName("label_27")
        self.gridLayout.addWidget(self.label_27, 0, 2, 1, 1)
        self.comboBox_6 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_6.sizePolicy().hasHeightForWidth())
        self.comboBox_6.setSizePolicy(sizePolicy)
        self.comboBox_6.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_6.setObjectName("comboBox_6")
        self.gridLayout.addWidget(self.comboBox_6, 0, 3, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_29 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_29.setFont(font)
        self.label_29.setObjectName("label_29")
        self.horizontalLayout_4.addWidget(self.label_29)
        self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_3.setObjectName("checkBox_3")
        self.horizontalLayout_4.addWidget(self.checkBox_3)
        self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_4.setObjectName("checkBox_4")
        self.horizontalLayout_4.addWidget(self.checkBox_4)
        self.gridLayout.addLayout(self.horizontalLayout_4, 0, 4, 1, 1)
        self.label_26 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_26.setFont(font)
        self.label_26.setObjectName("label_26")
        self.gridLayout.addWidget(self.label_26, 1, 0, 1, 1)
        self.comboBox_4 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_4.setObjectName("comboBox_4")
        self.comboBox_4.addItem("")
        self.comboBox_4.addItem("")
        self.comboBox_4.addItem("")
        self.comboBox_4.addItem("")
        self.comboBox_4.addItem("")
        self.gridLayout.addWidget(self.comboBox_4, 1, 1, 1, 1)
        self.label_28 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_28.setFont(font)
        self.label_28.setObjectName("label_28")
        self.gridLayout.addWidget(self.label_28, 1, 2, 1, 1)
        self.spinBox = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox.setMinimum(2)
        self.spinBox.setMaximum(64)
        self.spinBox.setProperty("value", 4)
        self.spinBox.setObjectName("spinBox")
        self.gridLayout.addWidget(self.spinBox, 1, 3, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_2.setAutoRepeat(False)
        self.checkBox_2.setAutoExclusive(False)
        self.checkBox_2.setObjectName("checkBox_2")
        self.horizontalLayout.addWidget(self.checkBox_2)
        self.checkBox = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox.setObjectName("checkBox")
        self.horizontalLayout.addWidget(self.checkBox)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 4, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_30 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_30.setFont(font)
        self.label_30.setObjectName("label_30")
        self.gridLayout_3.addWidget(self.label_30, 0, 0, 1, 1)
        self.comboBox_8 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_8.sizePolicy().hasHeightForWidth())
        self.comboBox_8.setSizePolicy(sizePolicy)
        self.comboBox_8.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_8.setObjectName("comboBox_8")
        self.comboBox_8.addItem("")
        self.comboBox_8.addItem("")
        self.comboBox_8.addItem("")
        self.gridLayout_3.addWidget(self.comboBox_8, 0, 1, 1, 1)
        self.label_35 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_35.setFont(font)
        self.label_35.setObjectName("label_35")
        self.gridLayout_3.addWidget(self.label_35, 0, 2, 1, 1)
        self.spinBox_3 = QtWidgets.QSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_3.sizePolicy().hasHeightForWidth())
        self.spinBox_3.setSizePolicy(sizePolicy)
        self.spinBox_3.setMinimum(100)
        self.spinBox_3.setMaximum(1000000)
        self.spinBox_3.setSingleStep(10)
        self.spinBox_3.setProperty("value", 5000)
        self.spinBox_3.setObjectName("spinBox_3")
        self.gridLayout_3.addWidget(self.spinBox_3, 0, 3, 1, 1)
        self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_5.setChecked(True)
        self.checkBox_5.setObjectName("checkBox_5")
        self.gridLayout_3.addWidget(self.checkBox_5, 0, 4, 1, 1)
        self.checkBox_7 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_7.setObjectName("checkBox_7")
        self.gridLayout_3.addWidget(self.checkBox_7, 0, 5, 1, 2)
        self.label_36 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_36.setFont(font)
        self.label_36.setObjectName("label_36")
        self.gridLayout_3.addWidget(self.label_36, 1, 0, 1, 1)
        self.spinBox_4 = QtWidgets.QSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_4.sizePolicy().hasHeightForWidth())
        self.spinBox_4.setSizePolicy(sizePolicy)
        self.spinBox_4.setMinimum(1000)
        self.spinBox_4.setMaximum(100000000)
        self.spinBox_4.setSingleStep(100)
        self.spinBox_4.setObjectName("spinBox_4")
        self.gridLayout_3.addWidget(self.spinBox_4, 1, 1, 1, 1)
        self.label_37 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_37.setFont(font)
        self.label_37.setObjectName("label_37")
        self.gridLayout_3.addWidget(self.label_37, 1, 2, 1, 1)
        self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox.setSizePolicy(sizePolicy)
        self.doubleSpinBox.setMinimum(0.9)
        self.doubleSpinBox.setMaximum(0.99)
        self.doubleSpinBox.setSingleStep(0.01)
        self.doubleSpinBox.setObjectName("doubleSpinBox")
        self.gridLayout_3.addWidget(self.doubleSpinBox, 1, 3, 1, 1)
        self.checkBox_6 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_6.setChecked(True)
        self.checkBox_6.setObjectName("checkBox_6")
        self.gridLayout_3.addWidget(self.checkBox_6, 1, 4, 1, 2)
        self.spinBox_5 = QtWidgets.QSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_5.sizePolicy().hasHeightForWidth())
        self.spinBox_5.setSizePolicy(sizePolicy)
        self.spinBox_5.setToolTip("")
        self.spinBox_5.setMinimum(1000)
        self.spinBox_5.setMaximum(100000000)
        self.spinBox_5.setSingleStep(100)
        self.spinBox_5.setObjectName("spinBox_5")
        self.gridLayout_3.addWidget(self.spinBox_5, 1, 6, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_8.addWidget(self.pushButton)
        self.pushButton_continue = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_continue.sizePolicy().hasHeightForWidth())
        self.pushButton_continue.setSizePolicy(sizePolicy)
        self.pushButton_continue.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.pushButton_continue.setAutoFillBackground(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/Play-pause_button_play_stop_blue_pause.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_continue.setIcon(icon1)
        self.pushButton_continue.setAutoExclusive(False)
        self.pushButton_continue.setObjectName("pushButton_continue")
        self.horizontalLayout_8.addWidget(self.pushButton_continue)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth())
        self.pushButton_2.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon2)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout_8.addWidget(self.pushButton_2)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_6.setObjectName("groupBox_6")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_6)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon3)
        self.pushButton_9.setObjectName("pushButton_9")
        self.gridLayout_7.addWidget(self.pushButton_9, 1, 0, 1, 1)
        self.progressBar = QtWidgets.QProgressBar(self.groupBox_6)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_7.addWidget(self.progressBar, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_6)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_5.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.label_24.setBuddy(self.comboBox_3)

        self.retranslateUi(IQTREE)
        self.checkBox_2.toggled['bool'].connect(self.checkBox_3.setDisabled)
        self.checkBox_2.toggled['bool'].connect(self.checkBox_4.setDisabled)
        self.checkBox_6.toggled['bool'].connect(self.spinBox_5.setEnabled)
        self.checkBox_2.toggled['bool'].connect(self.label_29.setDisabled)
        self.checkBox_9.clicked['bool'].connect(self.comboBox_10.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(IQTREE)
        IQTREE.setTabOrder(self.pushButton_3, self.lineEdit_3)
        IQTREE.setTabOrder(self.lineEdit_3, self.pushButton_9)
        IQTREE.setTabOrder(self.pushButton_9, self.pushButton_22)
        IQTREE.setTabOrder(self.pushButton_22, self.pushButton_2)
        IQTREE.setTabOrder(self.pushButton_2, self.pushButton)

    def retranslateUi(self, IQTREE):
        _translate = QtCore.QCoreApplication.translate
        IQTREE.setWindowTitle(_translate("IQTREE", "IQ-TREE"))
        self.groupBox_4.setTitle(_translate("IQTREE", "Input"))
        self.label_5.setText(_translate("IQTREE", "Alignment File:"))
        self.checkBox_8.setText(_translate("IQTREE", "Partition Mode:"))
        self.lineEdit_3.setPlaceholderText(_translate("IQTREE", "Optional!"))
        self.label_24.setText(_translate("IQTREE", "Seq. Type:"))
        self.comboBox_3.setItemText(0, _translate("IQTREE", "Auto detect"))
        self.comboBox_3.setItemText(1, _translate("IQTREE", "DNA"))
        self.comboBox_3.setItemText(2, _translate("IQTREE", "Protein"))
        self.comboBox_3.setItemText(3, _translate("IQTREE", "Codon"))
        self.comboBox_3.setItemText(4, _translate("IQTREE", "Binary"))
        self.comboBox_3.setItemText(5, _translate("IQTREE", "Morphology"))
        self.comboBox_3.setItemText(6, _translate("IQTREE", "DNA-->AA"))
        self.label_8.setText(_translate("IQTREE", "Partition Style:"))
        self.comboBox_5.setItemText(0, _translate("IQTREE", "Edge-linked"))
        self.comboBox_5.setItemText(1, _translate("IQTREE", "Edge-unlinked"))
        self.label_22.setText(_translate("IQTREE", "Code Table:"))
        self.comboBox_9.setItemText(0, _translate("IQTREE", "1 The standard code"))
        self.comboBox_9.setItemText(1, _translate("IQTREE", "2 Vertebrate mitochondrial code"))
        self.comboBox_9.setItemText(2, _translate("IQTREE", "3 The Yeast Mitochondrial Code"))
        self.comboBox_9.setItemText(3, _translate("IQTREE", "4 Mold, Protozoan, and Coelenterate Mitochondrial code and Mycoplasma/Spiroplasma code"))
        self.comboBox_9.setItemText(4, _translate("IQTREE", "5 Invertebrate mitochondrial"))
        self.comboBox_9.setItemText(5, _translate("IQTREE", "6 The Ciliate, Dasycladacean and Hexamita Nuclear Code"))
        self.comboBox_9.setItemText(6, _translate("IQTREE", "9 Echinoderm and Flatworm mitochondrial code"))
        self.comboBox_9.setItemText(7, _translate("IQTREE", "10 The Euplotid Nuclear Code"))
        self.comboBox_9.setItemText(8, _translate("IQTREE", "11 The Bacterial, Archaeal and Plant Plastid Code"))
        self.comboBox_9.setItemText(9, _translate("IQTREE", "12 The Alternative Yeast Nuclear Code"))
        self.comboBox_9.setItemText(10, _translate("IQTREE", "13 Ascidian mitochondrial code"))
        self.comboBox_9.setItemText(11, _translate("IQTREE", "14 Alternative flatworm mitochondrial code"))
        self.comboBox_9.setItemText(12, _translate("IQTREE", "16 Chlorophycean Mitochondrial Code"))
        self.comboBox_9.setItemText(13, _translate("IQTREE", "21 Trematode Mitochondrial Code"))
        self.comboBox_9.setItemText(14, _translate("IQTREE", "22 Scenedesmus obliquus Mitochondrial Code"))
        self.comboBox_9.setItemText(15, _translate("IQTREE", "23 Thraustochytrium Mitochondrial Code"))
        self.comboBox_9.setItemText(16, _translate("IQTREE", "24 Pterobranchia Mitochondrial Code"))
        self.comboBox_9.setItemText(17, _translate("IQTREE", "25 Candidate Division SR1 and Gracilibacteria Code"))
        self.checkBox_9.setText(_translate("IQTREE", "Outgroup (s):"))
        self.label_14.setText(_translate("IQTREE", "<html><head/><body><p>Click <a href=\"http://www.iqtree.org/doc/\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about <span style=\" font-weight:600; color:#ff0000;\">IQ-TREE</span></p></body></html>"))
        self.label_3.setText(_translate("IQTREE", "Demo:"))
        self.label.setToolTip(_translate("IQTREE", "Brief example"))
        self.groupBox.setTitle(_translate("IQTREE", "Substitution Model Options"))
        self.label_25.setText(_translate("IQTREE", "Models:"))
        self.label_27.setText(_translate("IQTREE", "Threads:"))
        self.label_29.setText(_translate("IQTREE", "Rate heterogeneity:"))
        self.checkBox_3.setToolTip(_translate("IQTREE", "Discrete Gamma model"))
        self.checkBox_3.setText(_translate("IQTREE", "[+G]"))
        self.checkBox_4.setToolTip(_translate("IQTREE", "Allowing for a proportion of invariable sites"))
        self.checkBox_4.setText(_translate("IQTREE", "[+I]"))
        self.label_26.setText(_translate("IQTREE", "State freq:"))
        self.comboBox_4.setItemText(0, _translate("IQTREE", "Empirical (from data)"))
        self.comboBox_4.setItemText(1, _translate("IQTREE", "AA model (from matrix)"))
        self.comboBox_4.setItemText(2, _translate("IQTREE", "ML-optimized"))
        self.comboBox_4.setItemText(3, _translate("IQTREE", "Codon F1X4"))
        self.comboBox_4.setItemText(4, _translate("IQTREE", "Codon F3X4"))
        self.label_28.setText(_translate("IQTREE", "#rate categories:"))
        self.checkBox_2.setText(_translate("IQTREE", "FreeRate heterogeneity [+R]"))
        self.checkBox.setToolTip(_translate("IQTREE", "Ascertainment bias correction"))
        self.checkBox.setText(_translate("IQTREE", "[+ASC]"))
        self.groupBox_2.setTitle(_translate("IQTREE", "Branch Support Analysis"))
        self.label_30.setToolTip(_translate("IQTREE", "Bootstrap analysis"))
        self.label_30.setText(_translate("IQTREE", "Bootstrap:"))
        self.comboBox_8.setItemText(0, _translate("IQTREE", "Ultrafast"))
        self.comboBox_8.setItemText(1, _translate("IQTREE", "Standard"))
        self.comboBox_8.setItemText(2, _translate("IQTREE", "None"))
        self.label_35.setText(_translate("IQTREE", "Num of bootstrap:"))
        self.checkBox_5.setToolTip(_translate("IQTREE", "Write bootstrap trees to .ufboot file"))
        self.checkBox_5.setText(_translate("IQTREE", "Create .ufboot file"))
        self.checkBox_7.setText(_translate("IQTREE", "Approximate Bayes test"))
        self.label_36.setToolTip(_translate("IQTREE", "Maximum iterations"))
        self.label_36.setText(_translate("IQTREE", "Max. iter.:"))
        self.spinBox_4.setToolTip(_translate("IQTREE", "Maximum iterations"))
        self.label_37.setToolTip(_translate("IQTREE", "Minimum correlation coefficient"))
        self.label_37.setText(_translate("IQTREE", "Minimum cor. coef.:"))
        self.doubleSpinBox.setToolTip(_translate("IQTREE", "Minimum correlation coefficient"))
        self.checkBox_6.setText(_translate("IQTREE", "SH-aLRT branch test | replicates:"))
        self.groupBox_3.setTitle(_translate("IQTREE", "Run"))
        self.pushButton.setText(_translate("IQTREE", "Start"))
        self.pushButton_continue.setText(_translate("IQTREE", "Continue Previous Analysis"))
        self.pushButton_2.setText(_translate("IQTREE", "Stop"))
        self.groupBox_6.setTitle(_translate("IQTREE", "Progress"))
        self.pushButton_9.setText(_translate("IQTREE", "Show log"))
Esempio n. 2
0
class Ui_Matrix(object):
    def setupUi(self, Matrix):
        Matrix.setObjectName("Matrix")
        Matrix.resize(657, 492)
        Matrix.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(Matrix)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(Matrix)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout_2.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_2.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.checkBox_6 = QtWidgets.QCheckBox(self.groupBox_4)
        self.checkBox_6.setObjectName("checkBox_6")
        self.horizontalLayout_2.addWidget(self.checkBox_6)
        self.line = QtWidgets.QFrame(self.groupBox_4)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_2.addWidget(self.line)
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.label_2 = ClickedLableGif(self.groupBox_4)
        self.label_2.setText("")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 1, 0, 1, 3)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox = QtWidgets.QGroupBox(Matrix)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.checkBox = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox.setObjectName("checkBox")
        self.gridLayout_4.addWidget(self.checkBox, 0, 0, 1, 1)
        self.checkBox_12 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_12.setObjectName("checkBox_12")
        self.gridLayout_4.addWidget(self.checkBox_12, 0, 1, 1, 1)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_2.setObjectName("checkBox_2")
        self.gridLayout_4.addWidget(self.checkBox_2, 1, 0, 1, 1)
        self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_5.setObjectName("checkBox_5")
        self.gridLayout_4.addWidget(self.checkBox_5, 1, 1, 1, 1)
        self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_3.setObjectName("checkBox_3")
        self.gridLayout_4.addWidget(self.checkBox_3, 2, 0, 1, 1)
        self.checkBox_13 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_13.setObjectName("checkBox_13")
        self.gridLayout_4.addWidget(self.checkBox_13, 2, 1, 1, 1)
        self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_4.setObjectName("checkBox_4")
        self.gridLayout_4.addWidget(self.checkBox_4, 3, 0, 1, 1)
        self.checkBox_9 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_9.setObjectName("checkBox_9")
        self.gridLayout_4.addWidget(self.checkBox_9, 3, 1, 1, 1)
        self.groupBox_top_line = QtWidgets.QGroupBox(self.groupBox)
        self.groupBox_top_line.setStyleSheet("")
        self.groupBox_top_line.setFlat(True)
        self.groupBox_top_line.setCheckable(True)
        self.groupBox_top_line.setChecked(False)
        self.groupBox_top_line.setObjectName("groupBox_top_line")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_top_line)
        self.gridLayout.setContentsMargins(0, 9, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.label_9 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_9.setEnabled(True)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 0, 0, 1, 1)
        self.spinBox_5 = QtWidgets.QSpinBox(self.groupBox_top_line)
        self.spinBox_5.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinBox_5.sizePolicy().hasHeightForWidth())
        self.spinBox_5.setSizePolicy(sizePolicy)
        self.spinBox_5.setMinimum(1)
        self.spinBox_5.setMaximum(99999)
        self.spinBox_5.setProperty("value", 5)
        self.spinBox_5.setObjectName("spinBox_5")
        self.gridLayout.addWidget(self.spinBox_5, 0, 1, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_15.setEnabled(True)
        self.label_15.setObjectName("label_15")
        self.gridLayout.addWidget(self.label_15, 0, 2, 1, 1)
        self.spinBox_6 = QtWidgets.QSpinBox(self.groupBox_top_line)
        self.spinBox_6.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinBox_6.sizePolicy().hasHeightForWidth())
        self.spinBox_6.setSizePolicy(sizePolicy)
        self.spinBox_6.setMinimum(1)
        self.spinBox_6.setMaximum(99999)
        self.spinBox_6.setProperty("value", 8)
        self.spinBox_6.setObjectName("spinBox_6")
        self.gridLayout.addWidget(self.spinBox_6, 0, 3, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_10.setEnabled(True)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 1, 0, 1, 1)
        self.spinBox_7 = QtWidgets.QSpinBox(self.groupBox_top_line)
        self.spinBox_7.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinBox_7.sizePolicy().hasHeightForWidth())
        self.spinBox_7.setSizePolicy(sizePolicy)
        self.spinBox_7.setMinimum(1)
        self.spinBox_7.setMaximum(99999)
        self.spinBox_7.setProperty("value", 15)
        self.spinBox_7.setObjectName("spinBox_7")
        self.gridLayout.addWidget(self.spinBox_7, 1, 1, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_11.setEnabled(True)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 1, 2, 1, 1)
        self.spinBox_8 = QtWidgets.QSpinBox(self.groupBox_top_line)
        self.spinBox_8.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinBox_8.sizePolicy().hasHeightForWidth())
        self.spinBox_8.setSizePolicy(sizePolicy)
        self.spinBox_8.setSuffix("")
        self.spinBox_8.setMinimum(-360)
        self.spinBox_8.setMaximum(360)
        self.spinBox_8.setProperty("value", 45)
        self.spinBox_8.setObjectName("spinBox_8")
        self.gridLayout.addWidget(self.spinBox_8, 1, 3, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_12.setEnabled(True)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 2, 0, 1, 1)
        self.comboBox = QtWidgets.QComboBox(self.groupBox_top_line)
        self.comboBox.setEnabled(True)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.gridLayout.addWidget(self.comboBox, 2, 1, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.groupBox_top_line)
        self.label_13.setEnabled(True)
        self.label_13.setObjectName("label_13")
        self.gridLayout.addWidget(self.label_13, 2, 2, 1, 1)
        self.pushButton_color = QtWidgets.QPushButton(self.groupBox_top_line)
        self.pushButton_color.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_color.sizePolicy().hasHeightForWidth())
        self.pushButton_color.setSizePolicy(sizePolicy)
        self.pushButton_color.setAutoFillBackground(False)
        self.pushButton_color.setStyleSheet("")
        self.pushButton_color.setObjectName("pushButton_color")
        self.gridLayout.addWidget(self.pushButton_color, 2, 3, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_top_line, 5, 0, 1, 2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit.setObjectName("lineEdit")
        self.horizontalLayout.addWidget(self.lineEdit)
        self.gridLayout_4.addLayout(self.horizontalLayout, 4, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_3 = QtWidgets.QGroupBox(Matrix)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox_5 = QtWidgets.QGroupBox(Matrix)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox_5)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_5.addWidget(self.progressBar, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_5)

        self.retranslateUi(Matrix)
        QtCore.QMetaObject.connectSlotsByName(Matrix)

    def retranslateUi(self, Matrix):
        _translate = QtCore.QCoreApplication.translate
        Matrix.setWindowTitle(_translate("Matrix", "Concatenate Sequence"))
        self.groupBox_4.setTitle(_translate("Matrix", "Input"))
        self.label_4.setText(_translate("Matrix", "Input:"))
        self.checkBox_6.setToolTip(
            _translate("Matrix",
                       "Sort the input files according to file name"))
        self.checkBox_6.setText(_translate("Matrix", "Sort"))
        self.label_5.setText(
            _translate(
                "Matrix",
                "<html><head/><body><p>Try to drag your <span style=\" font-weight:600; color:#ff0000;\">alignments</span> file and drop here if you want to use custom files</p></body></html>"
            ))
        self.label_2.setToolTip(_translate("Matrix", "Brief example"))
        self.groupBox.setTitle(_translate("Matrix", "Parameter"))
        self.checkBox.setText(_translate("Matrix", "Phylip Format"))
        self.checkBox_12.setText(_translate("Matrix", "Fasta Format"))
        self.checkBox_2.setText(
            _translate("Matrix", "Nexus Format (sequential)"))
        self.checkBox_5.setText(_translate("Matrix", "Paml Format"))
        self.checkBox_3.setText(
            _translate("Matrix", "Nexus Format (interleave)"))
        self.checkBox_13.setText(
            _translate("Matrix", "Axt Format (for KaKs_Calculator2)"))
        self.checkBox_4.setText(
            _translate("Matrix",
                       "Nexus Format (interleave: delimit by genes)"))
        self.checkBox_9.setText(
            _translate("Matrix", "Sequence Statistics File"))
        self.groupBox_top_line.setTitle(_translate("Matrix", "Linear figure"))
        self.label_9.setText(_translate("Matrix", "Figure height:"))
        self.spinBox_5.setSuffix(_translate("Matrix", " cm"))
        self.label_15.setText(_translate("Matrix", "Figure width:"))
        self.spinBox_6.setSuffix(_translate("Matrix", " cm"))
        self.label_10.setText(_translate("Matrix", "Label size:"))
        self.label_11.setText(_translate("Matrix", "Label angle:"))
        self.label_12.setText(_translate("Matrix", "Label position:"))
        self.comboBox.setItemText(0, _translate("Matrix", "start"))
        self.comboBox.setItemText(1, _translate("Matrix", "middle"))
        self.comboBox.setItemText(2, _translate("Matrix", "end"))
        self.label_13.setText(_translate("Matrix", "Label color:"))
        self.pushButton_color.setToolTip(
            _translate("Matrix", "Click to change color"))
        self.pushButton_color.setText(_translate("Matrix", "#F9C997"))
        self.label.setText(_translate("Matrix", "Export file name:"))
        self.lineEdit.setText(_translate("Matrix", "concatenation"))
        self.groupBox_3.setTitle(_translate("Matrix", "Run"))
        self.pushButton.setText(_translate("Matrix", "Start"))
        self.pushButton_2.setText(_translate("Matrix", "Stop"))
        self.groupBox_5.setTitle(_translate("Matrix", "Progress"))
Esempio n. 3
0
class Ui_ConverFMT(object):
    def setupUi(self, ConverFMT):
        ConverFMT.setObjectName("ConverFMT")
        ConverFMT.resize(536, 362)
        ConverFMT.setSizeGripEnabled(True)
        self.gridLayout_4 = QtWidgets.QGridLayout(ConverFMT)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.groupBox_4 = QtWidgets.QGroupBox(ConverFMT)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout_2.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_2.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label_2 = ClickedLableGif(self.groupBox_4)
        self.label_2.setText("")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 3)
        self.gridLayout_4.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(ConverFMT)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.checkBox = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox.setObjectName("checkBox")
        self.gridLayout.addWidget(self.checkBox, 0, 0, 1, 1)
        self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_5.setObjectName("checkBox_5")
        self.gridLayout.addWidget(self.checkBox_5, 0, 1, 1, 1)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_2.setObjectName("checkBox_2")
        self.gridLayout.addWidget(self.checkBox_2, 1, 0, 1, 1)
        self.checkBox_12 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_12.setObjectName("checkBox_12")
        self.gridLayout.addWidget(self.checkBox_12, 1, 1, 1, 1)
        self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_3.setObjectName("checkBox_3")
        self.gridLayout.addWidget(self.checkBox_3, 2, 0, 1, 1)
        self.checkBox_9 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_9.setObjectName("checkBox_9")
        self.gridLayout.addWidget(self.checkBox_9, 2, 1, 1, 1)
        self.checkBox_13 = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_13.setObjectName("checkBox_13")
        self.gridLayout.addWidget(self.checkBox_13, 3, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 1, 0, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(ConverFMT)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_4.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.groupBox_5 = QtWidgets.QGroupBox(ConverFMT)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox_5)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_5.addWidget(self.progressBar, 0, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_5, 3, 0, 1, 1)

        self.retranslateUi(ConverFMT)
        QtCore.QMetaObject.connectSlotsByName(ConverFMT)

    def retranslateUi(self, ConverFMT):
        _translate = QtCore.QCoreApplication.translate
        ConverFMT.setWindowTitle(
            _translate("ConverFMT", "Convert Sequence format"))
        self.groupBox_4.setTitle(_translate("ConverFMT", "Input"))
        self.label_4.setText(_translate("ConverFMT", "Input:"))
        self.label_5.setText(
            _translate(
                "ConverFMT",
                "<html><head/><body><p>Try to drag your <span style=\" font-weight:600; color:#ff0000;\">alignments</span> file and drop here if you want to use custom files</p></body></html>"
            ))
        self.label_2.setToolTip(_translate("ConverFMT", "Brief example"))
        self.groupBox.setTitle(_translate("ConverFMT", "Parameter"))
        self.checkBox.setText(_translate("ConverFMT", "Phylip Format"))
        self.checkBox_5.setText(_translate("ConverFMT", "Paml Format"))
        self.checkBox_2.setText(
            _translate("ConverFMT", "Nexus Format (sequential)"))
        self.checkBox_12.setText(_translate("ConverFMT", "Fasta Format"))
        self.checkBox_3.setText(
            _translate("ConverFMT", "Nexus Format (interleave)"))
        self.checkBox_9.setText(
            _translate("ConverFMT", "Sequence Statistics File"))
        self.checkBox_13.setText(
            _translate("ConverFMT", "Axt Format (for KaKs_Calculator2)"))
        self.groupBox_3.setTitle(_translate("ConverFMT", "Run"))
        self.pushButton.setText(_translate("ConverFMT", "Start"))
        self.pushButton_2.setText(_translate("ConverFMT", "Stop"))
        self.groupBox_5.setTitle(_translate("ConverFMT", "Progress"))
Esempio n. 4
0
class Ui_HmmCleaner(object):
    def setupUi(self, HmmCleaner):
        HmmCleaner.setObjectName("HmmCleaner")
        HmmCleaner.resize(501, 388)
        HmmCleaner.setStyleSheet("")
        HmmCleaner.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(HmmCleaner)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(HmmCleaner)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.horizontalLayout_5.addWidget(self.comboBox_4)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.horizontalLayout_5.addWidget(self.pushButton_3)
        self.gridLayout_2.addLayout(self.horizontalLayout_5, 0, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setOpenExternalLinks(True)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(58, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_3 = QtWidgets.QLabel(self.groupBox_4)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.label_7 = ClickedLableGif(self.groupBox_4)
        self.label_7.setText("")
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_3.addWidget(self.label_7)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox_2 = QtWidgets.QGroupBox(HmmCleaner)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        self.doubleSpinBox.setMinimum(-9999.0)
        self.doubleSpinBox.setMaximum(0.0)
        self.doubleSpinBox.setSingleStep(0.01)
        self.doubleSpinBox.setProperty("value", -0.15)
        self.doubleSpinBox.setObjectName("doubleSpinBox")
        self.horizontalLayout.addWidget(self.doubleSpinBox)
        self.doubleSpinBox_2 = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        self.doubleSpinBox_2.setMinimum(-9999.0)
        self.doubleSpinBox_2.setMaximum(0.0)
        self.doubleSpinBox_2.setSingleStep(0.01)
        self.doubleSpinBox_2.setProperty("value", -0.08)
        self.doubleSpinBox_2.setObjectName("doubleSpinBox_2")
        self.horizontalLayout.addWidget(self.doubleSpinBox_2)
        self.doubleSpinBox_3 = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        self.doubleSpinBox_3.setMaximum(9999.0)
        self.doubleSpinBox_3.setSingleStep(0.01)
        self.doubleSpinBox_3.setProperty("value", 0.15)
        self.doubleSpinBox_3.setObjectName("doubleSpinBox_3")
        self.horizontalLayout.addWidget(self.doubleSpinBox_3)
        self.doubleSpinBox_4 = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        self.doubleSpinBox_4.setSingleStep(0.01)
        self.doubleSpinBox_4.setProperty("value", 0.45)
        self.doubleSpinBox_4.setObjectName("doubleSpinBox_4")
        self.horizontalLayout.addWidget(self.doubleSpinBox_4)
        self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_5.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.checkBox_5.setObjectName("checkBox_5")
        self.horizontalLayout.addWidget(self.checkBox_5)
        self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_4.setObjectName("checkBox_4")
        self.horizontalLayout.addWidget(self.checkBox_4)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_25 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_25.setFont(font)
        self.label_25.setObjectName("label_25")
        self.horizontalLayout_4.addWidget(self.label_25)
        self.comboBox_5 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_5.sizePolicy().hasHeightForWidth())
        self.comboBox_5.setSizePolicy(sizePolicy)
        self.comboBox_5.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_5.setObjectName("comboBox_5")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.horizontalLayout_4.addWidget(self.comboBox_5)
        self.checkBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox.setObjectName("checkBox")
        self.horizontalLayout_4.addWidget(self.checkBox)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_2.setObjectName("checkBox_2")
        self.horizontalLayout_4.addWidget(self.checkBox_2)
        self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_3.setObjectName("checkBox_3")
        self.horizontalLayout_4.addWidget(self.checkBox_3)
        self.checkBox_6 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_6.setObjectName("checkBox_6")
        self.horizontalLayout_4.addWidget(self.checkBox_6)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_24 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_24.setFont(font)
        self.label_24.setObjectName("label_24")
        self.horizontalLayout_6.addWidget(self.label_24)
        self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_3.sizePolicy().hasHeightForWidth())
        self.comboBox_3.setSizePolicy(sizePolicy)
        self.comboBox_3.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_3.setObjectName("comboBox_3")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.horizontalLayout_6.addWidget(self.comboBox_3)
        self.label_40 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_40.setFont(font)
        self.label_40.setObjectName("label_40")
        self.horizontalLayout_6.addWidget(self.label_40)
        self.comboBox_6 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_6.sizePolicy().hasHeightForWidth())
        self.comboBox_6.setSizePolicy(sizePolicy)
        self.comboBox_6.setObjectName("comboBox_6")
        self.horizontalLayout_6.addWidget(self.comboBox_6)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_9 = QtWidgets.QLabel(self.groupBox_2)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_2.addWidget(self.label_9)
        self.doubleSpinBox_6 = QtWidgets.QDoubleSpinBox(self.groupBox_2)
        self.doubleSpinBox_6.setMaximum(1.0)
        self.doubleSpinBox_6.setSingleStep(0.01)
        self.doubleSpinBox_6.setProperty("value", 0.5)
        self.doubleSpinBox_6.setObjectName("doubleSpinBox_6")
        self.horizontalLayout_2.addWidget(self.doubleSpinBox_6)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(HmmCleaner)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox = QtWidgets.QGroupBox(HmmCleaner)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout.addWidget(self.progressBar, 0, 0, 1, 1)
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_9.sizePolicy().hasHeightForWidth())
        self.pushButton_9.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(
            QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon2)
        self.pushButton_9.setObjectName("pushButton_9")
        self.gridLayout.addWidget(self.pushButton_9, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.label_25.setBuddy(self.comboBox_3)
        self.label_24.setBuddy(self.comboBox_3)

        self.retranslateUi(HmmCleaner)
        self.comboBox_6.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(HmmCleaner)
        HmmCleaner.setTabOrder(self.pushButton_3, self.comboBox_3)
        HmmCleaner.setTabOrder(self.comboBox_3, self.comboBox_4)
        HmmCleaner.setTabOrder(self.comboBox_4, self.pushButton)
        HmmCleaner.setTabOrder(self.pushButton, self.pushButton_2)
        HmmCleaner.setTabOrder(self.pushButton_2, self.pushButton_9)

    def retranslateUi(self, HmmCleaner):
        _translate = QtCore.QCoreApplication.translate
        HmmCleaner.setWindowTitle(_translate("HmmCleaner", "HmmCleaner"))
        self.groupBox_4.setTitle(_translate("HmmCleaner", "Input"))
        self.label_4.setText(_translate("HmmCleaner", "Input:"))
        self.label_5.setText(
            _translate(
                "HmmCleaner",
                "<html><head/><body><p>Click <a href=\"https://metacpan.org/pod/release/ARNODF/Bio-MUST-Apps-HmmCleaner-0.180750/bin/HmmCleaner.pl\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about HmmCleaner.</p></body></html>"
            ))
        self.label_3.setText(_translate("HmmCleaner", "Demo:"))
        self.label_7.setToolTip(_translate("HmmCleaner", "Brief example"))
        self.groupBox_2.setTitle(_translate("HmmCleaner", "Parameter"))
        self.label.setToolTip(
            _translate(
                "HmmCleaner",
                "Cost parameters that defines the low similarity segments detected by HmmCleaner"
            ))
        self.label.setText(_translate("HmmCleaner", "costs:"))
        self.checkBox_5.setToolTip(
            _translate(
                "HmmCleaner",
                "Convert X characters to gaps that will not be taken into account by HmmCleaner."
            ))
        self.checkBox_5.setText(_translate("HmmCleaner", "noX"))
        self.checkBox_4.setToolTip(
            _translate("HmmCleaner",
                       "Outputs result file(s) in ali MUST format."))
        self.checkBox_4.setText(_translate("HmmCleaner", "ali"))
        self.label_25.setToolTip(
            _translate("HmmCleaner", "Verbosity level for logging to STDERR "))
        self.label_25.setText(_translate("HmmCleaner", "verbosity"))
        self.comboBox_5.setToolTip(
            _translate("HmmCleaner", "Verbosity level for logging to STDERR "))
        self.comboBox_5.setItemText(0, _translate("HmmCleaner", "0"))
        self.comboBox_5.setItemText(1, _translate("HmmCleaner", "1"))
        self.comboBox_5.setItemText(2, _translate("HmmCleaner", "2"))
        self.comboBox_5.setItemText(3, _translate("HmmCleaner", "3"))
        self.comboBox_5.setItemText(4, _translate("HmmCleaner", "4"))
        self.comboBox_5.setItemText(5, _translate("HmmCleaner", "5"))
        self.checkBox.setToolTip(
            _translate(
                "HmmCleaner",
                "Load predifined cost parameters optimized to give more weigth on specificity. Can be use with --large option. User defined costs will be prioritary if present."
            ))
        self.checkBox.setText(_translate("HmmCleaner", "specificity"))
        self.checkBox_2.setToolTip(
            _translate(
                "HmmCleaner",
                "Load predifined cost parameters optimized for MSA with at least 50 sequences. Can be use with --specificity option. User defined costs will be prioritary if present."
            ))
        self.checkBox_2.setText(_translate("HmmCleaner", "large"))
        self.checkBox_3.setToolTip(
            _translate("HmmCleaner", "Only outputs list of segments removed."))
        self.checkBox_3.setText(_translate("HmmCleaner", "log_only"))
        self.checkBox_6.setToolTip(
            _translate(
                "HmmCleaner",
                "Determine if output will have defline with generic suffix (_hmmcleaned)"
            ))
        self.checkBox_6.setText(_translate("HmmCleaner", "changeID"))
        self.label_24.setToolTip(
            _translate(
                "HmmCleaner",
                "Determine how the profile will be create complete or leave-one-out (default: complete) leave-one-out = without the analyzed sequence (new profile each time) complete = all sequences (same profile for each sequence) First case is more sensitive but need more ressources (hence more time)"
            ))
        self.label_24.setText(_translate("HmmCleaner", "profile:"))
        self.comboBox_3.setToolTip(
            _translate(
                "HmmCleaner",
                "Determine how the profile will be create complete or leave-one-out (default: complete) leave-one-out = without the analyzed sequence (new profile each time) complete = all sequences (same profile for each sequence) First case is more sensitive but need more ressources (hence more time)"
            ))
        self.comboBox_3.setItemText(0, _translate("HmmCleaner", "complete"))
        self.comboBox_3.setItemText(1, _translate("HmmCleaner",
                                                  "leave-one-out"))
        self.label_40.setToolTip(
            _translate("HmmCleaner", "Amino acid score matrix to use"))
        self.label_40.setText(_translate("HmmCleaner", "thread:"))
        self.comboBox_6.setToolTip(
            _translate("HmmCleaner", "Amino acid score matrix to use"))
        self.label_9.setToolTip(
            _translate(
                "HmmCleaner",
                "Handle the symfrac option of hmmbuild modifying the required fraction of sequences to consider a position as a consensus column"
            ))
        self.label_9.setText(_translate("HmmCleaner", "symfrac:"))
        self.doubleSpinBox_6.setToolTip(
            _translate(
                "HmmCleaner",
                "Handle the symfrac option of hmmbuild modifying the required fraction of sequences to consider a position as a consensus column"
            ))
        self.groupBox_3.setTitle(_translate("HmmCleaner", "Run"))
        self.pushButton.setText(_translate("HmmCleaner", "Start"))
        self.pushButton_2.setText(_translate("HmmCleaner", "Stop"))
        self.groupBox.setTitle(_translate("HmmCleaner", "Progress"))
        self.pushButton_9.setText(_translate("HmmCleaner", "Show log"))
Esempio n. 5
0
class Ui_parseANNT(object):
    def setupUi(self, parseANNT):
        parseANNT.setObjectName("parseANNT")
        parseANNT.resize(501, 496)
        self.gridLayout_3 = QtWidgets.QGridLayout(parseANNT)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.groupBox_4 = QtWidgets.QGroupBox(parseANNT)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox_4)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 1, 0, 1, 1)
        self.comboBox_5 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_5.sizePolicy().hasHeightForWidth())
        self.comboBox_5.setSizePolicy(sizePolicy)
        self.comboBox_5.setAcceptDrops(True)
        self.comboBox_5.setEditable(True)
        self.comboBox_5.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_5.setObjectName("comboBox_5")
        self.gridLayout.addWidget(self.comboBox_5, 1, 1, 1, 1)
        self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_4.sizePolicy().hasHeightForWidth())
        self.pushButton_4.setSizePolicy(sizePolicy)
        self.pushButton_4.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_4.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_4.setStyleSheet("")
        self.pushButton_4.setText("")
        self.pushButton_4.setObjectName("pushButton_4")
        self.gridLayout.addWidget(self.pushButton_4, 1, 2, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_14 = QtWidgets.QLabel(self.groupBox_4)
        self.label_14.setOpenExternalLinks(True)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout.addWidget(self.label_14)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.toolButton = QtWidgets.QToolButton(self.groupBox_4)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/cog.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolButton.setIcon(icon)
        self.toolButton.setAutoRaise(True)
        self.toolButton.setObjectName("toolButton")
        self.horizontalLayout.addWidget(self.toolButton)
        self.label_5 = ClickedLableGif(self.groupBox_4)
        self.label_5.setText("")
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3)
        self.gridLayout_3.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(parseANNT)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_22 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_22.setFont(font)
        self.label_22.setObjectName("label_22")
        self.gridLayout_2.addWidget(self.label_22, 0, 0, 1, 1)
        self.comboBox_9 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_9.sizePolicy().hasHeightForWidth())
        self.comboBox_9.setSizePolicy(sizePolicy)
        self.comboBox_9.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_9.setMaximumSize(QtCore.QSize(16777215, 26))
        self.comboBox_9.setStyleSheet("")
        self.comboBox_9.setObjectName("comboBox_9")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_9, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 2, 1, 1)
        self.comboBox = QtWidgets.QComboBox(self.groupBox)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.gridLayout_2.addWidget(self.comboBox, 0, 3, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit.setObjectName("lineEdit")
        self.gridLayout_2.addWidget(self.lineEdit, 1, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 1, 2, 1, 1)
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_2.setText("")
        self.lineEdit_2.setPlaceholderText("")
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.gridLayout_2.addWidget(self.lineEdit_2, 1, 3, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.gridLayout_2.addWidget(self.lineEdit_3, 2, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 2, 2, 1, 1)
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_4.setObjectName("lineEdit_4")
        self.gridLayout_2.addWidget(self.lineEdit_4, 2, 3, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.groupBox)
        self.label_12.setObjectName("label_12")
        self.gridLayout_2.addWidget(self.label_12, 3, 0, 1, 1)
        self.lineEdit_7 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_7.setObjectName("lineEdit_7")
        self.gridLayout_2.addWidget(self.lineEdit_7, 3, 1, 1, 1)
        self.label_13 = QtWidgets.QLabel(self.groupBox)
        self.label_13.setObjectName("label_13")
        self.gridLayout_2.addWidget(self.label_13, 3, 2, 1, 1)
        self.lineEdit_8 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_8.setObjectName("lineEdit_8")
        self.gridLayout_2.addWidget(self.lineEdit_8, 3, 3, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setObjectName("label_11")
        self.gridLayout_2.addWidget(self.label_11, 4, 0, 1, 1)
        self.dateEdit = QtWidgets.QDateEdit(self.groupBox)
        self.dateEdit.setCurrentSection(QtWidgets.QDateTimeEdit.YearSection)
        self.dateEdit.setCalendarPopup(True)
        self.dateEdit.setCurrentSectionIndex(0)
        self.dateEdit.setObjectName("dateEdit")
        self.gridLayout_2.addWidget(self.dateEdit, 4, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_2.addWidget(self.label_9, 4, 2, 1, 1)
        self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_5.setObjectName("lineEdit_5")
        self.gridLayout_2.addWidget(self.lineEdit_5, 4, 3, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.groupBox)
        self.label_10.setObjectName("label_10")
        self.gridLayout_2.addWidget(self.label_10, 5, 0, 1, 1)
        self.lineEdit_6 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_6.setObjectName("lineEdit_6")
        self.gridLayout_2.addWidget(self.lineEdit_6, 5, 1, 1, 3)
        self.gridLayout_2.setColumnStretch(0, 1)
        self.gridLayout_2.setColumnStretch(1, 4)
        self.gridLayout_2.setColumnStretch(2, 1)
        self.gridLayout_2.setColumnStretch(3, 4)
        self.gridLayout_3.addWidget(self.groupBox, 1, 0, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(parseANNT)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.pushButton = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_start_60207.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon1)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_5.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon2)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_5.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_5.setColumnStretch(0, 1)
        self.gridLayout_5.setColumnStretch(1, 1)
        self.gridLayout_3.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(parseANNT)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox_2)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_4.addWidget(self.progressBar, 0, 0, 1, 1)
        self.gridLayout_3.addWidget(self.groupBox_2, 3, 0, 1, 1)
        self.label_22.setBuddy(self.comboBox_9)

        self.retranslateUi(parseANNT)
        QtCore.QMetaObject.connectSlotsByName(parseANNT)

    def retranslateUi(self, parseANNT):
        _translate = QtCore.QCoreApplication.translate
        parseANNT.setWindowTitle(_translate("parseANNT", "Parse Annotation"))
        self.groupBox_4.setTitle(_translate("parseANNT", "Input"))
        self.label_4.setText(_translate("parseANNT", "Annotation File:"))
        self.label_6.setText(_translate("parseANNT", "Template File:"))
        self.label_14.setText(
            _translate(
                "parseANNT",
                "<html><head/><body><p>Click <a href=\"https://submit.ncbi.nlm.nih.gov/genbank/template/submission/\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to make a <span style=\" font-weight:600; color:#ff0000;\">template</span> file</p></body></html>"
            ))
        self.toolButton.setToolTip(
            _translate("parseANNT", "Configure name replacing"))
        self.toolButton.setText(_translate("parseANNT", "..."))
        self.label_5.setToolTip(_translate("parseANNT", "Brief example"))
        self.groupBox.setTitle(_translate("parseANNT", "Parameters"))
        self.label_22.setText(_translate("parseANNT", "Code Table:"))
        self.comboBox_9.setItemText(
            0, _translate("parseANNT", "1 The standard code"))
        self.comboBox_9.setItemText(
            1, _translate("parseANNT", "2  Vertebrate mitochondrial code"))
        self.comboBox_9.setItemText(
            2,
            _translate(
                "parseANNT",
                "4  Mold, Protozoan, and Coelenterate Mitochondrial code and Mycoplasma/Spiroplasma code"
            ))
        self.comboBox_9.setItemText(
            3, _translate("parseANNT", "5  Invertebrate mitochondrial"))
        self.comboBox_9.setItemText(
            4,
            _translate("parseANNT",
                       "9  Echinoderm and Flatworm mitochondrial code"))
        self.comboBox_9.setItemText(
            5, _translate("parseANNT", "13  Ascidian mitochondrial code"))
        self.comboBox_9.setItemText(
            6,
            _translate("parseANNT",
                       "14  Alternative flatworm mitochondrial code"))
        self.label.setText(_translate("parseANNT", "Completeness:"))
        self.comboBox.setItemText(0, _translate("parseANNT", "Complete"))
        self.comboBox.setItemText(1, _translate("parseANNT", "Partial"))
        self.label_2.setText(_translate("parseANNT", "Organism:"))
        self.lineEdit.setPlaceholderText(
            _translate("parseANNT", "H**o sapiens"))
        self.label_3.setText(_translate("parseANNT", "Strain:"))
        self.label_7.setText(_translate("parseANNT", "Isolate:"))
        self.label_8.setText(_translate("parseANNT", "Synonym:"))
        self.label_12.setText(_translate("parseANNT", "Host:"))
        self.label_13.setText(_translate("parseANNT", "Country:"))
        self.label_11.setText(_translate("parseANNT", "Release Date:"))
        self.dateEdit.setDisplayFormat(_translate("parseANNT", "yyyy/M/d"))
        self.label_9.setText(_translate("parseANNT", "Others:"))
        self.label_10.setText(_translate("parseANNT", "Lineage:"))
        self.lineEdit_6.setToolTip(
            _translate("parseANNT",
                       "e.g. Hominoidea; Hominidae; Homininae; H**o"))
        self.lineEdit_6.setPlaceholderText(
            _translate("parseANNT", "Hominoidea; Hominidae; Homininae; H**o"))
        self.groupBox_3.setTitle(_translate("parseANNT", "Run"))
        self.pushButton.setText(_translate("parseANNT", "Start"))
        self.pushButton_2.setText(_translate("parseANNT", "Cancel"))
        self.groupBox_2.setTitle(_translate("parseANNT", "Progress"))
Esempio n. 6
0
class Ui_MACSE(object):
    def setupUi(self, MACSE):
        MACSE.setObjectName("MACSE")
        MACSE.resize(652, 545)
        MACSE.setStyleSheet("")
        MACSE.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(MACSE)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(MACSE)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.groupBox_4)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1)
        self.comboBox_5 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_5.sizePolicy().hasHeightForWidth())
        self.comboBox_5.setSizePolicy(sizePolicy)
        self.comboBox_5.setAcceptDrops(True)
        self.comboBox_5.setEditable(True)
        self.comboBox_5.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_5.setObjectName("comboBox_5")
        self.gridLayout.addWidget(self.comboBox_5, 1, 1, 1, 1)
        self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth())
        self.pushButton_4.setSizePolicy(sizePolicy)
        self.pushButton_4.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_4.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_4.setStyleSheet("")
        self.pushButton_4.setText("")
        self.pushButton_4.setObjectName("pushButton_4")
        self.gridLayout.addWidget(self.pushButton_4, 1, 2, 1, 1)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_4)
        self.checkBox_2.setObjectName("checkBox_2")
        self.gridLayout.addWidget(self.checkBox_2, 2, 0, 1, 1)
        self.comboBox_7 = ListQCombobox(self.groupBox_4)
        self.comboBox_7.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_7.sizePolicy().hasHeightForWidth())
        self.comboBox_7.setSizePolicy(sizePolicy)
        self.comboBox_7.setAcceptDrops(True)
        self.comboBox_7.setEditable(True)
        self.comboBox_7.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_7.setObjectName("comboBox_7")
        self.gridLayout.addWidget(self.comboBox_7, 2, 1, 1, 1)
        self.pushButton_22 = QtWidgets.QPushButton(self.groupBox_4)
        self.pushButton_22.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_22.sizePolicy().hasHeightForWidth())
        self.pushButton_22.setSizePolicy(sizePolicy)
        self.pushButton_22.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_22.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_22.setStyleSheet("")
        self.pushButton_22.setText("")
        self.pushButton_22.setObjectName("pushButton_22")
        self.gridLayout.addWidget(self.pushButton_22, 2, 2, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setOpenExternalLinks(True)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(63, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_7 = ClickedLableGif(self.groupBox_4)
        self.label_7.setText("")
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_3.addWidget(self.label_7)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox_2 = QtWidgets.QGroupBox(MACSE)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setContentsMargins(0, 3, 0, 1)
        self.gridLayout_2.setHorizontalSpacing(0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(self.groupBox_2)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 632, 189))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_22 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_22.setFont(font)
        self.label_22.setObjectName("label_22")
        self.horizontalLayout.addWidget(self.label_22)
        self.comboBox_9 = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_9.sizePolicy().hasHeightForWidth())
        self.comboBox_9.setSizePolicy(sizePolicy)
        self.comboBox_9.setMinimumSize(QtCore.QSize(114, 26))
        self.comboBox_9.setMaximumSize(QtCore.QSize(16777215, 26))
        self.comboBox_9.setStyleSheet("")
        self.comboBox_9.setObjectName("comboBox_9")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.horizontalLayout.addWidget(self.comboBox_9)
        self.gridLayout_3.addLayout(self.horizontalLayout, 0, 0, 1, 5)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_33 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_33.setFont(font)
        self.label_33.setObjectName("label_33")
        self.horizontalLayout_2.addWidget(self.label_33)
        self.comboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.comboBox)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 0, 5, 1, 3)
        self.label_23 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_23.setFont(font)
        self.label_23.setObjectName("label_23")
        self.gridLayout_3.addWidget(self.label_23, 1, 0, 1, 1)
        self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox.setPrefix("")
        self.doubleSpinBox.setDecimals(1)
        self.doubleSpinBox.setMaximum(9999.0)
        self.doubleSpinBox.setProperty("value", 30.0)
        self.doubleSpinBox.setObjectName("doubleSpinBox")
        self.gridLayout_3.addWidget(self.doubleSpinBox, 1, 1, 1, 1)
        self.label_24 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_24.setFont(font)
        self.label_24.setObjectName("label_24")
        self.gridLayout_3.addWidget(self.label_24, 1, 2, 1, 1)
        self.doubleSpinBox_2 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_2.setPrefix("")
        self.doubleSpinBox_2.setDecimals(1)
        self.doubleSpinBox_2.setMaximum(9999.0)
        self.doubleSpinBox_2.setProperty("value", 10.0)
        self.doubleSpinBox_2.setObjectName("doubleSpinBox_2")
        self.gridLayout_3.addWidget(self.doubleSpinBox_2, 1, 3, 1, 1)
        self.label_26 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_26.setFont(font)
        self.label_26.setObjectName("label_26")
        self.gridLayout_3.addWidget(self.label_26, 1, 4, 1, 1)
        self.doubleSpinBox_4 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_4.setPrefix("")
        self.doubleSpinBox_4.setDecimals(1)
        self.doubleSpinBox_4.setMaximum(9999.0)
        self.doubleSpinBox_4.setProperty("value", 10.0)
        self.doubleSpinBox_4.setObjectName("doubleSpinBox_4")
        self.gridLayout_3.addWidget(self.doubleSpinBox_4, 1, 5, 1, 1)
        self.label_25 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_25.setFont(font)
        self.label_25.setObjectName("label_25")
        self.gridLayout_3.addWidget(self.label_25, 1, 6, 1, 1)
        self.doubleSpinBox_3 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_3.setPrefix("")
        self.doubleSpinBox_3.setDecimals(1)
        self.doubleSpinBox_3.setMaximum(9999.0)
        self.doubleSpinBox_3.setProperty("value", 7.0)
        self.doubleSpinBox_3.setObjectName("doubleSpinBox_3")
        self.gridLayout_3.addWidget(self.doubleSpinBox_3, 1, 7, 1, 1)
        self.label_29 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_29.setFont(font)
        self.label_29.setObjectName("label_29")
        self.gridLayout_3.addWidget(self.label_29, 2, 0, 1, 1)
        self.doubleSpinBox_7 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_7.setPrefix("")
        self.doubleSpinBox_7.setDecimals(1)
        self.doubleSpinBox_7.setMaximum(9999.0)
        self.doubleSpinBox_7.setSingleStep(0.1)
        self.doubleSpinBox_7.setProperty("value", 1.0)
        self.doubleSpinBox_7.setObjectName("doubleSpinBox_7")
        self.gridLayout_3.addWidget(self.doubleSpinBox_7, 2, 1, 1, 1)
        self.label_31 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_31.setFont(font)
        self.label_31.setObjectName("label_31")
        self.gridLayout_3.addWidget(self.label_31, 2, 2, 1, 1)
        self.doubleSpinBox_8 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_8.setPrefix("")
        self.doubleSpinBox_8.setDecimals(1)
        self.doubleSpinBox_8.setMaximum(9999.0)
        self.doubleSpinBox_8.setSingleStep(0.1)
        self.doubleSpinBox_8.setProperty("value", 7.0)
        self.doubleSpinBox_8.setObjectName("doubleSpinBox_8")
        self.gridLayout_3.addWidget(self.doubleSpinBox_8, 2, 3, 1, 1)
        self.label_30 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_30.setFont(font)
        self.label_30.setObjectName("label_30")
        self.gridLayout_3.addWidget(self.label_30, 2, 4, 1, 1)
        self.doubleSpinBox_9 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_9.setPrefix("")
        self.doubleSpinBox_9.setDecimals(1)
        self.doubleSpinBox_9.setMaximum(9999.0)
        self.doubleSpinBox_9.setSingleStep(0.1)
        self.doubleSpinBox_9.setProperty("value", 0.9)
        self.doubleSpinBox_9.setObjectName("doubleSpinBox_9")
        self.gridLayout_3.addWidget(self.doubleSpinBox_9, 2, 5, 1, 1)
        self.label_32 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_32.setFont(font)
        self.label_32.setObjectName("label_32")
        self.gridLayout_3.addWidget(self.label_32, 2, 6, 1, 1)
        self.doubleSpinBox_10 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_10.setPrefix("")
        self.doubleSpinBox_10.setDecimals(1)
        self.doubleSpinBox_10.setMaximum(9999.0)
        self.doubleSpinBox_10.setSingleStep(0.1)
        self.doubleSpinBox_10.setProperty("value", 6.3)
        self.doubleSpinBox_10.setObjectName("doubleSpinBox_10")
        self.gridLayout_3.addWidget(self.doubleSpinBox_10, 2, 7, 1, 1)
        self.label_27 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_27.setFont(font)
        self.label_27.setObjectName("label_27")
        self.gridLayout_3.addWidget(self.label_27, 3, 0, 1, 1)
        self.doubleSpinBox_5 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_5.setPrefix("")
        self.doubleSpinBox_5.setDecimals(1)
        self.doubleSpinBox_5.setMaximum(9999.0)
        self.doubleSpinBox_5.setProperty("value", 50.0)
        self.doubleSpinBox_5.setObjectName("doubleSpinBox_5")
        self.gridLayout_3.addWidget(self.doubleSpinBox_5, 3, 1, 1, 1)
        self.label_28 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_28.setFont(font)
        self.label_28.setObjectName("label_28")
        self.gridLayout_3.addWidget(self.label_28, 3, 2, 1, 1)
        self.doubleSpinBox_6 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_6.setPrefix("")
        self.doubleSpinBox_6.setDecimals(1)
        self.doubleSpinBox_6.setMaximum(9999.0)
        self.doubleSpinBox_6.setProperty("value", 17.0)
        self.doubleSpinBox_6.setObjectName("doubleSpinBox_6")
        self.gridLayout_3.addWidget(self.doubleSpinBox_6, 3, 3, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_34 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_34.setFont(font)
        self.label_34.setObjectName("label_34")
        self.horizontalLayout_7.addWidget(self.label_34)
        self.lineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.lineEdit.setObjectName("lineEdit")
        self.horizontalLayout_7.addWidget(self.lineEdit)
        self.checkBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.checkBox.setObjectName("checkBox")
        self.horizontalLayout_7.addWidget(self.checkBox)
        self.gridLayout_3.addLayout(self.horizontalLayout_7, 3, 4, 1, 4)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_35 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_35.setFont(font)
        self.label_35.setObjectName("label_35")
        self.horizontalLayout_6.addWidget(self.label_35)
        self.doubleSpinBox_11 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_11.setPrefix("")
        self.doubleSpinBox_11.setDecimals(1)
        self.doubleSpinBox_11.setMaximum(1.0)
        self.doubleSpinBox_11.setSingleStep(0.1)
        self.doubleSpinBox_11.setProperty("value", 0.5)
        self.doubleSpinBox_11.setObjectName("doubleSpinBox_11")
        self.horizontalLayout_6.addWidget(self.doubleSpinBox_11)
        self.label_36 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_36.setFont(font)
        self.label_36.setObjectName("label_36")
        self.horizontalLayout_6.addWidget(self.label_36)
        self.doubleSpinBox_12 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_12.setPrefix("")
        self.doubleSpinBox_12.setDecimals(1)
        self.doubleSpinBox_12.setMaximum(1.0)
        self.doubleSpinBox_12.setSingleStep(0.1)
        self.doubleSpinBox_12.setProperty("value", 0.5)
        self.doubleSpinBox_12.setObjectName("doubleSpinBox_12")
        self.horizontalLayout_6.addWidget(self.doubleSpinBox_12)
        self.label_37 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_37.setFont(font)
        self.label_37.setObjectName("label_37")
        self.horizontalLayout_6.addWidget(self.label_37)
        self.spinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        self.spinBox.setMinimum(-99999)
        self.spinBox.setMaximum(99999)
        self.spinBox.setProperty("value", -1)
        self.spinBox.setObjectName("spinBox")
        self.horizontalLayout_6.addWidget(self.spinBox)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 4, 0, 1, 8)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_38 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_38.setFont(font)
        self.label_38.setObjectName("label_38")
        self.horizontalLayout_8.addWidget(self.label_38)
        self.comboBox_2 = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth())
        self.comboBox_2.setSizePolicy(sizePolicy)
        self.comboBox_2.setObjectName("comboBox_2")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.horizontalLayout_8.addWidget(self.comboBox_2)
        self.label_39 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_39.setFont(font)
        self.label_39.setObjectName("label_39")
        self.horizontalLayout_8.addWidget(self.label_39)
        self.comboBox_3 = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_3.sizePolicy().hasHeightForWidth())
        self.comboBox_3.setSizePolicy(sizePolicy)
        self.comboBox_3.setObjectName("comboBox_3")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.horizontalLayout_8.addWidget(self.comboBox_3)
        self.label_40 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_40.setFont(font)
        self.label_40.setObjectName("label_40")
        self.horizontalLayout_8.addWidget(self.label_40)
        self.comboBox_6 = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_6.sizePolicy().hasHeightForWidth())
        self.comboBox_6.setSizePolicy(sizePolicy)
        self.comboBox_6.setObjectName("comboBox_6")
        self.horizontalLayout_8.addWidget(self.comboBox_6)
        self.gridLayout_3.addLayout(self.horizontalLayout_8, 5, 0, 1, 8)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_2.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(MACSE)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_4.addWidget(self.pushButton)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout_4.addWidget(self.pushButton_2)
        self.horizontalLayout_4.setStretch(0, 1)
        self.horizontalLayout_4.setStretch(1, 1)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox = QtWidgets.QGroupBox(MACSE)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout_2.addWidget(self.progressBar)
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth())
        self.pushButton_9.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon2)
        self.pushButton_9.setObjectName("pushButton_9")
        self.verticalLayout_2.addWidget(self.pushButton_9)
        self.verticalLayout.addWidget(self.groupBox)

        self.retranslateUi(MACSE)
        self.comboBox.setCurrentIndex(0)
        self.comboBox_2.setCurrentIndex(0)
        self.comboBox_3.setCurrentIndex(0)
        self.comboBox_6.setCurrentIndex(-1)
        self.checkBox_2.toggled['bool'].connect(self.comboBox_7.setEnabled)
        self.checkBox_2.toggled['bool'].connect(self.pushButton_22.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(MACSE)
        MACSE.setTabOrder(self.pushButton_3, self.comboBox_4)
        MACSE.setTabOrder(self.comboBox_4, self.comboBox_9)
        MACSE.setTabOrder(self.comboBox_9, self.pushButton_9)

    def retranslateUi(self, MACSE):
        _translate = QtCore.QCoreApplication.translate
        MACSE.setWindowTitle(_translate("MACSE", "MACSE"))
        self.groupBox_4.setTitle(_translate("MACSE", "Input"))
        self.label_4.setToolTip(_translate("MACSE", "Sequence file (fasta) containing reliable nucleotide sequences"))
        self.label_4.setText(_translate("MACSE", "Seq.:"))
        self.comboBox_4.setToolTip(_translate("MACSE", "Sequence file (fasta) containing reliable nucleotide sequences"))
        self.label_8.setToolTip(_translate("MACSE", "Sequence file (fasta) containing less reliable nucleotide sequences (e.g. pseudogenes). OPTIONAL!"))
        self.label_8.setText(_translate("MACSE", "Seq_lr.:"))
        self.comboBox_5.setToolTip(_translate("MACSE", "Sequence file (fasta) containing less reliable nucleotide sequences (e.g. pseudogenes)"))
        self.checkBox_2.setToolTip(_translate("MACSE", "Improves previously computed alignments via “refineAlignment” subprogram."))
        self.checkBox_2.setText(_translate("MACSE", "Refine:"))
        self.comboBox_7.setToolTip(_translate("MACSE", "Improves previously computed alignments via “refineAlignment” subprogram."))
        self.label_5.setText(_translate("MACSE", "<html><head/><body><p>If you choose &quot;<span style=\" color:#ff0000;\">Refine</span>&quot; (refineAlignment), &quot;<span style=\" color:#ff0000;\">Seq.</span>&quot; is optional. Click <a href=\"https://bioweb.supagro.inra.fr/macse/index.php?menu=intro\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about MACSE.</p></body></html>"))
        self.label_7.setToolTip(_translate("MACSE", "Brief example"))
        self.groupBox_2.setTitle(_translate("MACSE", "Parameter"))
        self.label_22.setText(_translate("MACSE", "Code Table:"))
        self.comboBox_9.setItemText(0, _translate("MACSE", "1 The standard code"))
        self.comboBox_9.setItemText(1, _translate("MACSE", "2 Vertebrate mitochondrial code"))
        self.comboBox_9.setItemText(2, _translate("MACSE", "3 The Yeast Mitochondrial Code"))
        self.comboBox_9.setItemText(3, _translate("MACSE", "4 Mold, Protozoan, and Coelenterate Mitochondrial code and Mycoplasma/Spiroplasma code"))
        self.comboBox_9.setItemText(4, _translate("MACSE", "5 Invertebrate mitochondrial"))
        self.comboBox_9.setItemText(5, _translate("MACSE", "6 The Ciliate, Dasycladacean and Hexamita Nuclear Code"))
        self.comboBox_9.setItemText(6, _translate("MACSE", "9 Echinoderm and Flatworm mitochondrial code"))
        self.comboBox_9.setItemText(7, _translate("MACSE", "10 The Euplotid Nuclear Code"))
        self.comboBox_9.setItemText(8, _translate("MACSE", "11 The Bacterial, Archaeal and Plant Plastid Code"))
        self.comboBox_9.setItemText(9, _translate("MACSE", "12 The Alternative Yeast Nuclear Code"))
        self.comboBox_9.setItemText(10, _translate("MACSE", "13 Ascidian mitochondrial code"))
        self.comboBox_9.setItemText(11, _translate("MACSE", "14 Alternative flatworm mitochondrial code"))
        self.comboBox_9.setItemText(12, _translate("MACSE", "16 Chlorophycean Mitochondrial Code"))
        self.comboBox_9.setItemText(13, _translate("MACSE", "21 Trematode Mitochondrial Code"))
        self.comboBox_9.setItemText(14, _translate("MACSE", "22 Scenedesmus obliquus Mitochondrial Code"))
        self.comboBox_9.setItemText(15, _translate("MACSE", "23 Thraustochytrium Mitochondrial Code"))
        self.comboBox_9.setItemText(16, _translate("MACSE", "24 Pterobranchia Mitochondrial Code"))
        self.comboBox_9.setItemText(17, _translate("MACSE", "25 Candidate Division SR1 and Gracilibacteria Code"))
        self.comboBox_9.setItemText(18, _translate("MACSE", "26 Pachysolen tannophilus Nuclear Code"))
        self.comboBox_9.setItemText(19, _translate("MACSE", "27 Karyorelict Nuclear"))
        self.comboBox_9.setItemText(20, _translate("MACSE", "28 Condylostoma Nuclear"))
        self.comboBox_9.setItemText(21, _translate("MACSE", "29 Mesodinium Nuclear"))
        self.comboBox_9.setItemText(22, _translate("MACSE", "30 Peritrich Nuclear"))
        self.comboBox_9.setItemText(23, _translate("MACSE", "31 Blastocrithidia Nuclear"))
        self.label_33.setToolTip(_translate("MACSE", "Compressed amino acid alphabet used to compute initial pairwise distances or to identify homologous fragments."))
        self.label_33.setText(_translate("MACSE", "Alphabet_AA:"))
        self.comboBox.setToolTip(_translate("MACSE", "Compressed amino acid alphabet used to compute initial pairwise distances or to identify homologous fragments."))
        self.comboBox.setItemText(0, _translate("MACSE", "SE_B_8"))
        self.comboBox.setItemText(1, _translate("MACSE", "Dayhoff_6"))
        self.comboBox.setItemText(2, _translate("MACSE", "Li_A_10"))
        self.comboBox.setItemText(3, _translate("MACSE", "Li_B_10"))
        self.comboBox.setItemText(4, _translate("MACSE", "Murphy_10"))
        self.comboBox.setItemText(5, _translate("MACSE", "SE_B_10"))
        self.comboBox.setItemText(6, _translate("MACSE", "SE_B_14"))
        self.comboBox.setItemText(7, _translate("MACSE", "SE_B_6"))
        self.comboBox.setItemText(8, _translate("MACSE", "SE_V_10"))
        self.comboBox.setItemText(9, _translate("MACSE", "Solis_D_10"))
        self.comboBox.setItemText(10, _translate("MACSE", "Solis_G_10"))
        self.label_23.setToolTip(_translate("MACSE", "Cost of a frameshift in reliable sequences (those of \"seq.\" file)"))
        self.label_23.setText(_translate("MACSE", "fs: "))
        self.doubleSpinBox.setToolTip(_translate("MACSE", "Cost of a frameshift in reliable sequences (those of \"seq.\" file)"))
        self.label_24.setToolTip(_translate("MACSE", "Cost of a frameshift in less reliable sequences (those of \"seq_lr\" file)"))
        self.label_24.setText(_translate("MACSE", "fs_lr: "))
        self.doubleSpinBox_2.setToolTip(_translate("MACSE", "Cost of a frameshift in less reliable sequences (those of \"seq_lr\" file)"))
        self.label_26.setToolTip(_translate("MACSE", "Cost of a terminal frameshift (those in the first and last codon) in a reliable sequences (those of \"seq.\" file)"))
        self.label_26.setText(_translate("MACSE", "fs_term: "))
        self.doubleSpinBox_4.setToolTip(_translate("MACSE", "Cost of a terminal frameshift (those in the first and last codon) in a reliable sequences (those of \"seq.\" file)"))
        self.label_25.setToolTip(_translate("MACSE", "Cost of a terminal frameshift (those in the first and last codon) in a less reliable sequences (those of \"seq_lr\" file)"))
        self.label_25.setText(_translate("MACSE", "fs_lr_term: "))
        self.doubleSpinBox_3.setToolTip(_translate("MACSE", "Cost of a terminal frameshift (those in the first and last codon) in a less reliable sequences (those of \"seq_lr\" file)"))
        self.label_29.setToolTip(_translate("MACSE", "Cost of internal gap extension"))
        self.label_29.setText(_translate("MACSE", "gap_ext:"))
        self.doubleSpinBox_7.setToolTip(_translate("MACSE", "Cost of internal gap extension"))
        self.label_31.setToolTip(_translate("MACSE", "Cost of internal gap opening"))
        self.label_31.setText(_translate("MACSE", "gap_op:"))
        self.doubleSpinBox_8.setToolTip(_translate("MACSE", "Cost of internal gap opening"))
        self.label_30.setToolTip(_translate("MACSE", "Cost of terminal gap extension (e.g. those before the first nucleotide and after the last one)"))
        self.label_30.setText(_translate("MACSE", "gap_ext_term:"))
        self.doubleSpinBox_9.setToolTip(_translate("MACSE", "Cost of terminal gap extension (e.g. those before the first nucleotide and after the last one)"))
        self.label_32.setToolTip(_translate("MACSE", "Cost of terminal gap opening (e.g. those before the first nucleotide and after the last one)"))
        self.label_32.setText(_translate("MACSE", "gap_op_term:"))
        self.doubleSpinBox_10.setToolTip(_translate("MACSE", "Cost of terminal gap opening (e.g. those before the first nucleotide and after the last one)"))
        self.label_27.setToolTip(_translate("MACSE", "Cost of a stop codon in reliable sequences, it should be less than twice the cost of a frameshift in those sequences"))
        self.label_27.setText(_translate("MACSE", "stop:"))
        self.doubleSpinBox_5.setToolTip(_translate("MACSE", "Cost of a stop codon in reliable sequences, it should be less than twice the cost of a frameshift in those sequences"))
        self.label_28.setToolTip(_translate("MACSE", "Cost of a stop codon in less reliable sequences, it should be less than twice the cost of a frameshift in those sequences"))
        self.label_28.setText(_translate("MACSE", "stop_lr:"))
        self.doubleSpinBox_6.setToolTip(_translate("MACSE", "Cost of a stop codon in less reliable sequences, it should be less than twice the cost of a frameshift in those sequences"))
        self.label_34.setToolTip(_translate("MACSE", "Extra nucleotide characters to consider as N"))
        self.label_34.setText(_translate("MACSE", "allow_NT:"))
        self.lineEdit.setToolTip(_translate("MACSE", "Extra nucleotide characters to consider as N"))
        self.lineEdit.setPlaceholderText(_translate("MACSE", "#?"))
        self.checkBox.setToolTip(_translate("MACSE", "Disables ambiguities management (e.g. a \'TCN\' codon will be translated into an unknown amono acid instead of a serine (S))"))
        self.checkBox.setText(_translate("MACSE", "ambi_OFF"))
        self.label_35.setToolTip(_translate("MACSE", "If smaller than 1 each refinement loop will be faster than the previous one by focusing on a smaller interval alignment improvement steps (the lower this value the faster the refinements, possitive values [0-1])"))
        self.label_35.setText(_translate("MACSE", "local_realign_dec:"))
        self.doubleSpinBox_11.setToolTip(_translate("MACSE", "If smaller than 1 each refinement loop will be faster than the previous one by focusing on a smaller interval alignment improvement steps (the lower this value the faster the refinements, possitive values [0-1])"))
        self.label_36.setToolTip(_translate("MACSE", "If smaller than 1 the first refinement loop will consider only local improvement (the lower this value the faster the initial refinement, possible values [0-1])"))
        self.label_36.setText(_translate("MACSE", "local_realign_init:"))
        self.doubleSpinBox_12.setToolTip(_translate("MACSE", "If smaller than 1 the first refinement loop will consider only local improvement (the lower this value the faster the initial refinement, possible values [0-1])"))
        self.label_37.setToolTip(_translate("MACSE", "The max number of refinement iterations when optimizing alignment (-1 = no iteration limit)"))
        self.label_37.setText(_translate("MACSE", "max_refine_iter:"))
        self.spinBox.setToolTip(_translate("MACSE", "The max number of refinement iterations when optimizing alignment (-1 = no iteration limit)"))
        self.label_38.setToolTip(_translate("MACSE", "Optimization parameter (0=none, 1=basic leaf cut, 2=standard branch cut)"))
        self.label_38.setText(_translate("MACSE", "optimization:"))
        self.comboBox_2.setToolTip(_translate("MACSE", "Optimization parameter (0=none, 1=basic leaf cut, 2=standard branch cut)"))
        self.comboBox_2.setItemText(0, _translate("MACSE", "STANDARD"))
        self.comboBox_2.setItemText(1, _translate("MACSE", "NONE"))
        self.comboBox_2.setItemText(2, _translate("MACSE", "BASIC"))
        self.label_39.setToolTip(_translate("MACSE", "Amino acid score matrix to use"))
        self.label_39.setText(_translate("MACSE", "score matrix:"))
        self.comboBox_3.setToolTip(_translate("MACSE", "Amino acid score matrix to use"))
        self.comboBox_3.setItemText(0, _translate("MACSE", "BLOSUM62"))
        self.comboBox_3.setItemText(1, _translate("MACSE", "VTML200_BIS"))
        self.comboBox_3.setItemText(2, _translate("MACSE", "VTML240"))
        self.label_40.setToolTip(_translate("MACSE", "Amino acid score matrix to use"))
        self.label_40.setText(_translate("MACSE", "thread:"))
        self.comboBox_6.setToolTip(_translate("MACSE", "Amino acid score matrix to use"))
        self.groupBox_3.setTitle(_translate("MACSE", "Run"))
        self.pushButton.setText(_translate("MACSE", "Start"))
        self.pushButton_2.setText(_translate("MACSE", "Stop"))
        self.groupBox.setTitle(_translate("MACSE", "Progress"))
        self.pushButton_9.setText(_translate("MACSE", "Show log"))
Esempio n. 7
0
class Ui_mafft(object):
    def setupUi(self, mafft):
        mafft.setObjectName("mafft")
        mafft.resize(622, 492)
        mafft.setStyleSheet("")
        mafft.setSizeGripEnabled(True)
        self.gridLayout_5 = QtWidgets.QGridLayout(mafft)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.groupBox_4 = QtWidgets.QGroupBox(mafft)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout_4.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_4.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_3.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_8 = QtWidgets.QLabel(self.groupBox_4)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_3.addWidget(self.label_8)
        self.label_7 = ClickedLableGif(self.groupBox_4)
        self.label_7.setText("")
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_3.addWidget(self.label_7)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 1, 0, 1, 3)
        self.gridLayout_5.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(mafft)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setHorizontalSpacing(0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.normal_radioButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.normal_radioButton.setEnabled(False)
        self.normal_radioButton.setChecked(False)
        self.normal_radioButton.setObjectName("normal_radioButton")
        self.buttonGroup_2 = QtWidgets.QButtonGroup(mafft)
        self.buttonGroup_2.setObjectName("buttonGroup_2")
        self.buttonGroup_2.addButton(self.normal_radioButton)
        self.horizontalLayout.addWidget(self.normal_radioButton)
        self.codon_radioButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.codon_radioButton.setChecked(True)
        self.codon_radioButton.setObjectName("codon_radioButton")
        self.buttonGroup_2.addButton(self.codon_radioButton)
        self.horizontalLayout.addWidget(self.codon_radioButton)
        self.N2P_radioButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.N2P_radioButton.setObjectName("N2P_radioButton")
        self.buttonGroup_2.addButton(self.N2P_radioButton)
        self.horizontalLayout.addWidget(self.N2P_radioButton)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 2, 1, 1)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_2)
        self.checkBox_2.setChecked(True)
        self.checkBox_2.setObjectName("checkBox_2")
        self.gridLayout_2.addWidget(self.checkBox_2, 1, 0, 1, 2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.AA_radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.AA_radioButton_2.setChecked(False)
        self.AA_radioButton_2.setObjectName("AA_radioButton_2")
        self.buttonGroup = QtWidgets.QButtonGroup(mafft)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.AA_radioButton_2)
        self.horizontalLayout_2.addWidget(self.AA_radioButton_2)
        self.PCG_radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.PCG_radioButton_2.setChecked(True)
        self.PCG_radioButton_2.setObjectName("PCG_radioButton_2")
        self.buttonGroup.addButton(self.PCG_radioButton_2)
        self.horizontalLayout_2.addWidget(self.PCG_radioButton_2)
        self.RNAs_radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.RNAs_radioButton_2.setObjectName("RNAs_radioButton_2")
        self.buttonGroup.addButton(self.RNAs_radioButton_2)
        self.horizontalLayout_2.addWidget(self.RNAs_radioButton_2)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 1, 2, 1, 1)
        self.label_22 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_22.setFont(font)
        self.label_22.setObjectName("label_22")
        self.gridLayout_2.addWidget(self.label_22, 2, 0, 1, 1)
        self.label_24 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_24.setFont(font)
        self.label_24.setObjectName("label_24")
        self.gridLayout_2.addWidget(self.label_24, 3, 0, 1, 1)
        self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_3.sizePolicy().hasHeightForWidth())
        self.comboBox_3.setSizePolicy(sizePolicy)
        self.comboBox_3.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_3.setObjectName("comboBox_3")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.comboBox_3.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_3, 3, 2, 1, 1)
        self.label_23 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_23.setFont(font)
        self.label_23.setObjectName("label_23")
        self.gridLayout_2.addWidget(self.label_23, 4, 0, 1, 1)
        self.comboBox_2 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth())
        self.comboBox_2.setSizePolicy(sizePolicy)
        self.comboBox_2.setMinimumSize(QtCore.QSize(13, 26))
        self.comboBox_2.setObjectName("comboBox_2")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_2, 4, 2, 1, 1)
        self.label_25 = QtWidgets.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_25.setFont(font)
        self.label_25.setObjectName("label_25")
        self.gridLayout_2.addWidget(self.label_25, 5, 0, 1, 1)
        self.pushButton_par = QtWidgets.QPushButton(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_par.sizePolicy().hasHeightForWidth())
        self.pushButton_par.setSizePolicy(sizePolicy)
        self.pushButton_par.setMinimumSize(QtCore.QSize(0, 26))
        self.pushButton_par.setLayoutDirection(QtCore.Qt.LeftToRight)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/keynote.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_par.setIcon(icon)
        self.pushButton_par.setObjectName("pushButton_par")
        self.gridLayout_2.addWidget(self.pushButton_par, 5, 2, 1, 1)
        self.comboBox_9 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_9.sizePolicy().hasHeightForWidth())
        self.comboBox_9.setSizePolicy(sizePolicy)
        self.comboBox_9.setMinimumSize(QtCore.QSize(114, 26))
        self.comboBox_9.setMaximumSize(QtCore.QSize(16777215, 26))
        self.comboBox_9.setStyleSheet("")
        self.comboBox_9.setObjectName("comboBox_9")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_9, 2, 2, 1, 1)
        self.gridLayout_5.addWidget(self.groupBox_2, 1, 0, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(mafft)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon1)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon2)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_5.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(mafft)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.progressBar_2 = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar_2.setProperty("value", 0)
        self.progressBar_2.setObjectName("progressBar_2")
        self.gridLayout.addWidget(self.progressBar_2, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout.addWidget(self.progressBar, 1, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 1)
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth())
        self.pushButton_9.setSizePolicy(sizePolicy)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon3)
        self.pushButton_9.setObjectName("pushButton_9")
        self.gridLayout.addWidget(self.pushButton_9, 2, 1, 1, 1)
        self.gridLayout_5.addWidget(self.groupBox, 3, 0, 1, 1)
        self.label.setBuddy(self.normal_radioButton)
        self.label_24.setBuddy(self.comboBox_3)
        self.label_23.setBuddy(self.comboBox_2)
        self.label_25.setBuddy(self.comboBox_2)

        self.retranslateUi(mafft)
        self.AA_radioButton_2.toggled['bool'].connect(self.normal_radioButton.setEnabled)
        self.RNAs_radioButton_2.toggled['bool'].connect(self.normal_radioButton.setEnabled)
        self.AA_radioButton_2.toggled['bool'].connect(self.codon_radioButton.setDisabled)
        self.AA_radioButton_2.toggled['bool'].connect(self.N2P_radioButton.setDisabled)
        self.RNAs_radioButton_2.toggled['bool'].connect(self.N2P_radioButton.setDisabled)
        self.RNAs_radioButton_2.toggled['bool'].connect(self.codon_radioButton.setDisabled)
        self.PCG_radioButton_2.toggled['bool'].connect(self.normal_radioButton.setDisabled)
        self.PCG_radioButton_2.toggled['bool'].connect(self.codon_radioButton.setEnabled)
        self.PCG_radioButton_2.toggled['bool'].connect(self.N2P_radioButton.setEnabled)
        self.PCG_radioButton_2.toggled['bool'].connect(self.codon_radioButton.toggle)
        self.RNAs_radioButton_2.toggled['bool'].connect(self.normal_radioButton.toggle)
        self.AA_radioButton_2.toggled['bool'].connect(self.normal_radioButton.toggle)
        self.checkBox_2.toggled['bool'].connect(self.AA_radioButton_2.setEnabled)
        self.checkBox_2.toggled['bool'].connect(self.PCG_radioButton_2.setEnabled)
        self.checkBox_2.toggled['bool'].connect(self.RNAs_radioButton_2.setEnabled)
        self.normal_radioButton.toggled['bool'].connect(self.comboBox_9.setDisabled)
        self.N2P_radioButton.toggled['bool'].connect(self.comboBox_9.setDisabled)
        self.codon_radioButton.toggled['bool'].connect(self.comboBox_9.setEnabled)
        self.N2P_radioButton.toggled['bool'].connect(self.comboBox_9.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(mafft)
        mafft.setTabOrder(self.pushButton_3, self.checkBox_2)
        mafft.setTabOrder(self.checkBox_2, self.comboBox_3)
        mafft.setTabOrder(self.comboBox_3, self.comboBox_4)
        mafft.setTabOrder(self.comboBox_4, self.comboBox_2)
        mafft.setTabOrder(self.comboBox_2, self.pushButton_par)
        mafft.setTabOrder(self.pushButton_par, self.comboBox_9)
        mafft.setTabOrder(self.comboBox_9, self.pushButton)
        mafft.setTabOrder(self.pushButton, self.pushButton_2)
        mafft.setTabOrder(self.pushButton_2, self.pushButton_9)
        mafft.setTabOrder(self.pushButton_9, self.normal_radioButton)
        mafft.setTabOrder(self.normal_radioButton, self.codon_radioButton)
        mafft.setTabOrder(self.codon_radioButton, self.N2P_radioButton)
        mafft.setTabOrder(self.N2P_radioButton, self.AA_radioButton_2)
        mafft.setTabOrder(self.AA_radioButton_2, self.PCG_radioButton_2)
        mafft.setTabOrder(self.PCG_radioButton_2, self.RNAs_radioButton_2)

    def retranslateUi(self, mafft):
        _translate = QtCore.QCoreApplication.translate
        mafft.setWindowTitle(_translate("mafft", "MAFFT"))
        self.groupBox_4.setTitle(_translate("mafft", "Input"))
        self.label_4.setText(_translate("mafft", "Input:"))
        self.label_5.setText(_translate("mafft", "<html><head/><body><p>Try to drag your <span style=\" font-weight:600; color:#ff0000;\">fasta</span> file and drop here if you want to use custom files</p></body></html>"))
        self.label_8.setText(_translate("mafft", "Demo:"))
        self.label_7.setToolTip(_translate("mafft", "Brief example"))
        self.groupBox_2.setTitle(_translate("mafft", "Parameter"))
        self.label.setText(_translate("mafft", "Alignment Mode:"))
        self.normal_radioButton.setText(_translate("mafft", "Normal"))
        self.codon_radioButton.setText(_translate("mafft", "Codon"))
        self.N2P_radioButton.setText(_translate("mafft", "N2P"))
        self.checkBox_2.setText(_translate("mafft", "Extract-Seq.:"))
        self.AA_radioButton_2.setToolTip(_translate("mafft", "Amino acid sequences"))
        self.AA_radioButton_2.setText(_translate("mafft", "AA"))
        self.PCG_radioButton_2.setToolTip(_translate("mafft", "Protein-coding genes"))
        self.PCG_radioButton_2.setText(_translate("mafft", "PCGs"))
        self.RNAs_radioButton_2.setToolTip(_translate("mafft", "RNA sequences (rRNA and tRNA)"))
        self.RNAs_radioButton_2.setText(_translate("mafft", "RNAs"))
        self.label_22.setText(_translate("mafft", "Code Table:"))
        self.label_24.setText(_translate("mafft", "Strategy:"))
        self.comboBox_3.setItemText(0, _translate("mafft", "1. --auto"))
        self.comboBox_3.setItemText(1, _translate("mafft", "2. FFT-NS-1 (fast)"))
        self.comboBox_3.setItemText(2, _translate("mafft", "3. FFT-NS-2 (default)"))
        self.comboBox_3.setItemText(3, _translate("mafft", "4. G-INS-i  (accurate)"))
        self.comboBox_3.setItemText(4, _translate("mafft", "5. L-INS-i  (accurate)"))
        self.comboBox_3.setItemText(5, _translate("mafft", "6. E-INS-i  (accurate)"))
        self.label_23.setText(_translate("mafft", "Export Format:"))
        self.comboBox_2.setItemText(0, _translate("mafft", "1. CLUSTAL Format / Sorted"))
        self.comboBox_2.setItemText(1, _translate("mafft", "2. CLUSTAL Format / Input order"))
        self.comboBox_2.setItemText(2, _translate("mafft", "3. FASTA Format   / Sorted"))
        self.comboBox_2.setItemText(3, _translate("mafft", "4. FASTA Format   / Input order"))
        self.comboBox_2.setItemText(4, _translate("mafft", "5. PHYLIP Format  / Sorted"))
        self.comboBox_2.setItemText(5, _translate("mafft", "6. PHYLIP Format  / Input order"))
        self.label_25.setText(_translate("mafft", "Parameters:"))
        self.pushButton_par.setText(_translate("mafft", "Additional Parameters"))
        self.comboBox_9.setItemText(0, _translate("mafft", "1 The standard code"))
        self.comboBox_9.setItemText(1, _translate("mafft", "2 Vertebrate mitochondrial code"))
        self.comboBox_9.setItemText(2, _translate("mafft", "3 The Yeast Mitochondrial Code"))
        self.comboBox_9.setItemText(3, _translate("mafft", "4 Mold, Protozoan, and Coelenterate Mitochondrial code and Mycoplasma/Spiroplasma code"))
        self.comboBox_9.setItemText(4, _translate("mafft", "5 Invertebrate mitochondrial"))
        self.comboBox_9.setItemText(5, _translate("mafft", "6 The Ciliate, Dasycladacean and Hexamita Nuclear Code"))
        self.comboBox_9.setItemText(6, _translate("mafft", "9 Echinoderm and Flatworm mitochondrial code"))
        self.comboBox_9.setItemText(7, _translate("mafft", "10 The Euplotid Nuclear Code"))
        self.comboBox_9.setItemText(8, _translate("mafft", "11 The Bacterial, Archaeal and Plant Plastid Code"))
        self.comboBox_9.setItemText(9, _translate("mafft", "12 The Alternative Yeast Nuclear Code"))
        self.comboBox_9.setItemText(10, _translate("mafft", "13 Ascidian mitochondrial code"))
        self.comboBox_9.setItemText(11, _translate("mafft", "14 Alternative flatworm mitochondrial code"))
        self.comboBox_9.setItemText(12, _translate("mafft", "16 Chlorophycean Mitochondrial Code"))
        self.comboBox_9.setItemText(13, _translate("mafft", "21 Trematode Mitochondrial Code"))
        self.comboBox_9.setItemText(14, _translate("mafft", "22 Scenedesmus obliquus Mitochondrial Code"))
        self.comboBox_9.setItemText(15, _translate("mafft", "23 Thraustochytrium Mitochondrial Code"))
        self.comboBox_9.setItemText(16, _translate("mafft", "24 Pterobranchia Mitochondrial Code"))
        self.comboBox_9.setItemText(17, _translate("mafft", "25 Candidate Division SR1 and Gracilibacteria Code"))
        self.comboBox_9.setItemText(18, _translate("mafft", "26 Pachysolen tannophilus Nuclear Code"))
        self.comboBox_9.setItemText(19, _translate("mafft", "27 Karyorelict Nuclear"))
        self.comboBox_9.setItemText(20, _translate("mafft", "28 Condylostoma Nuclear"))
        self.comboBox_9.setItemText(21, _translate("mafft", "29 Mesodinium Nuclear"))
        self.comboBox_9.setItemText(22, _translate("mafft", "30 Peritrich Nuclear"))
        self.comboBox_9.setItemText(23, _translate("mafft", "31 Blastocrithidia Nuclear"))
        self.groupBox_3.setTitle(_translate("mafft", "Run"))
        self.pushButton.setText(_translate("mafft", "Start"))
        self.pushButton_2.setText(_translate("mafft", "Stop"))
        self.groupBox.setTitle(_translate("mafft", "Progress"))
        self.label_3.setText(_translate("mafft", "file:"))
        self.label_2.setText(_translate("mafft", "Total:"))
        self.label_6.setText(_translate("mafft", "Log:"))
        self.pushButton_9.setText(_translate("mafft", "Show log"))
Esempio n. 8
0
class Ui_Gblocks(object):
    def setupUi(self, Gblocks):
        Gblocks.setObjectName("Gblocks")
        Gblocks.resize(672, 598)
        self.gridLayout_8 = QtWidgets.QGridLayout(Gblocks)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.groupBox_4 = QtWidgets.QGroupBox(Gblocks)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout_4.addWidget(self.comboBox_4, 0, 1, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_4.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.label_7 = ClickedLableGif(self.groupBox_4)
        self.label_7.setText("")
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_2.addWidget(self.label_7)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 1, 0, 1, 3)
        self.gridLayout_8.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Gblocks)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.spinBox_3 = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox_3.setMinimum(2)
        self.spinBox_3.setMaximum(999)
        self.spinBox_3.setProperty("value", 10)
        self.spinBox_3.setObjectName("spinBox_3")
        self.gridLayout.addWidget(self.spinBox_3, 4, 2, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 4, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 2)
        self.spinBox_2 = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox_2.setMaximum(999)
        self.spinBox_2.setProperty("value", 8)
        self.spinBox_2.setObjectName("spinBox_2")
        self.gridLayout.addWidget(self.spinBox_2, 3, 2, 1, 1)
        self.comboBox_2 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_2.sizePolicy().hasHeightForWidth())
        self.comboBox_2.setSizePolicy(sizePolicy)
        self.comboBox_2.setObjectName("comboBox_2")
        self.gridLayout.addWidget(self.comboBox_2, 2, 2, 1, 1)
        self.comboBox_5 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_5.sizePolicy().hasHeightForWidth())
        self.comboBox_5.setSizePolicy(sizePolicy)
        self.comboBox_5.setObjectName("comboBox_5")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.comboBox_5.addItem("")
        self.gridLayout.addWidget(self.comboBox_5, 5, 2, 1, 1)
        self.comboBox_13 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_13.sizePolicy().hasHeightForWidth())
        self.comboBox_13.setSizePolicy(sizePolicy)
        self.comboBox_13.setObjectName("comboBox_13")
        self.comboBox_13.addItem("")
        self.comboBox_13.addItem("")
        self.gridLayout.addWidget(self.comboBox_13, 6, 2, 1, 1)
        self.label_12 = QtWidgets.QLabel(self.groupBox)
        self.label_12.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 5, 0, 1, 2)
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 1, 0, 1, 2)
        self.comboBox_10 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_10.sizePolicy().hasHeightForWidth())
        self.comboBox_10.setSizePolicy(sizePolicy)
        self.comboBox_10.setObjectName("comboBox_10")
        self.gridLayout.addWidget(self.comboBox_10, 1, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        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, 2, 0, 1, 2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_13 = QtWidgets.QLabel(self.groupBox)
        self.label_13.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout.addWidget(self.label_13)
        self.radioButton = QtWidgets.QRadioButton(self.groupBox)
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName("radioButton")
        self.horizontalLayout.addWidget(self.radioButton)
        self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox)
        self.radioButton_2.setObjectName("radioButton_2")
        self.horizontalLayout.addWidget(self.radioButton_2)
        self.radioButton_3 = QtWidgets.QRadioButton(self.groupBox)
        self.radioButton_3.setObjectName("radioButton_3")
        self.horizontalLayout.addWidget(self.radioButton_3)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 3)
        self.label_22 = QtWidgets.QLabel(self.groupBox)
        self.label_22.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_22.setObjectName("label_22")
        self.gridLayout.addWidget(self.label_22, 6, 0, 1, 2)
        self.label_12.raise_()
        self.comboBox_10.raise_()
        self.comboBox_5.raise_()
        self.label_3.raise_()
        self.comboBox_2.raise_()
        self.label_11.raise_()
        self.label_2.raise_()
        self.label_6.raise_()
        self.spinBox_2.raise_()
        self.spinBox_3.raise_()
        self.label_22.raise_()
        self.comboBox_13.raise_()
        self.gridLayout_8.addWidget(self.groupBox, 1, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(Gblocks)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_18 = QtWidgets.QLabel(self.groupBox_2)
        self.label_18.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_18.setObjectName("label_18")
        self.gridLayout_2.addWidget(self.label_18, 0, 0, 1, 1)
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox_2)
        self.lineEdit_3.setReadOnly(True)
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.gridLayout_2.addWidget(self.lineEdit_3, 0, 1, 1, 1)
        self.label_19 = QtWidgets.QLabel(self.groupBox_2)
        self.label_19.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_19.setObjectName("label_19")
        self.gridLayout_2.addWidget(self.label_19, 0, 2, 1, 1)
        self.spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinBox.sizePolicy().hasHeightForWidth())
        self.spinBox.setSizePolicy(sizePolicy)
        self.spinBox.setMinimum(50)
        self.spinBox.setMaximum(500)
        self.spinBox.setProperty("value", 60)
        self.spinBox.setObjectName("spinBox")
        self.gridLayout_2.addWidget(self.spinBox, 0, 3, 1, 1)
        self.label_14 = QtWidgets.QLabel(self.groupBox_2)
        self.label_14.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_14.setObjectName("label_14")
        self.gridLayout_2.addWidget(self.label_14, 1, 0, 1, 1)
        self.comboBox_6 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_6.sizePolicy().hasHeightForWidth())
        self.comboBox_6.setSizePolicy(sizePolicy)
        self.comboBox_6.setObjectName("comboBox_6")
        self.comboBox_6.addItem("")
        self.comboBox_6.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_6, 1, 1, 1, 1)
        self.label_21 = QtWidgets.QLabel(self.groupBox_2)
        self.label_21.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_21.setObjectName("label_21")
        self.gridLayout_2.addWidget(self.label_21, 1, 2, 1, 1)
        self.comboBox_12 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_12.sizePolicy().hasHeightForWidth())
        self.comboBox_12.setSizePolicy(sizePolicy)
        self.comboBox_12.setObjectName("comboBox_12")
        self.comboBox_12.addItem("")
        self.comboBox_12.addItem("")
        self.comboBox_12.addItem("")
        self.comboBox_12.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_12, 1, 3, 1, 1)
        self.label_15 = QtWidgets.QLabel(self.groupBox_2)
        self.label_15.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_15.setObjectName("label_15")
        self.gridLayout_2.addWidget(self.label_15, 2, 0, 1, 1)
        self.comboBox_7 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_7.sizePolicy().hasHeightForWidth())
        self.comboBox_7.setSizePolicy(sizePolicy)
        self.comboBox_7.setObjectName("comboBox_7")
        self.comboBox_7.addItem("")
        self.comboBox_7.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_7, 2, 1, 1, 1)
        self.label_17 = QtWidgets.QLabel(self.groupBox_2)
        self.label_17.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_17.setObjectName("label_17")
        self.gridLayout_2.addWidget(self.label_17, 2, 2, 1, 1)
        self.comboBox_11 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_11.sizePolicy().hasHeightForWidth())
        self.comboBox_11.setSizePolicy(sizePolicy)
        self.comboBox_11.setObjectName("comboBox_11")
        self.comboBox_11.addItem("")
        self.comboBox_11.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_11, 2, 3, 1, 1)
        self.label_16 = QtWidgets.QLabel(self.groupBox_2)
        self.label_16.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_16.setObjectName("label_16")
        self.gridLayout_2.addWidget(self.label_16, 3, 0, 1, 1)
        self.comboBox_8 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_8.sizePolicy().hasHeightForWidth())
        self.comboBox_8.setSizePolicy(sizePolicy)
        self.comboBox_8.setObjectName("comboBox_8")
        self.comboBox_8.addItem("")
        self.comboBox_8.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_8, 3, 1, 1, 1)
        self.label_20 = QtWidgets.QLabel(self.groupBox_2)
        self.label_20.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.label_20.setObjectName("label_20")
        self.gridLayout_2.addWidget(self.label_20, 3, 2, 1, 1)
        self.comboBox_9 = QtWidgets.QComboBox(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.comboBox_9.sizePolicy().hasHeightForWidth())
        self.comboBox_9.setSizePolicy(sizePolicy)
        self.comboBox_9.setObjectName("comboBox_9")
        self.comboBox_9.addItem("")
        self.comboBox_9.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_9, 3, 3, 1, 1)
        self.gridLayout_8.addWidget(self.groupBox_2, 2, 0, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(Gblocks)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_8.addWidget(self.groupBox_3, 3, 0, 1, 1)
        self.groupBox_6 = QtWidgets.QGroupBox(Gblocks)
        self.groupBox_6.setObjectName("groupBox_6")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_6)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox_6)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_7.addWidget(self.progressBar, 0, 0, 1, 1)
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(
            QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon2)
        self.pushButton_9.setObjectName("pushButton_9")
        self.gridLayout_7.addWidget(self.pushButton_9, 1, 0, 1, 1)
        self.gridLayout_8.addWidget(self.groupBox_6, 4, 0, 1, 1)

        self.retranslateUi(Gblocks)
        self.radioButton_2.toggled['bool'].connect(self.comboBox_13.setEnabled)
        self.radioButton_3.toggled['bool'].connect(
            self.comboBox_13.setDisabled)
        self.radioButton.toggled['bool'].connect(self.comboBox_13.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(Gblocks)
        Gblocks.setTabOrder(self.radioButton, self.pushButton_3)
        Gblocks.setTabOrder(self.pushButton_3, self.spinBox_3)
        Gblocks.setTabOrder(self.spinBox_3, self.comboBox_4)
        Gblocks.setTabOrder(self.comboBox_4, self.comboBox_2)
        Gblocks.setTabOrder(self.comboBox_2, self.comboBox_5)
        Gblocks.setTabOrder(self.comboBox_5, self.comboBox_13)
        Gblocks.setTabOrder(self.comboBox_13, self.comboBox_10)
        Gblocks.setTabOrder(self.comboBox_10, self.pushButton)
        Gblocks.setTabOrder(self.pushButton, self.pushButton_2)
        Gblocks.setTabOrder(self.pushButton_2, self.pushButton_9)
        Gblocks.setTabOrder(self.pushButton_9, self.spinBox_2)
        Gblocks.setTabOrder(self.spinBox_2, self.radioButton_2)
        Gblocks.setTabOrder(self.radioButton_2, self.radioButton_3)
        Gblocks.setTabOrder(self.radioButton_3, self.lineEdit_3)
        Gblocks.setTabOrder(self.lineEdit_3, self.comboBox_6)
        Gblocks.setTabOrder(self.comboBox_6, self.comboBox_7)
        Gblocks.setTabOrder(self.comboBox_7, self.comboBox_8)
        Gblocks.setTabOrder(self.comboBox_8, self.comboBox_11)
        Gblocks.setTabOrder(self.comboBox_11, self.spinBox)
        Gblocks.setTabOrder(self.spinBox, self.comboBox_12)
        Gblocks.setTabOrder(self.comboBox_12, self.comboBox_9)

    def retranslateUi(self, Gblocks):
        _translate = QtCore.QCoreApplication.translate
        Gblocks.setWindowTitle(_translate("Gblocks", "Gblocks"))
        self.groupBox_4.setTitle(_translate("Gblocks", "Input"))
        self.label_4.setText(_translate("Gblocks", "Input:"))
        self.label_5.setText(
            _translate(
                "Gblocks",
                "<html><head/><body><p>Try to drag your <span style=\" font-weight:600; color:#ff0000;\">FASTA</span> or <span style=\" font-weight:600; color:#ff0000;\">NBRF/PIR</span> file and drop here if you want to use custom files</p></body></html>"
            ))
        self.label_7.setToolTip(_translate("Gblocks", "Brief example"))
        self.groupBox.setTitle(_translate("Gblocks", "Parameters"))
        self.label_6.setText(
            _translate("Gblocks", "Minimum Length Of A Block:"))
        self.label_3.setText(
            _translate("Gblocks",
                       "Maximum Number Of Contiguous Nonconserved Positions:"))
        self.comboBox_5.setItemText(0, _translate("Gblocks", "With Half"))
        self.comboBox_5.setItemText(1, _translate("Gblocks", "All"))
        self.comboBox_5.setItemText(2, _translate("Gblocks", "None"))
        self.comboBox_13.setItemText(0, _translate("Gblocks", "Yes"))
        self.comboBox_13.setItemText(1, _translate("Gblocks", "No"))
        self.label_12.setText(_translate("Gblocks", "Allowed Gap Positions:"))
        self.label_11.setText(
            _translate(
                "Gblocks",
                "Minimum Number Of Sequences For A Conserved Position:"))
        self.label_2.setText(
            _translate("Gblocks",
                       "Minimum Number Of Sequences For A Flank Position:"))
        self.label_13.setText(_translate("Gblocks", "Data Type:"))
        self.radioButton.setText(_translate("Gblocks", "Nucleotide"))
        self.radioButton_2.setText(_translate("Gblocks", "Protein"))
        self.radioButton_3.setText(_translate("Gblocks", "Codons"))
        self.label_22.setText(_translate("Gblocks",
                                         "Use Similarity Matrices:"))
        self.groupBox_2.setTitle(_translate("Gblocks", "Save Options"))
        self.label_18.setText(_translate("Gblocks", "Generic File Extension:"))
        self.lineEdit_3.setText(_translate("Gblocks", "-gb"))
        self.label_19.setText(
            _translate("Gblocks",
                       "Characters Per Line In Results And Parameters File:"))
        self.label_14.setText(_translate("Gblocks", "Selected Blocks:"))
        self.comboBox_6.setItemText(0, _translate("Gblocks", "Save"))
        self.comboBox_6.setItemText(1, _translate("Gblocks", "Don\'t Save"))
        self.label_21.setText(
            _translate("Gblocks", "Results And Parameters File:"))
        self.comboBox_12.setItemText(0, _translate("Gblocks", "Save"))
        self.comboBox_12.setItemText(1, _translate("Gblocks", "Save Text"))
        self.comboBox_12.setItemText(2, _translate("Gblocks", "Save Short"))
        self.comboBox_12.setItemText(3, _translate("Gblocks", "Don\'t Save"))
        self.label_15.setText(_translate("Gblocks", "Nonconserved Blocks:"))
        self.comboBox_7.setItemText(0, _translate("Gblocks", "Don\'t Save"))
        self.comboBox_7.setItemText(1, _translate("Gblocks", "Save"))
        self.label_17.setText(
            _translate("Gblocks", "Mask File With The Selected Blocks:"))
        self.comboBox_11.setItemText(0, _translate("Gblocks", "Don\'t Save"))
        self.comboBox_11.setItemText(1, _translate("Gblocks", "Save"))
        self.label_16.setText(_translate("Gblocks", "Ungapped Alignment:"))
        self.comboBox_8.setItemText(0, _translate("Gblocks", "Don\'t Save"))
        self.comboBox_8.setItemText(1, _translate("Gblocks", "Save"))
        self.label_20.setText(
            _translate("Gblocks", "Postscript File With The Selected Blocks:"))
        self.comboBox_9.setItemText(0, _translate("Gblocks", "Don\'t Save"))
        self.comboBox_9.setItemText(1, _translate("Gblocks", "Save"))
        self.groupBox_3.setTitle(_translate("Gblocks", "Run"))
        self.pushButton.setText(_translate("Gblocks", "Start"))
        self.pushButton_2.setText(_translate("Gblocks", "Stop"))
        self.groupBox_6.setTitle(_translate("Gblocks", "Progress"))
        self.pushButton_9.setText(_translate("Gblocks", "Show log"))
Esempio n. 9
0
class Ui_trimAl(object):
    def setupUi(self, trimAl):
        trimAl.setObjectName("trimAl")
        trimAl.resize(887, 570)
        trimAl.setStyleSheet("")
        trimAl.setSizeGripEnabled(True)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(trimAl)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox_4 = QtWidgets.QGroupBox(trimAl)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.comboBox_4 = ListQCombobox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_4.sizePolicy().hasHeightForWidth())
        self.comboBox_4.setSizePolicy(sizePolicy)
        self.comboBox_4.setAcceptDrops(True)
        self.comboBox_4.setEditable(True)
        self.comboBox_4.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox_4.setObjectName("comboBox_4")
        self.gridLayout_5.addWidget(self.comboBox_4, 0, 1, 1, 2)
        self.lineEdit_3 = InputQLineEdit(self.groupBox_4)
        self.lineEdit_3.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.lineEdit_3.setReadOnly(True)
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.gridLayout_5.addWidget(self.lineEdit_3, 2, 1, 1, 2)
        self.radioButton = QtWidgets.QRadioButton(self.groupBox_4)
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName("radioButton")
        self.gridLayout_5.addWidget(self.radioButton, 0, 0, 1, 1)
        self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox_4)
        self.radioButton_2.setObjectName("radioButton_2")
        self.gridLayout_5.addWidget(self.radioButton_2, 1, 0, 1, 1)
        self.label_18 = QtWidgets.QLabel(self.groupBox_4)
        self.label_18.setObjectName("label_18")
        self.gridLayout_5.addWidget(self.label_18, 2, 0, 1, 1)
        self.pushButton_22 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_22.sizePolicy().hasHeightForWidth())
        self.pushButton_22.setSizePolicy(sizePolicy)
        self.pushButton_22.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_22.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_22.setStyleSheet("")
        self.pushButton_22.setText("")
        self.pushButton_22.setObjectName("pushButton_22")
        self.gridLayout_5.addWidget(self.pushButton_22, 2, 3, 1, 1)
        self.label_40 = QtWidgets.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_40.setFont(font)
        self.label_40.setObjectName("label_40")
        self.gridLayout_5.addWidget(self.label_40, 3, 0, 1, 1)
        self.comboBox_6 = QtWidgets.QComboBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_6.sizePolicy().hasHeightForWidth())
        self.comboBox_6.setSizePolicy(sizePolicy)
        self.comboBox_6.setObjectName("comboBox_6")
        self.gridLayout_5.addWidget(self.comboBox_6, 3, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setOpenExternalLinks(True)
        self.label_5.setObjectName("label_5")
        self.gridLayout_5.addWidget(self.label_5, 3, 2, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setMaximumSize(QtCore.QSize(30, 30))
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setText("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_5.addWidget(self.pushButton_3, 0, 3, 1, 1)
        self.label_7 = ClickedLableGif(self.groupBox_4)
        self.label_7.setText("")
        self.label_7.setObjectName("label_7")
        self.gridLayout_5.addWidget(self.label_7, 3, 3, 1, 1)
        self.lineEdit_2 = InputQLineEdit(self.groupBox_4)
        self.lineEdit_2.setEnabled(False)
        self.lineEdit_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.lineEdit_2.setReadOnly(True)
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.gridLayout_5.addWidget(self.lineEdit_2, 1, 1, 1, 2)
        self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth())
        self.pushButton_4.setSizePolicy(sizePolicy)
        self.pushButton_4.setMinimumSize(QtCore.QSize(30, 26))
        self.pushButton_4.setMaximumSize(QtCore.QSize(30, 26))
        self.pushButton_4.setStyleSheet("")
        self.pushButton_4.setText("")
        self.pushButton_4.setObjectName("pushButton_4")
        self.gridLayout_5.addWidget(self.pushButton_4, 1, 3, 1, 1)
        self.verticalLayout_4.addWidget(self.groupBox_4)
        self.groupBox_2 = QtWidgets.QGroupBox(trimAl)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_7.setContentsMargins(3, 6, 3, 3)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.tabWidget = QtWidgets.QTabWidget(self.groupBox_2)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.tab)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_8 = QtWidgets.QGridLayout()
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.radioButton_11 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_11.setObjectName("radioButton_11")
        self.gridLayout_8.addWidget(self.radioButton_11, 0, 1, 1, 1)
        self.radioButton_10 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_10.setChecked(True)
        self.radioButton_10.setObjectName("radioButton_10")
        self.gridLayout_8.addWidget(self.radioButton_10, 0, 0, 1, 1)
        self.radioButton_12 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_12.setObjectName("radioButton_12")
        self.gridLayout_8.addWidget(self.radioButton_12, 0, 2, 1, 1)
        self.radioButton_14 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_14.setObjectName("radioButton_14")
        self.gridLayout_8.addWidget(self.radioButton_14, 1, 1, 1, 1)
        self.radioButton_13 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_13.setObjectName("radioButton_13")
        self.gridLayout_8.addWidget(self.radioButton_13, 1, 0, 1, 1)
        self.radioButton_15 = QtWidgets.QRadioButton(self.tab)
        self.radioButton_15.setObjectName("radioButton_15")
        self.gridLayout_8.addWidget(self.radioButton_15, 1, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_8)
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.verticalLayout.addWidget(self.label_3)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_2)
        self.verticalLayout_3.setContentsMargins(2, 2, 2, 2)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.scrollArea = QtWidgets.QScrollArea(self.tab_2)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -52, 834, 160))
        self.scrollAreaWidgetContents.setStyleSheet("QWidget#scrollAreaWidgetContents {border: none; background-color: white}\n"
"")
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label.setObjectName("label")
        self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
        self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox.setSizePolicy(sizePolicy)
        self.doubleSpinBox.setDecimals(1)
        self.doubleSpinBox.setProperty("value", 10.0)
        self.doubleSpinBox.setObjectName("doubleSpinBox")
        self.gridLayout_4.addWidget(self.doubleSpinBox, 0, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_8.setObjectName("label_8")
        self.gridLayout_4.addWidget(self.label_8, 1, 0, 1, 1)
        self.doubleSpinBox_2 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_2.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_2.setSizePolicy(sizePolicy)
        self.doubleSpinBox_2.setDecimals(1)
        self.doubleSpinBox_2.setMaximum(1.0)
        self.doubleSpinBox_2.setSingleStep(0.1)
        self.doubleSpinBox_2.setProperty("value", 0.9)
        self.doubleSpinBox_2.setObjectName("doubleSpinBox_2")
        self.gridLayout_4.addWidget(self.doubleSpinBox_2, 1, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_9.setMinimumSize(QtCore.QSize(480, 0))
        self.label_9.setObjectName("label_9")
        self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
        self.doubleSpinBox_3 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_3.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_3.setSizePolicy(sizePolicy)
        self.doubleSpinBox_3.setDecimals(1)
        self.doubleSpinBox_3.setMaximum(1.0)
        self.doubleSpinBox_3.setSingleStep(0.1)
        self.doubleSpinBox_3.setProperty("value", 0.0)
        self.doubleSpinBox_3.setObjectName("doubleSpinBox_3")
        self.gridLayout_4.addWidget(self.doubleSpinBox_3, 2, 1, 1, 1)
        self.checkBox_9 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.checkBox_9.setObjectName("checkBox_9")
        self.gridLayout_4.addWidget(self.checkBox_9, 3, 0, 1, 1)
        self.doubleSpinBox_4 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        self.doubleSpinBox_4.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_4.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_4.setSizePolicy(sizePolicy)
        self.doubleSpinBox_4.setDecimals(1)
        self.doubleSpinBox_4.setMaximum(1.0)
        self.doubleSpinBox_4.setSingleStep(0.1)
        self.doubleSpinBox_4.setProperty("value", 0.0)
        self.doubleSpinBox_4.setObjectName("doubleSpinBox_4")
        self.gridLayout_4.addWidget(self.doubleSpinBox_4, 3, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_4)
        self.gridLayout_6 = QtWidgets.QGridLayout()
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.checkBox_3 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_3.sizePolicy().hasHeightForWidth())
        self.checkBox_3.setSizePolicy(sizePolicy)
        self.checkBox_3.setMinimumSize(QtCore.QSize(283, 0))
        self.checkBox_3.setChecked(True)
        self.checkBox_3.setObjectName("checkBox_3")
        self.gridLayout_6.addWidget(self.checkBox_3, 0, 0, 1, 1)
        self.doubleSpinBox_7 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_7.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_7.setSizePolicy(sizePolicy)
        self.doubleSpinBox_7.setMaximumSize(QtCore.QSize(55, 16777215))
        self.doubleSpinBox_7.setDecimals(1)
        self.doubleSpinBox_7.setMaximum(1e+21)
        self.doubleSpinBox_7.setSingleStep(0.1)
        self.doubleSpinBox_7.setProperty("value", 1.0)
        self.doubleSpinBox_7.setObjectName("doubleSpinBox_7")
        self.gridLayout_6.addWidget(self.doubleSpinBox_7, 0, 1, 1, 1)
        self.checkBox_6 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_6.sizePolicy().hasHeightForWidth())
        self.checkBox_6.setSizePolicy(sizePolicy)
        self.checkBox_6.setObjectName("checkBox_6")
        self.gridLayout_6.addWidget(self.checkBox_6, 0, 2, 1, 1)
        self.doubleSpinBox_6 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_6.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_6.setSizePolicy(sizePolicy)
        self.doubleSpinBox_6.setMaximumSize(QtCore.QSize(55, 16777215))
        self.doubleSpinBox_6.setDecimals(1)
        self.doubleSpinBox_6.setMaximum(1e+21)
        self.doubleSpinBox_6.setSingleStep(0.1)
        self.doubleSpinBox_6.setProperty("value", 1.0)
        self.doubleSpinBox_6.setObjectName("doubleSpinBox_6")
        self.gridLayout_6.addWidget(self.doubleSpinBox_6, 0, 3, 1, 1)
        self.checkBox_7 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_7.sizePolicy().hasHeightForWidth())
        self.checkBox_7.setSizePolicy(sizePolicy)
        self.checkBox_7.setObjectName("checkBox_7")
        self.gridLayout_6.addWidget(self.checkBox_7, 1, 0, 1, 1)
        self.doubleSpinBox_5 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_5.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_5.setSizePolicy(sizePolicy)
        self.doubleSpinBox_5.setMaximumSize(QtCore.QSize(55, 16777215))
        self.doubleSpinBox_5.setDecimals(1)
        self.doubleSpinBox_5.setMaximum(1e+21)
        self.doubleSpinBox_5.setSingleStep(0.1)
        self.doubleSpinBox_5.setProperty("value", 1.0)
        self.doubleSpinBox_5.setObjectName("doubleSpinBox_5")
        self.gridLayout_6.addWidget(self.doubleSpinBox_5, 1, 1, 1, 1)
        self.checkBox_8 = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_8.sizePolicy().hasHeightForWidth())
        self.checkBox_8.setSizePolicy(sizePolicy)
        self.checkBox_8.setMinimumSize(QtCore.QSize(240, 0))
        self.checkBox_8.setObjectName("checkBox_8")
        self.gridLayout_6.addWidget(self.checkBox_8, 1, 2, 1, 1)
        self.doubleSpinBox_8 = QtWidgets.QDoubleSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBox_8.sizePolicy().hasHeightForWidth())
        self.doubleSpinBox_8.setSizePolicy(sizePolicy)
        self.doubleSpinBox_8.setMaximumSize(QtCore.QSize(55, 16777215))
        self.doubleSpinBox_8.setDecimals(1)
        self.doubleSpinBox_8.setMaximum(1e+21)
        self.doubleSpinBox_8.setSingleStep(0.1)
        self.doubleSpinBox_8.setProperty("value", 1.0)
        self.doubleSpinBox_8.setObjectName("doubleSpinBox_8")
        self.gridLayout_6.addWidget(self.doubleSpinBox_8, 1, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_6)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_3.addWidget(self.scrollArea)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout_7.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.groupBox_7 = QtWidgets.QGroupBox(trimAl)
        self.groupBox_7.setObjectName("groupBox_7")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_7)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_15 = QtWidgets.QLabel(self.groupBox_7)
        self.label_15.setObjectName("label_15")
        self.gridLayout_2.addWidget(self.label_15, 0, 0, 1, 1)
        self.comboBox = QtWidgets.QComboBox(self.groupBox_7)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.gridLayout_2.addWidget(self.comboBox, 0, 1, 1, 1)
        self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox_7)
        self.checkBox_4.setChecked(True)
        self.checkBox_4.setObjectName("checkBox_4")
        self.gridLayout_2.addWidget(self.checkBox_4, 0, 2, 1, 1)
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_7)
        self.lineEdit_4.setObjectName("lineEdit_4")
        self.gridLayout_2.addWidget(self.lineEdit_4, 0, 3, 1, 1)
        self.checkBox = QtWidgets.QCheckBox(self.groupBox_7)
        self.checkBox.setObjectName("checkBox")
        self.gridLayout_2.addWidget(self.checkBox, 0, 4, 1, 1)
        self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox_7)
        self.checkBox_5.setChecked(False)
        self.checkBox_5.setObjectName("checkBox_5")
        self.gridLayout_2.addWidget(self.checkBox_5, 1, 0, 1, 1)
        self.comboBox_2 = QtWidgets.QComboBox(self.groupBox_7)
        self.comboBox_2.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth())
        self.comboBox_2.setSizePolicy(sizePolicy)
        self.comboBox_2.setObjectName("comboBox_2")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.gridLayout_2.addWidget(self.comboBox_2, 1, 1, 1, 3)
        self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_7)
        self.checkBox_2.setObjectName("checkBox_2")
        self.gridLayout_2.addWidget(self.checkBox_2, 1, 4, 1, 1)
        self.verticalLayout_4.addWidget(self.groupBox_7)
        self.groupBox_3 = QtWidgets.QGroupBox(trimAl)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_2.setIcon(icon)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_3.addWidget(self.pushButton_2, 0, 1, 1, 1)
        self.pushButton = ArrowPushButton(self.groupBox_3)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon1)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1)
        self.gridLayout_3.setColumnStretch(0, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.verticalLayout_4.addWidget(self.groupBox_3)
        self.groupBox = QtWidgets.QGroupBox(trimAl)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout.addWidget(self.progressBar, 0, 0, 1, 1)
        self.pushButton_9 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth())
        self.pushButton_9.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_9.setIcon(icon2)
        self.pushButton_9.setObjectName("pushButton_9")
        self.gridLayout.addWidget(self.pushButton_9, 1, 0, 1, 1)
        self.verticalLayout_4.addWidget(self.groupBox)

        self.retranslateUi(trimAl)
        self.comboBox_6.setCurrentIndex(-1)
        self.tabWidget.setCurrentIndex(1)
        self.checkBox_4.toggled['bool'].connect(self.lineEdit_4.setEnabled)
        self.checkBox_5.toggled['bool'].connect(self.comboBox_2.setEnabled)
        self.radioButton.toggled['bool'].connect(self.comboBox_4.setEnabled)
        self.radioButton_2.toggled['bool'].connect(self.lineEdit_2.setEnabled)
        self.checkBox_9.toggled['bool'].connect(self.doubleSpinBox_4.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(trimAl)
        trimAl.setTabOrder(self.pushButton_3, self.comboBox_4)
        trimAl.setTabOrder(self.comboBox_4, self.pushButton)
        trimAl.setTabOrder(self.pushButton, self.pushButton_2)
        trimAl.setTabOrder(self.pushButton_2, self.pushButton_9)

    def retranslateUi(self, trimAl):
        _translate = QtCore.QCoreApplication.translate
        trimAl.setWindowTitle(_translate("trimAl", "trimAl"))
        self.groupBox_4.setTitle(_translate("trimAl", "Input"))
        self.lineEdit_3.setPlaceholderText(_translate("trimAl", "(Optional!) User-defined similarity matrix (default is Blosum62)"))
        self.radioButton.setText(_translate("trimAl", "Input:"))
        self.radioButton_2.setText(_translate("trimAl", "Compare set:"))
        self.label_18.setText(_translate("trimAl", "Matrix:"))
        self.label_40.setToolTip(_translate("trimAl", "Amino acid score matrix to use"))
        self.label_40.setText(_translate("trimAl", "Thread:"))
        self.comboBox_6.setToolTip(_translate("trimAl", "Amino acid score matrix to use"))
        self.label_5.setText(_translate("trimAl", "<html><head/><body><p>Click <a href=\"http://trimal.cgenomics.org/trimal\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about trimAl.</p></body></html>"))
        self.label_7.setToolTip(_translate("trimAl", "Brief example"))
        self.lineEdit_2.setPlaceholderText(_translate("trimAl", "Files containing the alignments to compare"))
        self.groupBox_2.setTitle(_translate("trimAl", "Parameter"))
        self.radioButton_11.setToolTip(_translate("trimAl", "Remove all positions with gaps in the alignment."))
        self.radioButton_11.setText(_translate("trimAl", "nogaps"))
        self.radioButton_10.setToolTip(_translate("trimAl", "Use a heuristic selection of the automatic method based on similarity statistics."))
        self.radioButton_10.setText(_translate("trimAl", "automated1"))
        self.radioButton_12.setToolTip(_translate("trimAl", "Remove columns composed only by gaps."))
        self.radioButton_12.setText(_translate("trimAl", "noallgaps"))
        self.radioButton_14.setToolTip(_translate("trimAl", "Use automatic selection on \"strict\" mode."))
        self.radioButton_14.setText(_translate("trimAl", "strict"))
        self.radioButton_13.setToolTip(_translate("trimAl", "Use automatic selection on \"gappyout\" mode. This method only uses information based on"))
        self.radioButton_13.setText(_translate("trimAl", "gappyout"))
        self.radioButton_15.setToolTip(_translate("trimAl", "Use automatic selection on \"strictplus\" mode."))
        self.radioButton_15.setText(_translate("trimAl", "strictplus"))
        self.label_3.setText(_translate("trimAl", "Tips: Hover mouse over each checkbox to see the explanation"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("trimAl", "Automated Trimming"))
        self.label.setToolTip(_translate("trimAl", "Minimum percentage of positions to conserve [0-100]"))
        self.label.setText(_translate("trimAl", "Minimum percentage of positions to conserve [0-100]:"))
        self.label_8.setToolTip(_translate("trimAl", "Gap threshold, fraction of positions without gaps in a column [0-1]"))
        self.label_8.setText(_translate("trimAl", "Gap threshold, fraction of positions without gaps in a column [0-1]:"))
        self.label_9.setToolTip(_translate("trimAl", "Similarity threshold, minimum level of residue similarity within a column [0-1]"))
        self.label_9.setText(_translate("trimAl", "Similarity threshold, minimum level of residue similarity within a column [0-1]:"))
        self.checkBox_9.setToolTip(_translate("trimAl", "consistency threshold, minimum consistency value required [0-1]"))
        self.checkBox_9.setText(_translate("trimAl", "consistency threshold, minimum consistency value required [0-1]:"))
        self.checkBox_3.setToolTip(_translate("trimAl", "General window size, applied to all stats"))
        self.checkBox_3.setText(_translate("trimAl", "General window size, applied to all stats:"))
        self.checkBox_6.setToolTip(_translate("trimAl", "Window size applied to Gaps"))
        self.checkBox_6.setText(_translate("trimAl", "Window size applied to Gaps:"))
        self.checkBox_7.setToolTip(_translate("trimAl", "Window size applied to Similarity"))
        self.checkBox_7.setText(_translate("trimAl", "Window size applied to Similarity:"))
        self.checkBox_8.setToolTip(_translate("trimAl", "Window size applied to Consistency"))
        self.checkBox_8.setText(_translate("trimAl", "Window size applied to Consistency:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("trimAl", "Manual Trimming"))
        self.groupBox_7.setTitle(_translate("trimAl", "Output"))
        self.label_15.setText(_translate("trimAl", "Output formats:"))
        self.comboBox.setItemText(0, _translate("trimAl", "fasta"))
        self.comboBox.setItemText(1, _translate("trimAl", "phylip"))
        self.comboBox.setItemText(2, _translate("trimAl", "phylip3.2"))
        self.comboBox.setItemText(3, _translate("trimAl", "nexus"))
        self.comboBox.setItemText(4, _translate("trimAl", "mega"))
        self.comboBox.setItemText(5, _translate("trimAl", "clustal"))
        self.comboBox.setItemText(6, _translate("trimAl", "nbrf"))
        self.checkBox_4.setText(_translate("trimAl", "htmlout:"))
        self.lineEdit_4.setText(_translate("trimAl", "summary.html"))
        self.checkBox.setText(_translate("trimAl", "complementary"))
        self.checkBox_5.setText(_translate("trimAl", "Statistics output:"))
        self.comboBox_2.setItemText(0, _translate("trimAl", "sgc: Print gap percentage count for columns in the input alignment."))
        self.comboBox_2.setItemText(1, _translate("trimAl", "sgt: Print accumulated gap percentage count."))
        self.comboBox_2.setItemText(2, _translate("trimAl", "scc: Print conservation values for columns in the input alignment."))
        self.comboBox_2.setItemText(3, _translate("trimAl", "sct: Print accumulated conservation values count."))
        self.comboBox_2.setItemText(4, _translate("trimAl", "sfc: Print compare values for columns in the selected alignment from compare files method."))
        self.comboBox_2.setItemText(5, _translate("trimAl", "sft: Print accumulated compare values count for the selected alignment from compare files method."))
        self.comboBox_2.setItemText(6, _translate("trimAl", "sident: Print identity statistics for all sequences in the alignemnt."))
        self.checkBox_2.setText(_translate("trimAl", "colnumbering"))
        self.groupBox_3.setTitle(_translate("trimAl", "Run"))
        self.pushButton_2.setText(_translate("trimAl", "Stop"))
        self.pushButton.setText(_translate("trimAl", "Start"))
        self.groupBox.setTitle(_translate("trimAl", "Progress"))
        self.pushButton_9.setText(_translate("trimAl", "Show log"))