def setupUi(self, ModelFinder): ModelFinder.setObjectName("ModelFinder") ModelFinder.resize(835, 522) self.verticalLayout = QtWidgets.QVBoxLayout(ModelFinder) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.groupBox_4 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout.setObjectName("gridLayout") self.label_5 = QtWidgets.QLabel(self.groupBox_4) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1) self.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout.addWidget(self.lineEdit, 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_8 = QtWidgets.QLabel(self.groupBox_4) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1) self.lineEdit_2 = InputQLineEdit(self.groupBox_4) self.lineEdit_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit_2.setReadOnly(True) self.lineEdit_2.setObjectName("lineEdit_2") self.gridLayout.addWidget(self.lineEdit_2, 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.label_3 = QtWidgets.QLabel(self.groupBox_4) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) 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.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.gridLayout_4.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_2.setCheckable(True) self.groupBox_2.setChecked(False) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_5.setContentsMargins(3, 6, 3, 3) self.gridLayout_5.setHorizontalSpacing(3) self.gridLayout_5.setVerticalSpacing(2) self.gridLayout_5.setObjectName("gridLayout_5") self.radioButton = QtWidgets.QRadioButton(self.groupBox_2) 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_2) self.radioButton_2.setObjectName("radioButton_2") self.gridLayout_5.addWidget(self.radioButton_2, 0, 1, 1, 1) self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox_2) self.checkBox_3.setObjectName("checkBox_3") self.gridLayout_5.addWidget(self.checkBox_3, 0, 2, 1, 1) self.textEdit = DblClickTexedit(self.groupBox_2) self.textEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit.setReadOnly(True) self.textEdit.setObjectName("textEdit") self.gridLayout_5.addWidget(self.textEdit, 1, 0, 1, 3) self.gridLayout_4.addWidget(self.groupBox_2, 0, 1, 2, 1) self.groupBox = QtWidgets.QGroupBox(ModelFinder) self.groupBox.setObjectName("groupBox") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_2.setObjectName("gridLayout_2") self.label_24 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_24.setFont(font) self.label_24.setObjectName("label_24") self.gridLayout_2.addWidget(self.label_24, 0, 0, 1, 1) 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, 1, 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(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.gridLayout_2.addWidget(self.comboBox_9, 1, 1, 1, 2) self.label_25 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_25.setFont(font) self.label_25.setObjectName("label_25") self.gridLayout_2.addWidget(self.label_25, 2, 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.gridLayout_2.addWidget(self.comboBox_4, 2, 1, 1, 2) 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_2.addWidget(self.label_26, 3, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_27.setFont(font) self.label_27.setObjectName("label_27") self.gridLayout_2.addWidget(self.label_27, 4, 0, 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_2.addWidget(self.comboBox_6, 4, 1, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_2.setAutoRepeat(False) self.checkBox_2.setAutoExclusive(False) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout_2.addWidget(self.checkBox_2, 4, 2, 1, 1) self.comboBox_3 = QtWidgets.QComboBox(self.groupBox) 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(153, 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_2.addWidget(self.comboBox_3, 0, 1, 1, 2) 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.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.comboBox_5.addItem("") self.gridLayout_2.addWidget(self.comboBox_5, 3, 1, 1, 2) self.gridLayout_4.addWidget(self.groupBox, 1, 0, 1, 1) self.gridLayout_4.setColumnStretch(0, 9) self.gridLayout_4.setColumnStretch(1, 7) self.verticalLayout.addLayout(self.gridLayout_4) self.groupBox_3 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_3.setObjectName("groupBox_3") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_3) self.horizontalLayout_2.setObjectName("horizontalLayout_2") 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_2.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_2.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_2.addWidget(self.pushButton_2) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_6 = QtWidgets.QGroupBox(ModelFinder) 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.label_24.setBuddy(self.comboBox_3) self.label_25.setBuddy(self.comboBox_3) self.label_26.setBuddy(self.comboBox_3) self.label_27.setBuddy(self.comboBox_3) self.retranslateUi(ModelFinder) QtCore.QMetaObject.connectSlotsByName(ModelFinder) ModelFinder.setTabOrder(self.pushButton_3, self.pushButton_4) ModelFinder.setTabOrder(self.pushButton_4, self.pushButton_9) ModelFinder.setTabOrder(self.pushButton_9, self.lineEdit_2) ModelFinder.setTabOrder(self.lineEdit_2, self.comboBox_3) ModelFinder.setTabOrder(self.comboBox_3, self.lineEdit) ModelFinder.setTabOrder(self.lineEdit, self.comboBox_4) ModelFinder.setTabOrder(self.comboBox_4, self.comboBox_5) ModelFinder.setTabOrder(self.comboBox_5, self.comboBox_6) ModelFinder.setTabOrder(self.comboBox_6, self.pushButton_2) ModelFinder.setTabOrder(self.pushButton_2, self.pushButton)
class Ui_PartitionFinder(object): def setupUi(self, PartitionFinder): PartitionFinder.setObjectName("PartitionFinder") PartitionFinder.resize(653, 531) self.gridLayout_9 = QtWidgets.QGridLayout(PartitionFinder) self.gridLayout_9.setObjectName("gridLayout_9") self.groupBox_4 = QtWidgets.QGroupBox(PartitionFinder) 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.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout.addWidget(self.lineEdit, 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.lineEdit_2 = InputQLineEdit(self.groupBox_4) self.lineEdit_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit_2.setReadOnly(True) self.lineEdit_2.setObjectName("lineEdit_2") self.gridLayout.addWidget(self.lineEdit_2, 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.label_13 = QtWidgets.QLabel(self.groupBox_4) self.label_13.setObjectName("label_13") self.horizontalLayout.addWidget(self.label_13) self.label_12 = ClickedLableGif(self.groupBox_4) self.label_12.setText("") self.label_12.setObjectName("label_12") self.horizontalLayout.addWidget(self.label_12) self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.gridLayout_9.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox = QtWidgets.QGroupBox(PartitionFinder) self.groupBox.setObjectName("groupBox") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_2.setContentsMargins(2, 4, 2, 2) self.gridLayout_2.setObjectName("gridLayout_2") self.tabWidget = QtWidgets.QTabWidget(self.groupBox) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab) self.horizontalLayout_2.setContentsMargins(5, 2, 2, 0) self.horizontalLayout_2.setSpacing(6) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.label = QtWidgets.QLabel(self.tab) self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label.setObjectName("label") self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) self.comboBox = QtWidgets.QComboBox(self.tab) 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.gridLayout_6.addWidget(self.comboBox, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.gridLayout_6.addWidget(self.label_2, 1, 0, 1, 1) self.comboBox_2 = QtWidgets.QComboBox(self.tab) 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_6.addWidget(self.comboBox_2, 1, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_3.setObjectName("label_3") self.gridLayout_6.addWidget(self.label_3, 2, 0, 1, 1) self.comboBox_3 = QtWidgets.QComboBox(self.tab) 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.gridLayout_6.addWidget(self.comboBox_3, 2, 1, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.gridLayout_6.addWidget(self.label_5, 3, 0, 1, 1) self.comboBox_4 = QtWidgets.QComboBox(self.tab) 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.setObjectName("comboBox_4") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.gridLayout_6.addWidget(self.comboBox_4, 3, 1, 1, 1) self.pushButton_cmd1 = QtWidgets.QPushButton(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_cmd1.sizePolicy().hasHeightForWidth()) self.pushButton_cmd1.setSizePolicy(sizePolicy) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/terminal-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_cmd1.setIcon(icon) self.pushButton_cmd1.setObjectName("pushButton_cmd1") self.gridLayout_6.addWidget(self.pushButton_cmd1, 4, 0, 1, 2) self.horizontalLayout_2.addLayout(self.gridLayout_6) self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_4.setContentsMargins(2, 9, 2, 2) self.gridLayout_4.setSpacing(0) self.gridLayout_4.setObjectName("gridLayout_4") self.textEdit = DblClickTexedit(self.groupBox_2) self.textEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit.setReadOnly(True) self.textEdit.setObjectName("textEdit") self.gridLayout_4.addWidget(self.textEdit, 0, 0, 1, 2) self.horizontalLayout_2.addWidget(self.groupBox_2) self.horizontalLayout_2.setStretch(0, 9) self.horizontalLayout_2.setStretch(1, 7) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_2) self.horizontalLayout_3.setContentsMargins(5, 2, 2, 0) self.horizontalLayout_3.setSpacing(6) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_10.setObjectName("label_10") self.gridLayout_3.addWidget(self.label_10, 0, 0, 1, 1) self.comboBox_6 = QtWidgets.QComboBox(self.tab_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_3.addWidget(self.comboBox_6, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.tab_2) self.label_7.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.gridLayout_3.addWidget(self.label_7, 1, 0, 1, 1) self.comboBox_8 = QtWidgets.QComboBox(self.tab_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.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.gridLayout_3.addWidget(self.comboBox_8, 1, 1, 1, 1) self.label_8 = QtWidgets.QLabel(self.tab_2) self.label_8.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_8.setObjectName("label_8") self.gridLayout_3.addWidget(self.label_8, 2, 0, 1, 1) self.comboBox_7 = QtWidgets.QComboBox(self.tab_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.comboBox_7.addItem("") self.gridLayout_3.addWidget(self.comboBox_7, 2, 1, 1, 1) self.label_9 = QtWidgets.QLabel(self.tab_2) self.label_9.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_9.setObjectName("label_9") self.gridLayout_3.addWidget(self.label_9, 3, 0, 1, 1) self.comboBox_5 = QtWidgets.QComboBox(self.tab_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.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.comboBox_5.addItem("") self.gridLayout_3.addWidget(self.comboBox_5, 3, 1, 1, 1) self.pushButton_cmd2 = QtWidgets.QPushButton(self.tab_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_cmd2.sizePolicy().hasHeightForWidth()) self.pushButton_cmd2.setSizePolicy(sizePolicy) self.pushButton_cmd2.setIcon(icon) self.pushButton_cmd2.setObjectName("pushButton_cmd2") self.gridLayout_3.addWidget(self.pushButton_cmd2, 4, 0, 1, 2) self.horizontalLayout_3.addLayout(self.gridLayout_3) self.groupBox_3 = QtWidgets.QGroupBox(self.tab_2) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setContentsMargins(2, 9, 2, 2) self.gridLayout_5.setSpacing(0) self.gridLayout_5.setObjectName("gridLayout_5") self.textEdit_2 = DblClickTexedit(self.groupBox_3) self.textEdit_2.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit_2.setReadOnly(True) self.textEdit_2.setTextInteractionFlags( QtCore.Qt.TextSelectableByMouse) self.textEdit_2.setObjectName("textEdit_2") self.gridLayout_5.addWidget(self.textEdit_2, 0, 0, 1, 2) self.horizontalLayout_3.addWidget(self.groupBox_3) self.horizontalLayout_3.setStretch(0, 9) self.horizontalLayout_3.setStretch(1, 7) self.tabWidget.addTab(self.tab_2, "") self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1) self.gridLayout_9.addWidget(self.groupBox, 1, 0, 1, 1) self.groupBox_5 = QtWidgets.QGroupBox(PartitionFinder) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_8.setObjectName("gridLayout_8") self.pushButton_7 = QtWidgets.QPushButton(self.groupBox_5) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/gears.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_7.setIcon(icon1) self.pushButton_7.setObjectName("pushButton_7") self.gridLayout_8.addWidget(self.pushButton_7, 0, 0, 1, 1) self.pushButton_8 = QtWidgets.QPushButton(self.groupBox_5) self.pushButton_8.setIcon(icon) self.pushButton_8.setObjectName("pushButton_8") self.gridLayout_8.addWidget(self.pushButton_8, 0, 1, 1, 1) self.pushButton_5 = ArrowPushButton(self.groupBox_5) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_5.setIcon(icon2) self.pushButton_5.setObjectName("pushButton_5") self.gridLayout_8.addWidget(self.pushButton_5, 1, 0, 1, 1) self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_5) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_2.setIcon(icon3) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_8.addWidget(self.pushButton_2, 1, 1, 1, 1) self.gridLayout_8.setColumnStretch(0, 1) self.gridLayout_8.setColumnStretch(1, 1) self.gridLayout_9.addWidget(self.groupBox_5, 2, 0, 1, 1) self.groupBox_6 = QtWidgets.QGroupBox(PartitionFinder) self.groupBox_6.setObjectName("groupBox_6") self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_6) self.gridLayout_7.setObjectName("gridLayout_7") self.label_11 = QtWidgets.QLabel(self.groupBox_6) self.label_11.setObjectName("label_11") self.gridLayout_7.addWidget(self.label_11, 0, 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, 1, 0, 1, 1) self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_9.setIcon(icon4) self.pushButton_9.setObjectName("pushButton_9") self.gridLayout_7.addWidget(self.pushButton_9, 2, 0, 1, 1) self.gridLayout_9.addWidget(self.groupBox_6, 3, 0, 1, 1) self.retranslateUi(PartitionFinder) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(PartitionFinder) PartitionFinder.setTabOrder(self.pushButton_5, self.lineEdit_2) PartitionFinder.setTabOrder(self.lineEdit_2, self.tabWidget) PartitionFinder.setTabOrder(self.tabWidget, self.pushButton_7) PartitionFinder.setTabOrder(self.pushButton_7, self.pushButton_4) PartitionFinder.setTabOrder(self.pushButton_4, self.lineEdit) PartitionFinder.setTabOrder(self.lineEdit, self.pushButton_8) PartitionFinder.setTabOrder(self.pushButton_8, self.pushButton_3) PartitionFinder.setTabOrder(self.pushButton_3, self.pushButton_2) PartitionFinder.setTabOrder(self.pushButton_2, self.pushButton_9) PartitionFinder.setTabOrder(self.pushButton_9, self.comboBox) PartitionFinder.setTabOrder(self.comboBox, self.textEdit) PartitionFinder.setTabOrder(self.textEdit, self.comboBox_2) PartitionFinder.setTabOrder(self.comboBox_2, self.comboBox_3) PartitionFinder.setTabOrder(self.comboBox_3, self.comboBox_4) PartitionFinder.setTabOrder(self.comboBox_4, self.pushButton_cmd1) PartitionFinder.setTabOrder(self.pushButton_cmd1, self.comboBox_6) PartitionFinder.setTabOrder(self.comboBox_6, self.textEdit_2) PartitionFinder.setTabOrder(self.textEdit_2, self.comboBox_8) PartitionFinder.setTabOrder(self.comboBox_8, self.comboBox_7) PartitionFinder.setTabOrder(self.comboBox_7, self.comboBox_5) PartitionFinder.setTabOrder(self.comboBox_5, self.pushButton_cmd2) def retranslateUi(self, PartitionFinder): _translate = QtCore.QCoreApplication.translate PartitionFinder.setWindowTitle( _translate("PartitionFinder", "PartitionFinder")) self.groupBox_4.setTitle(_translate("PartitionFinder", "Input")) self.label_4.setText(_translate("PartitionFinder", "Alignment File:")) self.lineEdit.setPlaceholderText( _translate("PartitionFinder", "The alignment should be phylip format")) self.label_6.setText(_translate("PartitionFinder", "Tree File:")) self.lineEdit_2.setPlaceholderText( _translate("PartitionFinder", "Optional! (in newick format)")) self.label_14.setText( _translate( "PartitionFinder", "<html><head/><body><p>Click <a href=\"http://www.robertlanfear.com/partitionfinder/\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about <span style=\" font-weight:600; color:#ff0000;\">PartitionFinder2</span></p></body></html>" )) self.label_13.setText(_translate("PartitionFinder", "Demo:")) self.label_12.setToolTip(_translate("PartitionFinder", "Brief example")) self.groupBox.setTitle(_translate("PartitionFinder", "Configuration")) self.label.setText(_translate("PartitionFinder", "branchlengths = ")) self.comboBox.setItemText(0, _translate("PartitionFinder", "linked")) self.comboBox.setItemText(1, _translate("PartitionFinder", "unlinked")) self.label_2.setText(_translate("PartitionFinder", "models = ")) self.comboBox_2.setItemText(0, _translate("PartitionFinder", "all")) self.comboBox_2.setItemText(1, _translate("PartitionFinder", "allx")) self.comboBox_2.setItemText(2, _translate("PartitionFinder", "beast")) self.comboBox_2.setItemText(3, _translate("PartitionFinder", "mrbayes")) self.comboBox_2.setItemText(4, _translate("PartitionFinder", "gamma")) self.comboBox_2.setItemText(5, _translate("PartitionFinder", "gammai")) self.comboBox_2.setItemText(6, _translate("PartitionFinder", "<list>")) self.label_3.setText( _translate("PartitionFinder", "model_selection = ")) self.comboBox_3.setItemText(0, _translate("PartitionFinder", "AICc")) self.comboBox_3.setItemText(1, _translate("PartitionFinder", "BIC")) self.comboBox_3.setItemText(2, _translate("PartitionFinder", "AIC")) self.label_5.setText(_translate("PartitionFinder", "search = ")) self.comboBox_4.setItemText(0, _translate("PartitionFinder", "all")) self.comboBox_4.setItemText(1, _translate("PartitionFinder", "greedy")) self.comboBox_4.setItemText(2, _translate("PartitionFinder", "rcluster")) self.comboBox_4.setItemText(3, _translate("PartitionFinder", "rclusterf")) self.comboBox_4.setItemText(4, _translate("PartitionFinder", "hcluster")) self.comboBox_4.setItemText(5, _translate("PartitionFinder", "kmeans")) self.comboBox_4.setItemText( 6, _translate("PartitionFinder", "user define")) self.pushButton_cmd1.setText( _translate("PartitionFinder", "Command line options")) self.groupBox_2.setTitle(_translate("PartitionFinder", "DATA BLOCKS")) self.textEdit.setToolTip( _translate( "PartitionFinder", "For example:\n" "atp6 = 1-693;\n" "atp8 = 694-882;\n" "cox1 = 883-2475;\n" "cox2 = 2476-3225;\n" "cox3 = 3226-4089;")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("PartitionFinder", "Nucleotide")) self.label_10.setText(_translate("PartitionFinder", "branchlengths = ")) self.comboBox_6.setItemText(0, _translate("PartitionFinder", "linked")) self.comboBox_6.setItemText(1, _translate("PartitionFinder", "unlinked")) self.label_7.setText(_translate("PartitionFinder", "models = ")) self.comboBox_8.setItemText(0, _translate("PartitionFinder", "all")) self.comboBox_8.setItemText(1, _translate("PartitionFinder", "allx")) self.comboBox_8.setItemText(2, _translate("PartitionFinder", "beast")) self.comboBox_8.setItemText(3, _translate("PartitionFinder", "mrbayes")) self.comboBox_8.setItemText(4, _translate("PartitionFinder", "gamma")) self.comboBox_8.setItemText(5, _translate("PartitionFinder", "gammai")) self.comboBox_8.setItemText(6, _translate("PartitionFinder", "<list>")) self.label_8.setText( _translate("PartitionFinder", "model_selection = ")) self.comboBox_7.setItemText(0, _translate("PartitionFinder", "AICc")) self.comboBox_7.setItemText(1, _translate("PartitionFinder", "BIC")) self.comboBox_7.setItemText(2, _translate("PartitionFinder", "AIC")) self.label_9.setText(_translate("PartitionFinder", "search = ")) self.comboBox_5.setItemText(0, _translate("PartitionFinder", "all")) self.comboBox_5.setItemText(1, _translate("PartitionFinder", "greedy")) self.comboBox_5.setItemText(2, _translate("PartitionFinder", "rcluster")) self.comboBox_5.setItemText(3, _translate("PartitionFinder", "rclusterf")) self.comboBox_5.setItemText(4, _translate("PartitionFinder", "hcluster")) self.comboBox_5.setItemText(5, _translate("PartitionFinder", "kmeans")) self.comboBox_5.setItemText( 6, _translate("PartitionFinder", "user define")) self.pushButton_cmd2.setText( _translate("PartitionFinder", "Command line options")) self.groupBox_3.setTitle(_translate("PartitionFinder", "DATA BLOCKS")) self.textEdit_2.setToolTip( _translate( "PartitionFinder", "For example:\n" "COI = 1-407;\n" "COII = 408-624;\n" "EF1a = 625-949;")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("PartitionFinder", "Amino acid")) self.groupBox_5.setTitle(_translate("PartitionFinder", "Run")) self.pushButton_7.setText( _translate("PartitionFinder", "Show configuration")) self.pushButton_8.setText(_translate("PartitionFinder", "Show command")) self.pushButton_5.setText(_translate("PartitionFinder", "Start")) self.pushButton_2.setText(_translate("PartitionFinder", "Stop")) self.groupBox_6.setTitle(_translate("PartitionFinder", "Progress")) self.label_11.setText( _translate("PartitionFinder", "PartitionFinder analysis")) self.pushButton_9.setText(_translate("PartitionFinder", "Show log"))
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)
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"))
class Ui_RSCUfig(object): def setupUi(self, RSCUfig): RSCUfig.setObjectName("RSCUfig") RSCUfig.resize(537, 597) self.gridLayout_3 = QtWidgets.QGridLayout(RSCUfig) self.gridLayout_3.setObjectName("gridLayout_3") self.splitter = QtWidgets.QSplitter(RSCUfig) self.splitter.setMidLineWidth(0) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setHandleWidth(5) self.splitter.setObjectName("splitter") self.groupBox = QtWidgets.QGroupBox(self.splitter) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.listWidget_3 = QtWidgets.QListWidget(self.groupBox) self.listWidget_3.setAcceptDrops(True) self.listWidget_3.setEditTriggers( QtWidgets.QAbstractItemView.AnyKeyPressed | QtWidgets.QAbstractItemView.DoubleClicked | QtWidgets.QAbstractItemView.EditKeyPressed) self.listWidget_3.setDragEnabled(True) self.listWidget_3.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget_3.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget_3.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget_3.setViewMode(QtWidgets.QListView.ListMode) self.listWidget_3.setObjectName("listWidget_3") self.gridLayout.addWidget(self.listWidget_3, 0, 0, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.pushButton_3 = QtWidgets.QPushButton(self.groupBox) 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.verticalLayout_2.addWidget(self.pushButton_3) self.toolButton_T = QtWidgets.QToolButton(self.groupBox) self.toolButton_T.setMinimumSize(QtCore.QSize(30, 30)) self.toolButton_T.setMaximumSize(QtCore.QSize(30, 30)) self.toolButton_T.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_T.setIcon(icon) self.toolButton_T.setIconSize(QtCore.QSize(26, 26)) self.toolButton_T.setAutoRaise(True) self.toolButton_T.setObjectName("toolButton_T") self.verticalLayout_2.addWidget(self.toolButton_T) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_16 = QtWidgets.QLabel(self.groupBox) self.label_16.setOpenExternalLinks(True) self.label_16.setObjectName("label_16") self.horizontalLayout.addWidget(self.label_16) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.label_3 = QtWidgets.QLabel(self.groupBox) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.label_2 = ClickedLableGif(self.groupBox) self.label_2.setText("") self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 2) self.groupBox_2 = QtWidgets.QGroupBox(self.splitter) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_6.setObjectName("gridLayout_6") self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.label_4 = QtWidgets.QLabel(self.groupBox_2) self.label_4.setObjectName("label_4") self.verticalLayout_3.addWidget(self.label_4) self.listWidget_2 = QtWidgets.QListWidget(self.groupBox_2) self.listWidget_2.setEditTriggers( QtWidgets.QAbstractItemView.NoEditTriggers) self.listWidget_2.setDragEnabled(True) self.listWidget_2.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget_2.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget_2.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget_2.setObjectName("listWidget_2") self.verticalLayout_3.addWidget(self.listWidget_2) self.gridLayout_6.addLayout(self.verticalLayout_3, 0, 0, 1, 1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.label_6 = QtWidgets.QLabel(self.groupBox_2) self.label_6.setObjectName("label_6") self.verticalLayout.addWidget(self.label_6) self.pushButton_color = QtWidgets.QPushButton(self.groupBox_2) 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.setText("") self.pushButton_color.setObjectName("pushButton_color") self.verticalLayout.addWidget(self.pushButton_color) self.pushButton_color_2 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_2.sizePolicy().hasHeightForWidth()) self.pushButton_color_2.setSizePolicy(sizePolicy) self.pushButton_color_2.setAutoFillBackground(False) self.pushButton_color_2.setStyleSheet("") self.pushButton_color_2.setText("") self.pushButton_color_2.setObjectName("pushButton_color_2") self.verticalLayout.addWidget(self.pushButton_color_2) self.pushButton_color_3 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_3.sizePolicy().hasHeightForWidth()) self.pushButton_color_3.setSizePolicy(sizePolicy) self.pushButton_color_3.setAutoFillBackground(False) self.pushButton_color_3.setStyleSheet("") self.pushButton_color_3.setText("") self.pushButton_color_3.setObjectName("pushButton_color_3") self.verticalLayout.addWidget(self.pushButton_color_3) self.pushButton_color_4 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_4.sizePolicy().hasHeightForWidth()) self.pushButton_color_4.setSizePolicy(sizePolicy) self.pushButton_color_4.setAutoFillBackground(False) self.pushButton_color_4.setStyleSheet("") self.pushButton_color_4.setText("") self.pushButton_color_4.setObjectName("pushButton_color_4") self.verticalLayout.addWidget(self.pushButton_color_4) self.gridLayout_6.addLayout(self.verticalLayout, 0, 1, 1, 1) 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.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.setMinimum(1) self.spinBox_5.setMaximum(999) self.spinBox_5.setProperty("value", 9) self.spinBox_5.setObjectName("spinBox_5") self.horizontalLayout_2.addWidget(self.spinBox_5) self.label_15 = QtWidgets.QLabel(self.groupBox_2) self.label_15.setObjectName("label_15") self.horizontalLayout_2.addWidget(self.label_15) self.spinBox_6 = QtWidgets.QSpinBox(self.groupBox_2) 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(999) self.spinBox_6.setProperty("value", 8) self.spinBox_6.setObjectName("spinBox_6") self.horizontalLayout_2.addWidget(self.spinBox_6) self.gridLayout_6.addLayout(self.horizontalLayout_2, 1, 0, 1, 2) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.label_13 = QtWidgets.QLabel(self.groupBox_2) self.label_13.setObjectName("label_13") self.gridLayout_2.addWidget(self.label_13, 0, 0, 1, 2) self.doubleSpinBox_2 = MyDoubleSpinBox(self.groupBox_2) self.doubleSpinBox_2.setReadOnly(False) self.doubleSpinBox_2.setDecimals(1) self.doubleSpinBox_2.setSingleStep(0.1) self.doubleSpinBox_2.setProperty("value", 2.0) self.doubleSpinBox_2.setObjectName("doubleSpinBox_2") self.gridLayout_2.addWidget(self.doubleSpinBox_2, 0, 2, 1, 1) self.doubleSpinBox_3 = MyDoubleSpinBox(self.groupBox_2) self.doubleSpinBox_3.setToolTip("") self.doubleSpinBox_3.setReadOnly(False) self.doubleSpinBox_3.setDecimals(1) self.doubleSpinBox_3.setSingleStep(0.1) self.doubleSpinBox_3.setProperty("value", 6.5) self.doubleSpinBox_3.setObjectName("doubleSpinBox_3") self.gridLayout_2.addWidget(self.doubleSpinBox_3, 1, 2, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox_2) self.label_14.setObjectName("label_14") self.gridLayout_2.addWidget(self.label_14, 1, 0, 1, 2) self.gridLayout_6.addLayout(self.gridLayout_2, 2, 0, 1, 2) self.gridLayout_3.addWidget(self.splitter, 0, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(RSCUfig) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setObjectName("gridLayout_5") 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_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, 1, 0, 1, 1) self.groupBox_5 = QtWidgets.QGroupBox(RSCUfig) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_4.setObjectName("gridLayout_4") self.progressBar = QtWidgets.QProgressBar(self.groupBox_5) 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_5, 2, 0, 1, 1) self.retranslateUi(RSCUfig) QtCore.QMetaObject.connectSlotsByName(RSCUfig) def retranslateUi(self, RSCUfig): _translate = QtCore.QCoreApplication.translate RSCUfig.setWindowTitle(_translate("RSCUfig", "Draw RSCU Figure")) self.groupBox.setTitle(_translate("RSCUfig", "Input")) self.listWidget_3.setToolTip( _translate("RSCUfig", "Try to drag to reorder")) self.toolButton_T.setShortcut(_translate("RSCUfig", "Del")) self.label_16.setText( _translate( "RSCUfig", "<html><head/><body><p>Try to drag <span style=\" font-weight:600; color:#ff0105;\">RSCU</span> tables (<span style=\" font-weight:600; color:#ff0000;\">_stack.csv</span>) and drop here</p></body></html>" )) self.label_3.setText(_translate("RSCUfig", "Demo:")) self.label_2.setToolTip(_translate("RSCUfig", "Brief example")) self.groupBox_2.setTitle(_translate("RSCUfig", "Parameters")) self.label_4.setText(_translate("RSCUfig", "Order on the x-axis:")) self.listWidget_2.setToolTip( _translate("RSCUfig", "Try to drag to reorder")) self.label_6.setText(_translate("RSCUfig", "Color of stacks:")) self.pushButton_color.setToolTip( _translate("RSCUfig", "Click to change color")) self.pushButton_color_2.setToolTip( _translate("RSCUfig", "Click to change color")) self.pushButton_color_3.setToolTip( _translate("RSCUfig", "Click to change color")) self.pushButton_color_4.setToolTip( _translate("RSCUfig", "Click to change color")) self.label_9.setText(_translate("RSCUfig", "Figure height:")) self.label_15.setText(_translate("RSCUfig", "Figure width:")) self.label_13.setText( _translate("RSCUfig", "Adjust height ratio of RSCU figure to bottom legend:")) self.doubleSpinBox_2.setToolTip( _translate("RSCUfig", "the input must be multiple of 0.5")) self.label_14.setText(_translate("RSCUfig", "Maximum value of y-axis:")) self.groupBox_3.setTitle(_translate("RSCUfig", "Run")) self.pushButton.setText(_translate("RSCUfig", "Start")) self.pushButton_2.setText(_translate("RSCUfig", "Close")) self.groupBox_5.setTitle(_translate("RSCUfig", "Progress"))
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"))
class Ui_compareTable(object): def setupUi(self, compareTable): compareTable.setObjectName("compareTable") compareTable.resize(444, 416) compareTable.setSizeGripEnabled(True) self.gridLayout_3 = QtWidgets.QGridLayout(compareTable) self.gridLayout_3.setObjectName("gridLayout_3") self.groupBox_4 = QtWidgets.QGroupBox(compareTable) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout_2.setObjectName("gridLayout_2") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.label_4 = QtWidgets.QLabel(self.groupBox_4) self.label_4.setObjectName("label_4") self.verticalLayout.addWidget(self.label_4) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) self.listWidget = QtWidgets.QListWidget(self.groupBox_4) self.listWidget.setAcceptDrops(True) self.listWidget.setTabKeyNavigation(True) self.listWidget.setDragEnabled(True) self.listWidget.setDragDropOverwriteMode(False) self.listWidget.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget.setAlternatingRowColors(True) self.listWidget.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget.setSelectionRectVisible(False) self.listWidget.setObjectName("listWidget") self.gridLayout_2.addWidget(self.listWidget, 0, 1, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") 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.verticalLayout_2.addWidget(self.pushButton_3) self.toolButton_T = QtWidgets.QToolButton(self.groupBox_4) self.toolButton_T.setMinimumSize(QtCore.QSize(30, 30)) self.toolButton_T.setMaximumSize(QtCore.QSize(30, 30)) self.toolButton_T.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_T.setIcon(icon) self.toolButton_T.setIconSize(QtCore.QSize(26, 26)) self.toolButton_T.setAutoRaise(True) self.toolButton_T.setObjectName("toolButton_T") self.verticalLayout_2.addWidget(self.toolButton_T) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 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) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) 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_3.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox = QtWidgets.QGroupBox(compareTable) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.spinBox = QtWidgets.QSpinBox(self.groupBox) self.spinBox.setProperty("value", 2) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 2, 1, 1, 1) self.label = QtWidgets.QLabel(self.groupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 2, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 1, 0, 1, 2) self.gridLayout_3.addWidget(self.groupBox, 1, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(compareTable) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setObjectName("gridLayout_5") 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_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(compareTable) 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.retranslateUi(compareTable) QtCore.QMetaObject.connectSlotsByName(compareTable) def retranslateUi(self, compareTable): _translate = QtCore.QCoreApplication.translate compareTable.setWindowTitle(_translate("compareTable", "Compare table")) self.groupBox_4.setTitle(_translate("compareTable", "Input")) self.label_4.setText(_translate("compareTable", "Tables:")) self.listWidget.setToolTip( _translate("compareTable", "try to drag to reorder")) self.toolButton_T.setShortcut(_translate("compareTable", "Del")) self.label_14.setText( _translate( "compareTable", "<html><head/><body><p>Try to drag <span style=\" font-weight:600; color:#ff0105;\">two or more</span> tables (<span style=\" font-weight:600; color:#ff0026;\">.csv</span>) and drop here</p></body></html>" )) self.label_2.setToolTip(_translate("compareTable", "Brief example")) self.groupBox.setTitle(_translate("compareTable", "Parameters")) self.label.setText( _translate("compareTable", "Number of header rows (skip comparison):")) self.checkBox.setText( _translate( "compareTable", "Calculate pairwise similarity (for organization table only)")) self.groupBox_3.setTitle(_translate("compareTable", "Run")) self.pushButton.setText(_translate("compareTable", "Start")) self.pushButton_2.setText(_translate("compareTable", "Cancel")) self.groupBox_2.setTitle(_translate("compareTable", "Progress"))
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)
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 "<span style=\" color:#ff0000;\">Refine</span>" (refineAlignment), "<span style=\" color:#ff0000;\">Seq.</span>" 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"))
def setupUi(self, WorkFlow): WorkFlow.setObjectName("WorkFlow") WorkFlow.resize(605, 663) self.verticalLayout = QtWidgets.QVBoxLayout(WorkFlow) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(WorkFlow) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_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.comboBox = QtWidgets.QComboBox(self.groupBox) 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.horizontalLayout.addWidget(self.comboBox) self.toolButton = QtWidgets.QToolButton(self.groupBox) self.toolButton.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/add-icon.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.toolButton_2 = QtWidgets.QToolButton(self.groupBox) self.toolButton_2.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_2.setIcon(icon1) self.toolButton_2.setAutoRaise(True) self.toolButton_2.setObjectName("toolButton_2") self.horizontalLayout.addWidget(self.toolButton_2) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_7 = QtWidgets.QLabel(self.groupBox) self.label_7.setObjectName("label_7") self.horizontalLayout_3.addWidget(self.label_7) self.widget_2 = QtWidgets.QWidget(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_2.sizePolicy().hasHeightForWidth()) self.widget_2.setSizePolicy(sizePolicy) self.widget_2.setStyleSheet("border-top: 1px solid gray;\n" "margin-top: 10px;") self.widget_2.setObjectName("widget_2") self.horizontalLayout_3.addWidget(self.widget_2) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBox.setLayoutDirection(QtCore.Qt.LeftToRight) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/mafft1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox.setIcon(icon2) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 0, 1, 1, 1) self.checkBox_8 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_8.setLayoutDirection(QtCore.Qt.LeftToRight) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/picture/resourses/M.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_8.setIcon(icon3) self.checkBox_8.setChecked(False) self.checkBox_8.setObjectName("checkBox_8") self.gridLayout.addWidget(self.checkBox_8, 0, 2, 1, 1) spacerItem = QtWidgets.QSpacerItem(163, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 3, 1, 3) self.label_8 = QtWidgets.QLabel(self.groupBox) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1) self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_3.setLayoutDirection(QtCore.Qt.LeftToRight) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/if_simpline_22_2305632.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_3.setIcon(icon4) self.checkBox_3.setChecked(False) self.checkBox_3.setObjectName("checkBox_3") self.gridLayout.addWidget(self.checkBox_3, 1, 1, 1, 1) self.checkBox_9 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_9.setLayoutDirection(QtCore.Qt.LeftToRight) icon5 = QtGui.QIcon() icon5.addPixmap( QtGui.QPixmap(":/picture/resourses/icon--trim-confirm-0.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_9.setIcon(icon5) self.checkBox_9.setChecked(False) self.checkBox_9.setObjectName("checkBox_9") self.gridLayout.addWidget(self.checkBox_9, 1, 2, 1, 1) self.checkBox_10 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_10.setLayoutDirection(QtCore.Qt.LeftToRight) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/picture/resourses/clean.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_10.setIcon(icon6) self.checkBox_10.setChecked(False) self.checkBox_10.setObjectName("checkBox_10") self.gridLayout.addWidget(self.checkBox_10, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(68, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 5, 1, 2) self.label_5 = QtWidgets.QLabel(self.groupBox) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_2.setLayoutDirection(QtCore.Qt.LeftToRight) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/picture/resourses/cat1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_2.setIcon(icon7) self.checkBox_2.setChecked(True) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout.addWidget(self.checkBox_2, 2, 1, 1, 1) self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_5.setLayoutDirection(QtCore.Qt.LeftToRight) icon8 = QtGui.QIcon() icon8.addPixmap( QtGui.QPixmap(":/picture/resourses/if_tinder_334781.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_5.setIcon(icon8) self.checkBox_5.setChecked(True) self.checkBox_5.setObjectName("checkBox_5") self.buttonGroup = QtWidgets.QButtonGroup(WorkFlow) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.checkBox_5) self.gridLayout.addWidget(self.checkBox_5, 2, 2, 1, 2) self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_4.setLayoutDirection(QtCore.Qt.LeftToRight) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/picture/resourses/pie-chart.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_4.setIcon(icon9) self.checkBox_4.setObjectName("checkBox_4") self.buttonGroup.addButton(self.checkBox_4) self.gridLayout.addWidget(self.checkBox_4, 2, 4, 1, 2) spacerItem2 = QtWidgets.QSpacerItem(163, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 2, 6, 1, 1) self.label_6 = QtWidgets.QLabel(self.groupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1) self.checkBox_6 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_6.setLayoutDirection(QtCore.Qt.LeftToRight) icon10 = QtGui.QIcon() icon10.addPixmap( QtGui.QPixmap(":/picture/resourses/data-taxonomy-icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_6.setIcon(icon10) self.checkBox_6.setChecked(True) self.checkBox_6.setObjectName("checkBox_6") self.gridLayout.addWidget(self.checkBox_6, 3, 1, 1, 1) self.checkBox_7 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_7.setLayoutDirection(QtCore.Qt.LeftToRight) icon11 = QtGui.QIcon() icon11.addPixmap( QtGui.QPixmap( ":/picture/resourses/2000px-Paris_RER_B_icon.svg.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_7.setIcon(icon11) self.checkBox_7.setChecked(True) self.checkBox_7.setObjectName("checkBox_7") self.gridLayout.addWidget(self.checkBox_7, 3, 2, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(198, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem3, 3, 3, 1, 3) self.label_2 = ClickedLableGif(self.groupBox) self.label_2.setText("") self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 3, 6, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.verticalLayout.addWidget(self.groupBox) self.listWidget_workflow = QtWidgets.QListWidget(WorkFlow) self.listWidget_workflow.setObjectName("listWidget_workflow") self.verticalLayout.addWidget(self.listWidget_workflow) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pushButton = ArrowPushButton(WorkFlow) icon12 = QtGui.QIcon() icon12.addPixmap( QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton.setIcon(icon12) self.pushButton.setObjectName("pushButton") self.horizontalLayout_2.addWidget(self.pushButton) self.pushButton_6 = QtWidgets.QPushButton(WorkFlow) icon13 = QtGui.QIcon() icon13.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_6.setIcon(icon13) self.pushButton_6.setObjectName("pushButton_6") self.horizontalLayout_2.addWidget(self.pushButton_6) self.horizontalLayout_2.setStretch(0, 1) self.horizontalLayout_2.setStretch(1, 1) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(WorkFlow) QtCore.QMetaObject.connectSlotsByName(WorkFlow)
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"))
class Ui_WorkFlow(object): def setupUi(self, WorkFlow): WorkFlow.setObjectName("WorkFlow") WorkFlow.resize(605, 663) self.verticalLayout = QtWidgets.QVBoxLayout(WorkFlow) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(WorkFlow) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_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.comboBox = QtWidgets.QComboBox(self.groupBox) 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.horizontalLayout.addWidget(self.comboBox) self.toolButton = QtWidgets.QToolButton(self.groupBox) self.toolButton.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/add-icon.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.toolButton_2 = QtWidgets.QToolButton(self.groupBox) self.toolButton_2.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_2.setIcon(icon1) self.toolButton_2.setAutoRaise(True) self.toolButton_2.setObjectName("toolButton_2") self.horizontalLayout.addWidget(self.toolButton_2) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_7 = QtWidgets.QLabel(self.groupBox) self.label_7.setObjectName("label_7") self.horizontalLayout_3.addWidget(self.label_7) self.widget_2 = QtWidgets.QWidget(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_2.sizePolicy().hasHeightForWidth()) self.widget_2.setSizePolicy(sizePolicy) self.widget_2.setStyleSheet("border-top: 1px solid gray;\n" "margin-top: 10px;") self.widget_2.setObjectName("widget_2") self.horizontalLayout_3.addWidget(self.widget_2) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBox.setLayoutDirection(QtCore.Qt.LeftToRight) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/picture/resourses/mafft1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox.setIcon(icon2) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 0, 1, 1, 1) self.checkBox_8 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_8.setLayoutDirection(QtCore.Qt.LeftToRight) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/picture/resourses/M.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_8.setIcon(icon3) self.checkBox_8.setChecked(False) self.checkBox_8.setObjectName("checkBox_8") self.gridLayout.addWidget(self.checkBox_8, 0, 2, 1, 1) spacerItem = QtWidgets.QSpacerItem(163, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 3, 1, 3) self.label_8 = QtWidgets.QLabel(self.groupBox) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1) self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_3.setLayoutDirection(QtCore.Qt.LeftToRight) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/if_simpline_22_2305632.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_3.setIcon(icon4) self.checkBox_3.setChecked(False) self.checkBox_3.setObjectName("checkBox_3") self.gridLayout.addWidget(self.checkBox_3, 1, 1, 1, 1) self.checkBox_9 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_9.setLayoutDirection(QtCore.Qt.LeftToRight) icon5 = QtGui.QIcon() icon5.addPixmap( QtGui.QPixmap(":/picture/resourses/icon--trim-confirm-0.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_9.setIcon(icon5) self.checkBox_9.setChecked(False) self.checkBox_9.setObjectName("checkBox_9") self.gridLayout.addWidget(self.checkBox_9, 1, 2, 1, 1) self.checkBox_10 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_10.setLayoutDirection(QtCore.Qt.LeftToRight) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/picture/resourses/clean.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_10.setIcon(icon6) self.checkBox_10.setChecked(False) self.checkBox_10.setObjectName("checkBox_10") self.gridLayout.addWidget(self.checkBox_10, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(68, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 5, 1, 2) self.label_5 = QtWidgets.QLabel(self.groupBox) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_2.setLayoutDirection(QtCore.Qt.LeftToRight) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/picture/resourses/cat1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_2.setIcon(icon7) self.checkBox_2.setChecked(True) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout.addWidget(self.checkBox_2, 2, 1, 1, 1) self.checkBox_5 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_5.setLayoutDirection(QtCore.Qt.LeftToRight) icon8 = QtGui.QIcon() icon8.addPixmap( QtGui.QPixmap(":/picture/resourses/if_tinder_334781.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_5.setIcon(icon8) self.checkBox_5.setChecked(True) self.checkBox_5.setObjectName("checkBox_5") self.buttonGroup = QtWidgets.QButtonGroup(WorkFlow) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.checkBox_5) self.gridLayout.addWidget(self.checkBox_5, 2, 2, 1, 2) self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_4.setLayoutDirection(QtCore.Qt.LeftToRight) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/picture/resourses/pie-chart.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_4.setIcon(icon9) self.checkBox_4.setObjectName("checkBox_4") self.buttonGroup.addButton(self.checkBox_4) self.gridLayout.addWidget(self.checkBox_4, 2, 4, 1, 2) spacerItem2 = QtWidgets.QSpacerItem(163, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 2, 6, 1, 1) self.label_6 = QtWidgets.QLabel(self.groupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1) self.checkBox_6 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_6.setLayoutDirection(QtCore.Qt.LeftToRight) icon10 = QtGui.QIcon() icon10.addPixmap( QtGui.QPixmap(":/picture/resourses/data-taxonomy-icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_6.setIcon(icon10) self.checkBox_6.setChecked(True) self.checkBox_6.setObjectName("checkBox_6") self.gridLayout.addWidget(self.checkBox_6, 3, 1, 1, 1) self.checkBox_7 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_7.setLayoutDirection(QtCore.Qt.LeftToRight) icon11 = QtGui.QIcon() icon11.addPixmap( QtGui.QPixmap( ":/picture/resourses/2000px-Paris_RER_B_icon.svg.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.checkBox_7.setIcon(icon11) self.checkBox_7.setChecked(True) self.checkBox_7.setObjectName("checkBox_7") self.gridLayout.addWidget(self.checkBox_7, 3, 2, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(198, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem3, 3, 3, 1, 3) self.label_2 = ClickedLableGif(self.groupBox) self.label_2.setText("") self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 3, 6, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.verticalLayout.addWidget(self.groupBox) self.listWidget_workflow = QtWidgets.QListWidget(WorkFlow) self.listWidget_workflow.setObjectName("listWidget_workflow") self.verticalLayout.addWidget(self.listWidget_workflow) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pushButton = ArrowPushButton(WorkFlow) icon12 = QtGui.QIcon() icon12.addPixmap( QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton.setIcon(icon12) self.pushButton.setObjectName("pushButton") self.horizontalLayout_2.addWidget(self.pushButton) self.pushButton_6 = QtWidgets.QPushButton(WorkFlow) icon13 = QtGui.QIcon() icon13.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_6.setIcon(icon13) self.pushButton_6.setObjectName("pushButton_6") self.horizontalLayout_2.addWidget(self.pushButton_6) self.horizontalLayout_2.setStretch(0, 1) self.horizontalLayout_2.setStretch(1, 1) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(WorkFlow) QtCore.QMetaObject.connectSlotsByName(WorkFlow) def retranslateUi(self, WorkFlow): _translate = QtCore.QCoreApplication.translate WorkFlow.setWindowTitle( _translate("WorkFlow", "Fast Phylogenetic Workflow")) self.groupBox.setTitle(_translate("WorkFlow", "Analyses")) self.label.setText(_translate("WorkFlow", "Workflow:")) self.toolButton.setToolTip( _translate("WorkFlow", "Add current settings to workflow")) self.toolButton_2.setToolTip( _translate("WorkFlow", "Delete current workflow")) self.label_7.setText( _translate("WorkFlow", "Select analyses to add them to the queue")) self.label_4.setText(_translate("WorkFlow", "Sequence Alignment:")) self.checkBox.setText(_translate("WorkFlow", "MAFFT")) self.checkBox_8.setText(_translate("WorkFlow", "MACSE")) self.label_8.setText(_translate("WorkFlow", "Alignment cleaning:")) self.checkBox_3.setText(_translate("WorkFlow", "Gblocks")) self.checkBox_9.setText(_translate("WorkFlow", "trimAl")) self.checkBox_10.setText(_translate("WorkFlow", "HmmCleaner")) self.label_5.setText(_translate("WorkFlow", "Model Selection:")) self.checkBox_2.setText(_translate("WorkFlow", "Concatenation")) self.checkBox_5.setText(_translate("WorkFlow", "ModelFinder")) self.checkBox_4.setText(_translate("WorkFlow", "PartitionFinder")) self.label_6.setText(_translate("WorkFlow", "Tree Reconstruction:")) self.checkBox_6.setText(_translate("WorkFlow", "IQ-TREE")) self.checkBox_7.setText(_translate("WorkFlow", "MrBayes")) self.label_2.setToolTip(_translate("WorkFlow", "Brief example")) self.pushButton.setText(_translate("WorkFlow", "Check | Start")) self.pushButton_6.setText(_translate("WorkFlow", "Stop"))
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)
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"))
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"))
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 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)
class Ui_MrBayes(object): def setupUi(self, MrBayes): MrBayes.setObjectName("MrBayes") MrBayes.resize(574, 636) self.verticalLayout_3 = QtWidgets.QVBoxLayout(MrBayes) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea = QtWidgets.QScrollArea(MrBayes) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 556, 618)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4) 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.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout_2.addWidget(self.lineEdit, 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.label_31 = QtWidgets.QLabel(self.groupBox_4) font = QtGui.QFont() font.setPointSize(10) self.label_31.setFont(font) self.label_31.setObjectName("label_31") self.gridLayout_2.addWidget(self.label_31, 1, 0, 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.checkBox_3 = QtWidgets.QCheckBox(self.groupBox_4) self.checkBox_3.setChecked(True) self.checkBox_3.setObjectName("checkBox_3") self.horizontalLayout.addWidget(self.checkBox_3) self.label_9 = ClickedLableGif(self.groupBox_4) self.label_9.setText("") self.label_9.setObjectName("label_9") self.horizontalLayout.addWidget(self.label_9) self.gridLayout_2.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.comboBox_5 = CheckableComboBox(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.setMinimumSize(QtCore.QSize(13, 26)) self.comboBox_5.setObjectName("comboBox_5") self.gridLayout_2.addWidget(self.comboBox_5, 1, 1, 1, 1) self.verticalLayout_2.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.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.pushButton_partition = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_partition.sizePolicy().hasHeightForWidth()) self.pushButton_partition.setSizePolicy(sizePolicy) self.pushButton_partition.setLayoutDirection(QtCore.Qt.LeftToRight) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/pie-chart.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_partition.setIcon(icon) self.pushButton_partition.setCheckable(True) self.pushButton_partition.setObjectName("pushButton_partition") self.gridLayout.addWidget(self.pushButton_partition, 0, 2, 1, 1) self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_4.setObjectName("checkBox_4") self.gridLayout.addWidget(self.checkBox_4, 1, 0, 1, 1) self.comboBox_10 = QtWidgets.QComboBox(self.groupBox) self.comboBox_10.setEnabled(False) 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(13, 26)) self.comboBox_10.setObjectName("comboBox_10") self.gridLayout.addWidget(self.comboBox_10, 1, 1, 1, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") 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.horizontalLayout_2.addWidget(self.label_28) self.spinBox = QtWidgets.QSpinBox(self.groupBox) self.spinBox.setMinimum(2) self.spinBox.setMaximum(64) self.spinBox.setProperty("value", 4) self.spinBox.setObjectName("spinBox") self.horizontalLayout_2.addWidget(self.spinBox) self.gridLayout.addLayout(self.horizontalLayout_2, 1, 2, 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, 2, 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.gridLayout.addWidget(self.comboBox_4, 2, 1, 1, 2) self.label_27 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_27.setFont(font) self.label_27.setObjectName("label_27") self.gridLayout.addWidget(self.label_27, 3, 0, 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.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.gridLayout.addWidget(self.comboBox_6, 3, 1, 1, 2) self.verticalLayout_2.addWidget(self.groupBox) self.groupBox_5 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_4.setObjectName("gridLayout_4") self.label = QtWidgets.QLabel(self.groupBox_5) self.label.setObjectName("label") self.gridLayout_4.addWidget(self.label, 0, 0, 1, 2) self.spinBox_2 = QtWidgets.QSpinBox(self.groupBox_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.spinBox_2.sizePolicy().hasHeightForWidth()) self.spinBox_2.setSizePolicy(sizePolicy) self.spinBox_2.setWrapping(True) self.spinBox_2.setMinimum(1) self.spinBox_2.setMaximum(999999999) self.spinBox_2.setSingleStep(1) self.spinBox_2.setProperty("value", 2000000) self.spinBox_2.setObjectName("spinBox_2") self.gridLayout_4.addWidget(self.spinBox_2, 0, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.groupBox_5) self.label_2.setObjectName("label_2") self.gridLayout_4.addWidget(self.label_2, 0, 3, 1, 1) self.spinBox_6 = QtWidgets.QSpinBox(self.groupBox_5) 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(99999999) self.spinBox_6.setProperty("value", 100) self.spinBox_6.setObjectName("spinBox_6") self.gridLayout_4.addWidget(self.spinBox_6, 0, 5, 1, 1) self.label_3 = QtWidgets.QLabel(self.groupBox_5) self.label_3.setObjectName("label_3") self.gridLayout_4.addWidget(self.label_3, 1, 0, 1, 2) self.spinBox_7 = QtWidgets.QSpinBox(self.groupBox_5) 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.setWrapping(True) self.spinBox_7.setMinimum(1) self.spinBox_7.setMaximum(9999) self.spinBox_7.setSingleStep(1) self.spinBox_7.setProperty("value", 2) self.spinBox_7.setObjectName("spinBox_7") self.gridLayout_4.addWidget(self.spinBox_7, 1, 2, 1, 1) self.label_4 = QtWidgets.QLabel(self.groupBox_5) self.label_4.setObjectName("label_4") self.gridLayout_4.addWidget(self.label_4, 1, 3, 1, 2) self.spinBox_8 = QtWidgets.QSpinBox(self.groupBox_5) 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.setWrapping(True) self.spinBox_8.setMinimum(1) self.spinBox_8.setMaximum(9999) self.spinBox_8.setSingleStep(1) self.spinBox_8.setProperty("value", 4) self.spinBox_8.setObjectName("spinBox_8") self.gridLayout_4.addWidget(self.spinBox_8, 1, 5, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox_5) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.buttonGroup = QtWidgets.QButtonGroup(MrBayes) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.checkBox) self.gridLayout_4.addWidget(self.checkBox, 2, 0, 1, 2) self.doubleSpinBox_2 = QtWidgets.QDoubleSpinBox(self.groupBox_5) 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.setMaximum(1.0) self.doubleSpinBox_2.setSingleStep(0.01) self.doubleSpinBox_2.setProperty("value", 0.25) self.doubleSpinBox_2.setObjectName("doubleSpinBox_2") self.gridLayout_4.addWidget(self.doubleSpinBox_2, 2, 2, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_5) self.checkBox_2.setObjectName("checkBox_2") self.buttonGroup.addButton(self.checkBox_2) self.gridLayout_4.addWidget(self.checkBox_2, 2, 3, 1, 1) self.spinBox_10 = QtWidgets.QSpinBox(self.groupBox_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.spinBox_10.sizePolicy().hasHeightForWidth()) self.spinBox_10.setSizePolicy(sizePolicy) self.spinBox_10.setWrapping(True) self.spinBox_10.setMinimum(1) self.spinBox_10.setMaximum(999999999) self.spinBox_10.setSingleStep(1) self.spinBox_10.setProperty("value", 250) self.spinBox_10.setObjectName("spinBox_10") self.gridLayout_4.addWidget(self.spinBox_10, 2, 5, 1, 1) self.label_6 = QtWidgets.QLabel(self.groupBox_5) self.label_6.setObjectName("label_6") self.gridLayout_4.addWidget(self.label_6, 3, 0, 1, 1) self.label_7 = QtWidgets.QLabel(self.groupBox_5) self.label_7.setObjectName("label_7") self.gridLayout_4.addWidget(self.label_7, 3, 3, 1, 1) self.comboBox_8 = QtWidgets.QComboBox(self.groupBox_5) 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.gridLayout_4.addWidget(self.comboBox_8, 3, 2, 1, 1) self.comboBox_9 = QtWidgets.QComboBox(self.groupBox_5) 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.setObjectName("comboBox_9") self.comboBox_9.addItem("") self.comboBox_9.addItem("") self.gridLayout_4.addWidget(self.comboBox_9, 3, 5, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_5) self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) 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) 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) self.pushButton.setLayoutDirection(QtCore.Qt.LeftToRight) self.pushButton.setAutoFillBackground(False) 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.setAutoExclusive(False) self.pushButton.setObjectName("pushButton") self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1) 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) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap( ":/picture/resourses/Play-pause_button_play_stop_blue_pause.png" ), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_continue.setIcon(icon2) self.pushButton_continue.setAutoExclusive(False) self.pushButton_continue.setObjectName("pushButton_continue") self.gridLayout_3.addWidget(self.pushButton_continue, 0, 1, 1, 1) self.pushButton_10 = QtWidgets.QPushButton(self.groupBox_3) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_10.setIcon(icon3) self.pushButton_10.setObjectName("pushButton_10") self.gridLayout_3.addWidget(self.pushButton_10, 1, 0, 1, 1) self.pushButton_2 = ArrowPushButton(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) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_2.setIcon(icon4) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_3.addWidget(self.pushButton_2, 1, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_3) self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_6.setObjectName("groupBox_6") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_6) self.verticalLayout.setObjectName("verticalLayout") self.label_8 = QtWidgets.QLabel(self.groupBox_6) self.label_8.setObjectName("label_8") self.verticalLayout.addWidget(self.label_8) self.progressBar = QtWidgets.QProgressBar(self.groupBox_6) self.progressBar.setProperty("value", 0) self.progressBar.setObjectName("progressBar") self.verticalLayout.addWidget(self.progressBar) self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6) self.pushButton_9.setIcon(icon3) self.pushButton_9.setObjectName("pushButton_9") self.verticalLayout.addWidget(self.pushButton_9) self.verticalLayout_2.addWidget(self.groupBox_6) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(MrBayes) self.pushButton_partition.toggled['bool'].connect( self.comboBox_7.setDisabled) self.checkBox_4.toggled['bool'].connect(self.comboBox_10.setEnabled) QtCore.QMetaObject.connectSlotsByName(MrBayes) MrBayes.setTabOrder(self.pushButton_3, self.pushButton_9) MrBayes.setTabOrder(self.pushButton_9, self.lineEdit) MrBayes.setTabOrder(self.lineEdit, self.pushButton_2) MrBayes.setTabOrder(self.pushButton_2, self.pushButton) def retranslateUi(self, MrBayes): _translate = QtCore.QCoreApplication.translate MrBayes.setWindowTitle(_translate("MrBayes", "MrBayes")) self.groupBox_4.setTitle(_translate("MrBayes", "Input")) self.label_5.setText(_translate("MrBayes", "Alignment File:")) self.lineEdit.setPlaceholderText( _translate("MrBayes", "The file should be NEXUS format")) self.label_31.setText(_translate("MrBayes", "Outgroup(s):")) self.label_14.setText( _translate( "MrBayes", "<html><head/><body><p>Click <a href=\"http://mrbayes.sourceforge.net/\"><span style=\" text-decoration: underline; color:#0000ff;\">here</span></a> to learn more about <span style=\" font-weight:600; color:#ff0000;\">MrBayes</span></p></body></html>" )) self.checkBox_3.setText(_translate("MrBayes", "Save Log")) self.label_9.setToolTip(_translate("MrBayes", "Brief example")) self.groupBox.setTitle(_translate("MrBayes", "Parameters")) self.label_25.setText(_translate("MrBayes", "Models:")) self.pushButton_partition.setText( _translate("MrBayes", "Partition Models")) self.checkBox_4.setText(_translate("MrBayes", "Threads:")) self.label_28.setText(_translate("MrBayes", "Gamma categories:")) self.label_26.setText(_translate("MrBayes", "State freq:")) self.comboBox_4.setItemText( 0, _translate("MrBayes", "dirichlet(1.0,1.0,1.0,1.0)")) self.comboBox_4.setItemText(1, _translate("MrBayes", "fixed(equal)")) self.comboBox_4.setItemText(2, _translate("MrBayes", "fixed(empirical)")) self.label_27.setToolTip(_translate("MrBayes", "Rate Variation")) self.label_27.setText(_translate("MrBayes", "Rate Var.:")) self.comboBox_6.setItemText( 0, _translate("MrBayes", "equal (No rate variation across sites)")) self.comboBox_6.setItemText( 1, _translate("MrBayes", "gamma (+G, Gamma-distributed variation)")) self.comboBox_6.setItemText( 2, _translate("MrBayes", "lnorm (Log Normal-distributed variation)")) self.comboBox_6.setItemText( 3, _translate("MrBayes", "propinv (+I, Proportion of sites invariable)")) self.comboBox_6.setItemText( 4, _translate( "MrBayes", "invgamma (+I+G, Proportion invariable, remaining gamma)")) self.comboBox_6.setItemText( 5, _translate("MrBayes", "adgamma (Autocorrelated variation)")) self.groupBox_5.setTitle(_translate("MrBayes", "MCMC Settings")) self.label.setText(_translate("MrBayes", "Generations:")) self.label_2.setText(_translate("MrBayes", "Sampling Freq:")) self.label_3.setText(_translate("MrBayes", "Number of Runs:")) self.label_4.setText(_translate("MrBayes", "Number of Chains:")) self.checkBox.setText(_translate("MrBayes", "Burnin Fraction:")) self.checkBox_2.setText(_translate("MrBayes", "Burnin:")) self.label_6.setToolTip(_translate("MrBayes", "Type of consensus tree")) self.label_6.setText(_translate("MrBayes", "Contype:")) self.label_7.setToolTip( _translate("MrBayes", "Format of consensus tree")) self.label_7.setText(_translate("MrBayes", "Conformat:")) self.comboBox_8.setItemText(0, _translate("MrBayes", "Halfcompat")) self.comboBox_8.setItemText(1, _translate("MrBayes", "Allcompat")) self.comboBox_9.setItemText(0, _translate("MrBayes", "Simple")) self.comboBox_9.setItemText(1, _translate("MrBayes", "Figtree")) self.groupBox_3.setTitle(_translate("MrBayes", "Run")) self.pushButton.setText(_translate("MrBayes", "Start")) self.pushButton_continue.setText( _translate("MrBayes", "Continue Previous Analysis")) self.pushButton_10.setText( _translate("MrBayes", "Show MrBayes Data Block")) self.pushButton_2.setText(_translate("MrBayes", "Stop")) self.groupBox_6.setTitle(_translate("MrBayes", "Progress")) self.label_8.setText(_translate("MrBayes", "Bayesian inference")) self.pushButton_9.setText(_translate("MrBayes", "Show log"))
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 setupUi(self, MrBayes): MrBayes.setObjectName("MrBayes") MrBayes.resize(574, 636) self.verticalLayout_3 = QtWidgets.QVBoxLayout(MrBayes) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea = QtWidgets.QScrollArea(MrBayes) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 556, 618)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4) 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.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout_2.addWidget(self.lineEdit, 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.label_31 = QtWidgets.QLabel(self.groupBox_4) font = QtGui.QFont() font.setPointSize(10) self.label_31.setFont(font) self.label_31.setObjectName("label_31") self.gridLayout_2.addWidget(self.label_31, 1, 0, 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.checkBox_3 = QtWidgets.QCheckBox(self.groupBox_4) self.checkBox_3.setChecked(True) self.checkBox_3.setObjectName("checkBox_3") self.horizontalLayout.addWidget(self.checkBox_3) self.label_9 = ClickedLableGif(self.groupBox_4) self.label_9.setText("") self.label_9.setObjectName("label_9") self.horizontalLayout.addWidget(self.label_9) self.gridLayout_2.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.comboBox_5 = CheckableComboBox(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.setMinimumSize(QtCore.QSize(13, 26)) self.comboBox_5.setObjectName("comboBox_5") self.gridLayout_2.addWidget(self.comboBox_5, 1, 1, 1, 1) self.verticalLayout_2.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.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.pushButton_partition = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_partition.sizePolicy().hasHeightForWidth()) self.pushButton_partition.setSizePolicy(sizePolicy) self.pushButton_partition.setLayoutDirection(QtCore.Qt.LeftToRight) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/pie-chart.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_partition.setIcon(icon) self.pushButton_partition.setCheckable(True) self.pushButton_partition.setObjectName("pushButton_partition") self.gridLayout.addWidget(self.pushButton_partition, 0, 2, 1, 1) self.checkBox_4 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_4.setObjectName("checkBox_4") self.gridLayout.addWidget(self.checkBox_4, 1, 0, 1, 1) self.comboBox_10 = QtWidgets.QComboBox(self.groupBox) self.comboBox_10.setEnabled(False) 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(13, 26)) self.comboBox_10.setObjectName("comboBox_10") self.gridLayout.addWidget(self.comboBox_10, 1, 1, 1, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") 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.horizontalLayout_2.addWidget(self.label_28) self.spinBox = QtWidgets.QSpinBox(self.groupBox) self.spinBox.setMinimum(2) self.spinBox.setMaximum(64) self.spinBox.setProperty("value", 4) self.spinBox.setObjectName("spinBox") self.horizontalLayout_2.addWidget(self.spinBox) self.gridLayout.addLayout(self.horizontalLayout_2, 1, 2, 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, 2, 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.gridLayout.addWidget(self.comboBox_4, 2, 1, 1, 2) self.label_27 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_27.setFont(font) self.label_27.setObjectName("label_27") self.gridLayout.addWidget(self.label_27, 3, 0, 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.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.comboBox_6.addItem("") self.gridLayout.addWidget(self.comboBox_6, 3, 1, 1, 2) self.verticalLayout_2.addWidget(self.groupBox) self.groupBox_5 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_4.setObjectName("gridLayout_4") self.label = QtWidgets.QLabel(self.groupBox_5) self.label.setObjectName("label") self.gridLayout_4.addWidget(self.label, 0, 0, 1, 2) self.spinBox_2 = QtWidgets.QSpinBox(self.groupBox_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.spinBox_2.sizePolicy().hasHeightForWidth()) self.spinBox_2.setSizePolicy(sizePolicy) self.spinBox_2.setWrapping(True) self.spinBox_2.setMinimum(1) self.spinBox_2.setMaximum(999999999) self.spinBox_2.setSingleStep(1) self.spinBox_2.setProperty("value", 2000000) self.spinBox_2.setObjectName("spinBox_2") self.gridLayout_4.addWidget(self.spinBox_2, 0, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.groupBox_5) self.label_2.setObjectName("label_2") self.gridLayout_4.addWidget(self.label_2, 0, 3, 1, 1) self.spinBox_6 = QtWidgets.QSpinBox(self.groupBox_5) 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(99999999) self.spinBox_6.setProperty("value", 100) self.spinBox_6.setObjectName("spinBox_6") self.gridLayout_4.addWidget(self.spinBox_6, 0, 5, 1, 1) self.label_3 = QtWidgets.QLabel(self.groupBox_5) self.label_3.setObjectName("label_3") self.gridLayout_4.addWidget(self.label_3, 1, 0, 1, 2) self.spinBox_7 = QtWidgets.QSpinBox(self.groupBox_5) 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.setWrapping(True) self.spinBox_7.setMinimum(1) self.spinBox_7.setMaximum(9999) self.spinBox_7.setSingleStep(1) self.spinBox_7.setProperty("value", 2) self.spinBox_7.setObjectName("spinBox_7") self.gridLayout_4.addWidget(self.spinBox_7, 1, 2, 1, 1) self.label_4 = QtWidgets.QLabel(self.groupBox_5) self.label_4.setObjectName("label_4") self.gridLayout_4.addWidget(self.label_4, 1, 3, 1, 2) self.spinBox_8 = QtWidgets.QSpinBox(self.groupBox_5) 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.setWrapping(True) self.spinBox_8.setMinimum(1) self.spinBox_8.setMaximum(9999) self.spinBox_8.setSingleStep(1) self.spinBox_8.setProperty("value", 4) self.spinBox_8.setObjectName("spinBox_8") self.gridLayout_4.addWidget(self.spinBox_8, 1, 5, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox_5) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.buttonGroup = QtWidgets.QButtonGroup(MrBayes) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.checkBox) self.gridLayout_4.addWidget(self.checkBox, 2, 0, 1, 2) self.doubleSpinBox_2 = QtWidgets.QDoubleSpinBox(self.groupBox_5) 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.setMaximum(1.0) self.doubleSpinBox_2.setSingleStep(0.01) self.doubleSpinBox_2.setProperty("value", 0.25) self.doubleSpinBox_2.setObjectName("doubleSpinBox_2") self.gridLayout_4.addWidget(self.doubleSpinBox_2, 2, 2, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox_5) self.checkBox_2.setObjectName("checkBox_2") self.buttonGroup.addButton(self.checkBox_2) self.gridLayout_4.addWidget(self.checkBox_2, 2, 3, 1, 1) self.spinBox_10 = QtWidgets.QSpinBox(self.groupBox_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.spinBox_10.sizePolicy().hasHeightForWidth()) self.spinBox_10.setSizePolicy(sizePolicy) self.spinBox_10.setWrapping(True) self.spinBox_10.setMinimum(1) self.spinBox_10.setMaximum(999999999) self.spinBox_10.setSingleStep(1) self.spinBox_10.setProperty("value", 250) self.spinBox_10.setObjectName("spinBox_10") self.gridLayout_4.addWidget(self.spinBox_10, 2, 5, 1, 1) self.label_6 = QtWidgets.QLabel(self.groupBox_5) self.label_6.setObjectName("label_6") self.gridLayout_4.addWidget(self.label_6, 3, 0, 1, 1) self.label_7 = QtWidgets.QLabel(self.groupBox_5) self.label_7.setObjectName("label_7") self.gridLayout_4.addWidget(self.label_7, 3, 3, 1, 1) self.comboBox_8 = QtWidgets.QComboBox(self.groupBox_5) 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.gridLayout_4.addWidget(self.comboBox_8, 3, 2, 1, 1) self.comboBox_9 = QtWidgets.QComboBox(self.groupBox_5) 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.setObjectName("comboBox_9") self.comboBox_9.addItem("") self.comboBox_9.addItem("") self.gridLayout_4.addWidget(self.comboBox_9, 3, 5, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_5) self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) 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) 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) self.pushButton.setLayoutDirection(QtCore.Qt.LeftToRight) self.pushButton.setAutoFillBackground(False) 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.setAutoExclusive(False) self.pushButton.setObjectName("pushButton") self.gridLayout_3.addWidget(self.pushButton, 0, 0, 1, 1) 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) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap( ":/picture/resourses/Play-pause_button_play_stop_blue_pause.png" ), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_continue.setIcon(icon2) self.pushButton_continue.setAutoExclusive(False) self.pushButton_continue.setObjectName("pushButton_continue") self.gridLayout_3.addWidget(self.pushButton_continue, 0, 1, 1, 1) self.pushButton_10 = QtWidgets.QPushButton(self.groupBox_3) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_10.setIcon(icon3) self.pushButton_10.setObjectName("pushButton_10") self.gridLayout_3.addWidget(self.pushButton_10, 1, 0, 1, 1) self.pushButton_2 = ArrowPushButton(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) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_2.setIcon(icon4) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_3.addWidget(self.pushButton_2, 1, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_3) self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) self.groupBox_6.setObjectName("groupBox_6") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_6) self.verticalLayout.setObjectName("verticalLayout") self.label_8 = QtWidgets.QLabel(self.groupBox_6) self.label_8.setObjectName("label_8") self.verticalLayout.addWidget(self.label_8) self.progressBar = QtWidgets.QProgressBar(self.groupBox_6) self.progressBar.setProperty("value", 0) self.progressBar.setObjectName("progressBar") self.verticalLayout.addWidget(self.progressBar) self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6) self.pushButton_9.setIcon(icon3) self.pushButton_9.setObjectName("pushButton_9") self.verticalLayout.addWidget(self.pushButton_9) self.verticalLayout_2.addWidget(self.groupBox_6) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(MrBayes) self.pushButton_partition.toggled['bool'].connect( self.comboBox_7.setDisabled) self.checkBox_4.toggled['bool'].connect(self.comboBox_10.setEnabled) QtCore.QMetaObject.connectSlotsByName(MrBayes) MrBayes.setTabOrder(self.pushButton_3, self.pushButton_9) MrBayes.setTabOrder(self.pushButton_9, self.lineEdit) MrBayes.setTabOrder(self.lineEdit, self.pushButton_2) MrBayes.setTabOrder(self.pushButton_2, self.pushButton)
def setupUi(self, compareTable): compareTable.setObjectName("compareTable") compareTable.resize(444, 416) compareTable.setSizeGripEnabled(True) self.gridLayout_3 = QtWidgets.QGridLayout(compareTable) self.gridLayout_3.setObjectName("gridLayout_3") self.groupBox_4 = QtWidgets.QGroupBox(compareTable) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout_2.setObjectName("gridLayout_2") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.label_4 = QtWidgets.QLabel(self.groupBox_4) self.label_4.setObjectName("label_4") self.verticalLayout.addWidget(self.label_4) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) self.listWidget = QtWidgets.QListWidget(self.groupBox_4) self.listWidget.setAcceptDrops(True) self.listWidget.setTabKeyNavigation(True) self.listWidget.setDragEnabled(True) self.listWidget.setDragDropOverwriteMode(False) self.listWidget.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget.setAlternatingRowColors(True) self.listWidget.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget.setSelectionRectVisible(False) self.listWidget.setObjectName("listWidget") self.gridLayout_2.addWidget(self.listWidget, 0, 1, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") 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.verticalLayout_2.addWidget(self.pushButton_3) self.toolButton_T = QtWidgets.QToolButton(self.groupBox_4) self.toolButton_T.setMinimumSize(QtCore.QSize(30, 30)) self.toolButton_T.setMaximumSize(QtCore.QSize(30, 30)) self.toolButton_T.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_T.setIcon(icon) self.toolButton_T.setIconSize(QtCore.QSize(26, 26)) self.toolButton_T.setAutoRaise(True) self.toolButton_T.setObjectName("toolButton_T") self.verticalLayout_2.addWidget(self.toolButton_T) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 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) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) 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_3.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox = QtWidgets.QGroupBox(compareTable) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.spinBox = QtWidgets.QSpinBox(self.groupBox) self.spinBox.setProperty("value", 2) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 2, 1, 1, 1) self.label = QtWidgets.QLabel(self.groupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 2, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 1, 0, 1, 2) self.gridLayout_3.addWidget(self.groupBox, 1, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(compareTable) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setObjectName("gridLayout_5") 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_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(compareTable) 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.retranslateUi(compareTable) QtCore.QMetaObject.connectSlotsByName(compareTable)
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"))
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 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 setupUi(self, RSCUfig): RSCUfig.setObjectName("RSCUfig") RSCUfig.resize(537, 597) self.gridLayout_3 = QtWidgets.QGridLayout(RSCUfig) self.gridLayout_3.setObjectName("gridLayout_3") self.splitter = QtWidgets.QSplitter(RSCUfig) self.splitter.setMidLineWidth(0) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setHandleWidth(5) self.splitter.setObjectName("splitter") self.groupBox = QtWidgets.QGroupBox(self.splitter) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.listWidget_3 = QtWidgets.QListWidget(self.groupBox) self.listWidget_3.setAcceptDrops(True) self.listWidget_3.setEditTriggers( QtWidgets.QAbstractItemView.AnyKeyPressed | QtWidgets.QAbstractItemView.DoubleClicked | QtWidgets.QAbstractItemView.EditKeyPressed) self.listWidget_3.setDragEnabled(True) self.listWidget_3.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget_3.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget_3.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget_3.setViewMode(QtWidgets.QListView.ListMode) self.listWidget_3.setObjectName("listWidget_3") self.gridLayout.addWidget(self.listWidget_3, 0, 0, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.pushButton_3 = QtWidgets.QPushButton(self.groupBox) 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.verticalLayout_2.addWidget(self.pushButton_3) self.toolButton_T = QtWidgets.QToolButton(self.groupBox) self.toolButton_T.setMinimumSize(QtCore.QSize(30, 30)) self.toolButton_T.setMaximumSize(QtCore.QSize(30, 30)) self.toolButton_T.setText("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolButton_T.setIcon(icon) self.toolButton_T.setIconSize(QtCore.QSize(26, 26)) self.toolButton_T.setAutoRaise(True) self.toolButton_T.setObjectName("toolButton_T") self.verticalLayout_2.addWidget(self.toolButton_T) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_16 = QtWidgets.QLabel(self.groupBox) self.label_16.setOpenExternalLinks(True) self.label_16.setObjectName("label_16") self.horizontalLayout.addWidget(self.label_16) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.label_3 = QtWidgets.QLabel(self.groupBox) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.label_2 = ClickedLableGif(self.groupBox) self.label_2.setText("") self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 2) self.groupBox_2 = QtWidgets.QGroupBox(self.splitter) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_6.setObjectName("gridLayout_6") self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.label_4 = QtWidgets.QLabel(self.groupBox_2) self.label_4.setObjectName("label_4") self.verticalLayout_3.addWidget(self.label_4) self.listWidget_2 = QtWidgets.QListWidget(self.groupBox_2) self.listWidget_2.setEditTriggers( QtWidgets.QAbstractItemView.NoEditTriggers) self.listWidget_2.setDragEnabled(True) self.listWidget_2.setDragDropMode( QtWidgets.QAbstractItemView.InternalMove) self.listWidget_2.setDefaultDropAction(QtCore.Qt.MoveAction) self.listWidget_2.setSelectionMode( QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget_2.setObjectName("listWidget_2") self.verticalLayout_3.addWidget(self.listWidget_2) self.gridLayout_6.addLayout(self.verticalLayout_3, 0, 0, 1, 1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.label_6 = QtWidgets.QLabel(self.groupBox_2) self.label_6.setObjectName("label_6") self.verticalLayout.addWidget(self.label_6) self.pushButton_color = QtWidgets.QPushButton(self.groupBox_2) 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.setText("") self.pushButton_color.setObjectName("pushButton_color") self.verticalLayout.addWidget(self.pushButton_color) self.pushButton_color_2 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_2.sizePolicy().hasHeightForWidth()) self.pushButton_color_2.setSizePolicy(sizePolicy) self.pushButton_color_2.setAutoFillBackground(False) self.pushButton_color_2.setStyleSheet("") self.pushButton_color_2.setText("") self.pushButton_color_2.setObjectName("pushButton_color_2") self.verticalLayout.addWidget(self.pushButton_color_2) self.pushButton_color_3 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_3.sizePolicy().hasHeightForWidth()) self.pushButton_color_3.setSizePolicy(sizePolicy) self.pushButton_color_3.setAutoFillBackground(False) self.pushButton_color_3.setStyleSheet("") self.pushButton_color_3.setText("") self.pushButton_color_3.setObjectName("pushButton_color_3") self.verticalLayout.addWidget(self.pushButton_color_3) self.pushButton_color_4 = QtWidgets.QPushButton(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_color_4.sizePolicy().hasHeightForWidth()) self.pushButton_color_4.setSizePolicy(sizePolicy) self.pushButton_color_4.setAutoFillBackground(False) self.pushButton_color_4.setStyleSheet("") self.pushButton_color_4.setText("") self.pushButton_color_4.setObjectName("pushButton_color_4") self.verticalLayout.addWidget(self.pushButton_color_4) self.gridLayout_6.addLayout(self.verticalLayout, 0, 1, 1, 1) 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.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.setMinimum(1) self.spinBox_5.setMaximum(999) self.spinBox_5.setProperty("value", 9) self.spinBox_5.setObjectName("spinBox_5") self.horizontalLayout_2.addWidget(self.spinBox_5) self.label_15 = QtWidgets.QLabel(self.groupBox_2) self.label_15.setObjectName("label_15") self.horizontalLayout_2.addWidget(self.label_15) self.spinBox_6 = QtWidgets.QSpinBox(self.groupBox_2) 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(999) self.spinBox_6.setProperty("value", 8) self.spinBox_6.setObjectName("spinBox_6") self.horizontalLayout_2.addWidget(self.spinBox_6) self.gridLayout_6.addLayout(self.horizontalLayout_2, 1, 0, 1, 2) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.label_13 = QtWidgets.QLabel(self.groupBox_2) self.label_13.setObjectName("label_13") self.gridLayout_2.addWidget(self.label_13, 0, 0, 1, 2) self.doubleSpinBox_2 = MyDoubleSpinBox(self.groupBox_2) self.doubleSpinBox_2.setReadOnly(False) self.doubleSpinBox_2.setDecimals(1) self.doubleSpinBox_2.setSingleStep(0.1) self.doubleSpinBox_2.setProperty("value", 2.0) self.doubleSpinBox_2.setObjectName("doubleSpinBox_2") self.gridLayout_2.addWidget(self.doubleSpinBox_2, 0, 2, 1, 1) self.doubleSpinBox_3 = MyDoubleSpinBox(self.groupBox_2) self.doubleSpinBox_3.setToolTip("") self.doubleSpinBox_3.setReadOnly(False) self.doubleSpinBox_3.setDecimals(1) self.doubleSpinBox_3.setSingleStep(0.1) self.doubleSpinBox_3.setProperty("value", 6.5) self.doubleSpinBox_3.setObjectName("doubleSpinBox_3") self.gridLayout_2.addWidget(self.doubleSpinBox_3, 1, 2, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox_2) self.label_14.setObjectName("label_14") self.gridLayout_2.addWidget(self.label_14, 1, 0, 1, 2) self.gridLayout_6.addLayout(self.gridLayout_2, 2, 0, 1, 2) self.gridLayout_3.addWidget(self.splitter, 0, 0, 1, 1) self.groupBox_3 = QtWidgets.QGroupBox(RSCUfig) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setObjectName("gridLayout_5") 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_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, 1, 0, 1, 1) self.groupBox_5 = QtWidgets.QGroupBox(RSCUfig) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_4.setObjectName("gridLayout_4") self.progressBar = QtWidgets.QProgressBar(self.groupBox_5) 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_5, 2, 0, 1, 1) self.retranslateUi(RSCUfig) QtCore.QMetaObject.connectSlotsByName(RSCUfig)
class Ui_ModelFinder(object): def setupUi(self, ModelFinder): ModelFinder.setObjectName("ModelFinder") ModelFinder.resize(835, 522) self.verticalLayout = QtWidgets.QVBoxLayout(ModelFinder) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.groupBox_4 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout.setObjectName("gridLayout") self.label_5 = QtWidgets.QLabel(self.groupBox_4) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1) self.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout.addWidget(self.lineEdit, 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_8 = QtWidgets.QLabel(self.groupBox_4) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 1, 0, 1, 1) self.lineEdit_2 = InputQLineEdit(self.groupBox_4) self.lineEdit_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit_2.setReadOnly(True) self.lineEdit_2.setObjectName("lineEdit_2") self.gridLayout.addWidget(self.lineEdit_2, 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.label_3 = QtWidgets.QLabel(self.groupBox_4) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) 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.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.gridLayout_4.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox_2 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_2.setCheckable(True) self.groupBox_2.setChecked(False) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_5.setContentsMargins(3, 6, 3, 3) self.gridLayout_5.setHorizontalSpacing(3) self.gridLayout_5.setVerticalSpacing(2) self.gridLayout_5.setObjectName("gridLayout_5") self.radioButton = QtWidgets.QRadioButton(self.groupBox_2) 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_2) self.radioButton_2.setObjectName("radioButton_2") self.gridLayout_5.addWidget(self.radioButton_2, 0, 1, 1, 1) self.checkBox_3 = QtWidgets.QCheckBox(self.groupBox_2) self.checkBox_3.setObjectName("checkBox_3") self.gridLayout_5.addWidget(self.checkBox_3, 0, 2, 1, 1) self.textEdit = DblClickTexedit(self.groupBox_2) self.textEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit.setReadOnly(True) self.textEdit.setObjectName("textEdit") self.gridLayout_5.addWidget(self.textEdit, 1, 0, 1, 3) self.gridLayout_4.addWidget(self.groupBox_2, 0, 1, 2, 1) self.groupBox = QtWidgets.QGroupBox(ModelFinder) self.groupBox.setObjectName("groupBox") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_2.setObjectName("gridLayout_2") self.label_24 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_24.setFont(font) self.label_24.setObjectName("label_24") self.gridLayout_2.addWidget(self.label_24, 0, 0, 1, 1) 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, 1, 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(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.gridLayout_2.addWidget(self.comboBox_9, 1, 1, 1, 2) self.label_25 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_25.setFont(font) self.label_25.setObjectName("label_25") self.gridLayout_2.addWidget(self.label_25, 2, 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.gridLayout_2.addWidget(self.comboBox_4, 2, 1, 1, 2) 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_2.addWidget(self.label_26, 3, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupBox) font = QtGui.QFont() font.setPointSize(10) self.label_27.setFont(font) self.label_27.setObjectName("label_27") self.gridLayout_2.addWidget(self.label_27, 4, 0, 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_2.addWidget(self.comboBox_6, 4, 1, 1, 1) self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox) self.checkBox_2.setAutoRepeat(False) self.checkBox_2.setAutoExclusive(False) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout_2.addWidget(self.checkBox_2, 4, 2, 1, 1) self.comboBox_3 = QtWidgets.QComboBox(self.groupBox) 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(153, 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_2.addWidget(self.comboBox_3, 0, 1, 1, 2) 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.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.comboBox_5.addItem("") self.gridLayout_2.addWidget(self.comboBox_5, 3, 1, 1, 2) self.gridLayout_4.addWidget(self.groupBox, 1, 0, 1, 1) self.gridLayout_4.setColumnStretch(0, 9) self.gridLayout_4.setColumnStretch(1, 7) self.verticalLayout.addLayout(self.gridLayout_4) self.groupBox_3 = QtWidgets.QGroupBox(ModelFinder) self.groupBox_3.setObjectName("groupBox_3") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_3) self.horizontalLayout_2.setObjectName("horizontalLayout_2") 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_2.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_2.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_2.addWidget(self.pushButton_2) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_6 = QtWidgets.QGroupBox(ModelFinder) 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.label_24.setBuddy(self.comboBox_3) self.label_25.setBuddy(self.comboBox_3) self.label_26.setBuddy(self.comboBox_3) self.label_27.setBuddy(self.comboBox_3) self.retranslateUi(ModelFinder) QtCore.QMetaObject.connectSlotsByName(ModelFinder) ModelFinder.setTabOrder(self.pushButton_3, self.pushButton_4) ModelFinder.setTabOrder(self.pushButton_4, self.pushButton_9) ModelFinder.setTabOrder(self.pushButton_9, self.lineEdit_2) ModelFinder.setTabOrder(self.lineEdit_2, self.comboBox_3) ModelFinder.setTabOrder(self.comboBox_3, self.lineEdit) ModelFinder.setTabOrder(self.lineEdit, self.comboBox_4) ModelFinder.setTabOrder(self.comboBox_4, self.comboBox_5) ModelFinder.setTabOrder(self.comboBox_5, self.comboBox_6) ModelFinder.setTabOrder(self.comboBox_6, self.pushButton_2) ModelFinder.setTabOrder(self.pushButton_2, self.pushButton) def retranslateUi(self, ModelFinder): _translate = QtCore.QCoreApplication.translate ModelFinder.setWindowTitle(_translate("ModelFinder", "ModelFinder")) self.groupBox_4.setTitle(_translate("ModelFinder", "Input")) self.label_5.setText(_translate("ModelFinder", "Alignment File:")) self.lineEdit.setPlaceholderText( _translate("ModelFinder", "PHYLIP, FASTA, NEXUS, CLUSTAL format is ok")) self.label_8.setText(_translate("ModelFinder", "Tree File:")) self.lineEdit_2.setPlaceholderText( _translate("ModelFinder", "Optional! (in newick format)")) self.label_14.setText( _translate( "ModelFinder", "<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("ModelFinder", "Demo:")) self.label_2.setToolTip(_translate("ModelFinder", "Brief example")) self.groupBox_2.setTitle(_translate("ModelFinder", "Partition Mode")) self.radioButton.setText(_translate("ModelFinder", "Edge-linked")) self.radioButton_2.setText(_translate("ModelFinder", "Edge-unlinked")) self.checkBox_3.setText(_translate("ModelFinder", "Merge")) self.textEdit.setToolTip( _translate("ModelFinder", "Double-click to edit partition")) self.groupBox.setTitle(_translate("ModelFinder", "Parameters")) self.label_24.setText(_translate("ModelFinder", "Sequence Type:")) self.label_22.setText(_translate("ModelFinder", "Code Table:")) self.comboBox_9.setItemText( 0, _translate("ModelFinder", "1 The standard code")) self.comboBox_9.setItemText( 1, _translate("ModelFinder", "2 Vertebrate mitochondrial code")) self.comboBox_9.setItemText( 2, _translate("ModelFinder", "3 The Yeast Mitochondrial Code")) self.comboBox_9.setItemText( 3, _translate( "ModelFinder", "4 Mold, Protozoan, and Coelenterate Mitochondrial code and Mycoplasma/Spiroplasma code" )) self.comboBox_9.setItemText( 4, _translate("ModelFinder", "5 Invertebrate mitochondrial")) self.comboBox_9.setItemText( 5, _translate( "ModelFinder", "6 The Ciliate, Dasycladacean and Hexamita Nuclear Code")) self.comboBox_9.setItemText( 6, _translate("ModelFinder", "9 Echinoderm and Flatworm mitochondrial code")) self.comboBox_9.setItemText( 7, _translate("ModelFinder", "10 The Euplotid Nuclear Code")) self.comboBox_9.setItemText( 8, _translate("ModelFinder", "11 The Bacterial, Archaeal and Plant Plastid Code")) self.comboBox_9.setItemText( 9, _translate("ModelFinder", "12 The Alternative Yeast Nuclear Code")) self.comboBox_9.setItemText( 10, _translate("ModelFinder", "13 Ascidian mitochondrial code")) self.comboBox_9.setItemText( 11, _translate("ModelFinder", "14 Alternative flatworm mitochondrial code")) self.comboBox_9.setItemText( 12, _translate("ModelFinder", "16 Chlorophycean Mitochondrial Code")) self.comboBox_9.setItemText( 13, _translate("ModelFinder", "21 Trematode Mitochondrial Code")) self.comboBox_9.setItemText( 14, _translate("ModelFinder", "22 Scenedesmus obliquus Mitochondrial Code")) self.comboBox_9.setItemText( 15, _translate("ModelFinder", "23 Thraustochytrium Mitochondrial Code")) self.comboBox_9.setItemText( 16, _translate("ModelFinder", "24 Pterobranchia Mitochondrial Code")) self.comboBox_9.setItemText( 17, _translate("ModelFinder", "25 Candidate Division SR1 and Gracilibacteria Code")) self.label_25.setText(_translate("ModelFinder", "Criterion:")) self.comboBox_4.setItemText( 0, _translate("ModelFinder", "Bayesian information criterion (BIC)")) self.comboBox_4.setItemText( 1, _translate("ModelFinder", "Corrected AIC (AICc)")) self.comboBox_4.setItemText( 2, _translate("ModelFinder", "Akaike information criterion (AIC)")) self.label_26.setText(_translate("ModelFinder", "Model for:")) self.label_27.setText(_translate("ModelFinder", "Threads:")) self.checkBox_2.setText( _translate("ModelFinder", "FreeRate heterogeneity [+R]")) self.comboBox_3.setItemText(0, _translate("ModelFinder", "Auto detect")) self.comboBox_3.setItemText(1, _translate("ModelFinder", "DNA")) self.comboBox_3.setItemText(2, _translate("ModelFinder", "Protein")) self.comboBox_3.setItemText(3, _translate("ModelFinder", "Codon")) self.comboBox_3.setItemText(4, _translate("ModelFinder", "Binary")) self.comboBox_3.setItemText(5, _translate("ModelFinder", "Morphology")) self.comboBox_3.setItemText(6, _translate("ModelFinder", "DNA-->AA")) self.comboBox_5.setItemText(0, _translate("ModelFinder", "IQ-TREE")) self.comboBox_5.setItemText(1, _translate("ModelFinder", "Mrbayes")) self.comboBox_5.setItemText(2, _translate("ModelFinder", "RAxML")) self.comboBox_5.setItemText(3, _translate("ModelFinder", "PhyML")) self.comboBox_5.setItemText(4, _translate("ModelFinder", "BEAST1 (NUC)")) self.comboBox_5.setItemText(5, _translate("ModelFinder", "BEAST2 (NUC)")) self.comboBox_5.setItemText(6, _translate("ModelFinder", "BEAST (AA)")) self.groupBox_3.setTitle(_translate("ModelFinder", "Run")) self.pushButton.setText(_translate("ModelFinder", "Start")) self.pushButton_continue.setText( _translate("ModelFinder", "Continue Previous Analysis")) self.pushButton_2.setText(_translate("ModelFinder", "Stop")) self.groupBox_6.setTitle(_translate("ModelFinder", "Progress")) self.pushButton_9.setText(_translate("ModelFinder", "Show log"))
def setupUi(self, PartitionFinder): PartitionFinder.setObjectName("PartitionFinder") PartitionFinder.resize(653, 531) self.gridLayout_9 = QtWidgets.QGridLayout(PartitionFinder) self.gridLayout_9.setObjectName("gridLayout_9") self.groupBox_4 = QtWidgets.QGroupBox(PartitionFinder) 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.lineEdit = InputQLineEdit(self.groupBox_4) self.lineEdit.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit.setText("") self.lineEdit.setReadOnly(True) self.lineEdit.setObjectName("lineEdit") self.gridLayout.addWidget(self.lineEdit, 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.lineEdit_2 = InputQLineEdit(self.groupBox_4) self.lineEdit_2.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) self.lineEdit_2.setReadOnly(True) self.lineEdit_2.setObjectName("lineEdit_2") self.gridLayout.addWidget(self.lineEdit_2, 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.label_13 = QtWidgets.QLabel(self.groupBox_4) self.label_13.setObjectName("label_13") self.horizontalLayout.addWidget(self.label_13) self.label_12 = ClickedLableGif(self.groupBox_4) self.label_12.setText("") self.label_12.setObjectName("label_12") self.horizontalLayout.addWidget(self.label_12) self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3) self.gridLayout_9.addWidget(self.groupBox_4, 0, 0, 1, 1) self.groupBox = QtWidgets.QGroupBox(PartitionFinder) self.groupBox.setObjectName("groupBox") self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_2.setContentsMargins(2, 4, 2, 2) self.gridLayout_2.setObjectName("gridLayout_2") self.tabWidget = QtWidgets.QTabWidget(self.groupBox) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab) self.horizontalLayout_2.setContentsMargins(5, 2, 2, 0) self.horizontalLayout_2.setSpacing(6) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.label = QtWidgets.QLabel(self.tab) self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label.setObjectName("label") self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) self.comboBox = QtWidgets.QComboBox(self.tab) 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.gridLayout_6.addWidget(self.comboBox, 0, 1, 1, 1) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.gridLayout_6.addWidget(self.label_2, 1, 0, 1, 1) self.comboBox_2 = QtWidgets.QComboBox(self.tab) 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_6.addWidget(self.comboBox_2, 1, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_3.setObjectName("label_3") self.gridLayout_6.addWidget(self.label_3, 2, 0, 1, 1) self.comboBox_3 = QtWidgets.QComboBox(self.tab) 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.gridLayout_6.addWidget(self.comboBox_3, 2, 1, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.gridLayout_6.addWidget(self.label_5, 3, 0, 1, 1) self.comboBox_4 = QtWidgets.QComboBox(self.tab) 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.setObjectName("comboBox_4") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.comboBox_4.addItem("") self.gridLayout_6.addWidget(self.comboBox_4, 3, 1, 1, 1) self.pushButton_cmd1 = QtWidgets.QPushButton(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_cmd1.sizePolicy().hasHeightForWidth()) self.pushButton_cmd1.setSizePolicy(sizePolicy) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/picture/resourses/terminal-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_cmd1.setIcon(icon) self.pushButton_cmd1.setObjectName("pushButton_cmd1") self.gridLayout_6.addWidget(self.pushButton_cmd1, 4, 0, 1, 2) self.horizontalLayout_2.addLayout(self.gridLayout_6) self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_4.setContentsMargins(2, 9, 2, 2) self.gridLayout_4.setSpacing(0) self.gridLayout_4.setObjectName("gridLayout_4") self.textEdit = DblClickTexedit(self.groupBox_2) self.textEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit.setReadOnly(True) self.textEdit.setObjectName("textEdit") self.gridLayout_4.addWidget(self.textEdit, 0, 0, 1, 2) self.horizontalLayout_2.addWidget(self.groupBox_2) self.horizontalLayout_2.setStretch(0, 9) self.horizontalLayout_2.setStretch(1, 7) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_2) self.horizontalLayout_3.setContentsMargins(5, 2, 2, 0) self.horizontalLayout_3.setSpacing(6) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_10.setObjectName("label_10") self.gridLayout_3.addWidget(self.label_10, 0, 0, 1, 1) self.comboBox_6 = QtWidgets.QComboBox(self.tab_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_3.addWidget(self.comboBox_6, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.tab_2) self.label_7.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.gridLayout_3.addWidget(self.label_7, 1, 0, 1, 1) self.comboBox_8 = QtWidgets.QComboBox(self.tab_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.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.comboBox_8.addItem("") self.gridLayout_3.addWidget(self.comboBox_8, 1, 1, 1, 1) self.label_8 = QtWidgets.QLabel(self.tab_2) self.label_8.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_8.setObjectName("label_8") self.gridLayout_3.addWidget(self.label_8, 2, 0, 1, 1) self.comboBox_7 = QtWidgets.QComboBox(self.tab_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.comboBox_7.addItem("") self.gridLayout_3.addWidget(self.comboBox_7, 2, 1, 1, 1) self.label_9 = QtWidgets.QLabel(self.tab_2) self.label_9.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_9.setObjectName("label_9") self.gridLayout_3.addWidget(self.label_9, 3, 0, 1, 1) self.comboBox_5 = QtWidgets.QComboBox(self.tab_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.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.comboBox_5.addItem("") self.gridLayout_3.addWidget(self.comboBox_5, 3, 1, 1, 1) self.pushButton_cmd2 = QtWidgets.QPushButton(self.tab_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pushButton_cmd2.sizePolicy().hasHeightForWidth()) self.pushButton_cmd2.setSizePolicy(sizePolicy) self.pushButton_cmd2.setIcon(icon) self.pushButton_cmd2.setObjectName("pushButton_cmd2") self.gridLayout_3.addWidget(self.pushButton_cmd2, 4, 0, 1, 2) self.horizontalLayout_3.addLayout(self.gridLayout_3) self.groupBox_3 = QtWidgets.QGroupBox(self.tab_2) self.groupBox_3.setObjectName("groupBox_3") self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3) self.gridLayout_5.setContentsMargins(2, 9, 2, 2) self.gridLayout_5.setSpacing(0) self.gridLayout_5.setObjectName("gridLayout_5") self.textEdit_2 = DblClickTexedit(self.groupBox_3) self.textEdit_2.setLineWrapMode(QtWidgets.QTextEdit.NoWrap) self.textEdit_2.setReadOnly(True) self.textEdit_2.setTextInteractionFlags( QtCore.Qt.TextSelectableByMouse) self.textEdit_2.setObjectName("textEdit_2") self.gridLayout_5.addWidget(self.textEdit_2, 0, 0, 1, 2) self.horizontalLayout_3.addWidget(self.groupBox_3) self.horizontalLayout_3.setStretch(0, 9) self.horizontalLayout_3.setStretch(1, 7) self.tabWidget.addTab(self.tab_2, "") self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1) self.gridLayout_9.addWidget(self.groupBox, 1, 0, 1, 1) self.groupBox_5 = QtWidgets.QGroupBox(PartitionFinder) self.groupBox_5.setObjectName("groupBox_5") self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_5) self.gridLayout_8.setObjectName("gridLayout_8") self.pushButton_7 = QtWidgets.QPushButton(self.groupBox_5) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/picture/resourses/gears.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_7.setIcon(icon1) self.pushButton_7.setObjectName("pushButton_7") self.gridLayout_8.addWidget(self.pushButton_7, 0, 0, 1, 1) self.pushButton_8 = QtWidgets.QPushButton(self.groupBox_5) self.pushButton_8.setIcon(icon) self.pushButton_8.setObjectName("pushButton_8") self.gridLayout_8.addWidget(self.pushButton_8, 0, 1, 1, 1) self.pushButton_5 = ArrowPushButton(self.groupBox_5) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap(":/picture/resourses/if_start_60207.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_5.setIcon(icon2) self.pushButton_5.setObjectName("pushButton_5") self.gridLayout_8.addWidget(self.pushButton_5, 1, 0, 1, 1) self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_5) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(":/picture/resourses/if_Delete_1493279.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_2.setIcon(icon3) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_8.addWidget(self.pushButton_2, 1, 1, 1, 1) self.gridLayout_8.setColumnStretch(0, 1) self.gridLayout_8.setColumnStretch(1, 1) self.gridLayout_9.addWidget(self.groupBox_5, 2, 0, 1, 1) self.groupBox_6 = QtWidgets.QGroupBox(PartitionFinder) self.groupBox_6.setObjectName("groupBox_6") self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_6) self.gridLayout_7.setObjectName("gridLayout_7") self.label_11 = QtWidgets.QLabel(self.groupBox_6) self.label_11.setObjectName("label_11") self.gridLayout_7.addWidget(self.label_11, 0, 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, 1, 0, 1, 1) self.pushButton_9 = QtWidgets.QPushButton(self.groupBox_6) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(":/picture/resourses/Eye_Care_Services-512.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_9.setIcon(icon4) self.pushButton_9.setObjectName("pushButton_9") self.gridLayout_7.addWidget(self.pushButton_9, 2, 0, 1, 1) self.gridLayout_9.addWidget(self.groupBox_6, 3, 0, 1, 1) self.retranslateUi(PartitionFinder) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(PartitionFinder) PartitionFinder.setTabOrder(self.pushButton_5, self.lineEdit_2) PartitionFinder.setTabOrder(self.lineEdit_2, self.tabWidget) PartitionFinder.setTabOrder(self.tabWidget, self.pushButton_7) PartitionFinder.setTabOrder(self.pushButton_7, self.pushButton_4) PartitionFinder.setTabOrder(self.pushButton_4, self.lineEdit) PartitionFinder.setTabOrder(self.lineEdit, self.pushButton_8) PartitionFinder.setTabOrder(self.pushButton_8, self.pushButton_3) PartitionFinder.setTabOrder(self.pushButton_3, self.pushButton_2) PartitionFinder.setTabOrder(self.pushButton_2, self.pushButton_9) PartitionFinder.setTabOrder(self.pushButton_9, self.comboBox) PartitionFinder.setTabOrder(self.comboBox, self.textEdit) PartitionFinder.setTabOrder(self.textEdit, self.comboBox_2) PartitionFinder.setTabOrder(self.comboBox_2, self.comboBox_3) PartitionFinder.setTabOrder(self.comboBox_3, self.comboBox_4) PartitionFinder.setTabOrder(self.comboBox_4, self.pushButton_cmd1) PartitionFinder.setTabOrder(self.pushButton_cmd1, self.comboBox_6) PartitionFinder.setTabOrder(self.comboBox_6, self.textEdit_2) PartitionFinder.setTabOrder(self.textEdit_2, self.comboBox_8) PartitionFinder.setTabOrder(self.comboBox_8, self.comboBox_7) PartitionFinder.setTabOrder(self.comboBox_7, self.comboBox_5) PartitionFinder.setTabOrder(self.comboBox_5, self.pushButton_cmd2)
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"))