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 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, 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 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, 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 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 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 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, 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, 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, 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 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 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 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)