Пример #1
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(403, 299)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(Form)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.jointNamesList = QtWidgets.QTableWidget(Form)
        self.jointNamesList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.jointNamesList.setDragDropMode(QtWidgets.QAbstractItemView.NoDragDrop)
        self.jointNamesList.setAlternatingRowColors(True)
        self.jointNamesList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.jointNamesList.setObjectName("jointNamesList")
        self.jointNamesList.setColumnCount(1)
        self.jointNamesList.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.jointNamesList.setHorizontalHeaderItem(0, item)
        self.jointNamesList.horizontalHeader().setCascadingSectionResizes(True)
        self.jointNamesList.horizontalHeader().setDefaultSectionSize(40)
        self.jointNamesList.horizontalHeader().setStretchLastSection(True)
        self.horizontalLayout.addWidget(self.jointNamesList)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.add_pushButton = QtWidgets.QPushButton(Form)
        self.add_pushButton.setObjectName("add_pushButton")
        self.verticalLayout_2.addWidget(self.add_pushButton)
        self.remove_pushButton = QtWidgets.QPushButton(Form)
        self.remove_pushButton.setObjectName("remove_pushButton")
        self.verticalLayout_2.addWidget(self.remove_pushButton)
        self.removeAll_pushButton = QtWidgets.QPushButton(Form)
        self.removeAll_pushButton.setObjectName("removeAll_pushButton")
        self.verticalLayout_2.addWidget(self.removeAll_pushButton)
        self.line = QtWidgets.QFrame(Form)
        self.line.setMinimumSize(QtCore.QSize(0, 16))
        self.line.setBaseSize(QtCore.QSize(0, 0))
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_2.addWidget(self.line)
        self.moveUp_pushButton = QtWidgets.QPushButton(Form)
        self.moveUp_pushButton.setObjectName("moveUp_pushButton")
        self.verticalLayout_2.addWidget(self.moveUp_pushButton)
        self.moveDown_pushButton = QtWidgets.QPushButton(Form)
        self.moveDown_pushButton.setObjectName("moveDown_pushButton")
        self.verticalLayout_2.addWidget(self.moveDown_pushButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #2
0
    def mousePressEvent(self, event):
        # type: (QtGui.QMouseEvent) -> None

        self.syn_w, self.syn_wid_is_mainsyntab = self.searchMainSynopticTab()
        self.offset = self.calculateOffset()
        self.origin = event.pos()

        self.rubberband.setGeometry(QtCore.QRect(self.origin, QtCore.QSize()))
        self.rubberband.show()

        if self.syn_wid_is_mainsyntab:
            self.syn_w.mousePressEvent_(self.offsetEvent(event))
        else:
            self.syn_w.mousePressEvent(self.offsetEvent(event))
Пример #3
0
    def __init__(self, parent=None):
        super(mirror_controls_ui, self).__init__(parent)

        self.setWindowTitle("Mirror Controls")
        self.setWindowFlags(QtCore.Qt.Window)
        self.setAttribute(QtCore.Qt.WA_DeleteOnClose, 1)
        self.setMinimumSize(QtCore.QSize(350, 0))

        layout = QtWidgets.QVBoxLayout(self)
        self.selection_button = QtWidgets.QRadioButton("Selection")
        self.selection_button.setChecked(True)
        layout.addWidget(self.selection_button)

        self.left_to_right_button = QtWidgets.QRadioButton("Left to Right")
        layout.addWidget(self.left_to_right_button)

        self.right_to_left_button = QtWidgets.QRadioButton("Right to Left")
        layout.addWidget(self.right_to_left_button)

        self.mirror_button = QtWidgets.QPushButton("Mirror Controls")
        layout.addWidget(self.mirror_button)

        self.mirror_button.clicked.connect(self.mirror_button_pressed)
Пример #4
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(328, 491)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.groupBox_8 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_8.sizePolicy().hasHeightForWidth())
        self.groupBox_8.setSizePolicy(sizePolicy)
        self.groupBox_8.setObjectName("groupBox_8")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_8)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ctl_name_rule_lineEdit = QtWidgets.QLineEdit(self.groupBox_8)
        self.ctl_name_rule_lineEdit.setObjectName("ctl_name_rule_lineEdit")
        self.horizontalLayout.addWidget(self.ctl_name_rule_lineEdit)
        self.reset_ctl_name_rule_pushButton = QtWidgets.QPushButton(
            self.groupBox_8)
        self.reset_ctl_name_rule_pushButton.setMaximumSize(
            QtCore.QSize(40, 16777215))
        self.reset_ctl_name_rule_pushButton.setObjectName(
            "reset_ctl_name_rule_pushButton")
        self.horizontalLayout.addWidget(self.reset_ctl_name_rule_pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label = QtWidgets.QLabel(self.groupBox_8)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.ctl_des_letter_case_comboBox = QtWidgets.QComboBox(
            self.groupBox_8)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ctl_des_letter_case_comboBox.sizePolicy().hasHeightForWidth())
        self.ctl_des_letter_case_comboBox.setSizePolicy(sizePolicy)
        self.ctl_des_letter_case_comboBox.setObjectName(
            "ctl_des_letter_case_comboBox")
        self.ctl_des_letter_case_comboBox.addItem("")
        self.ctl_des_letter_case_comboBox.addItem("")
        self.ctl_des_letter_case_comboBox.addItem("")
        self.ctl_des_letter_case_comboBox.addItem("")
        self.horizontalLayout_3.addWidget(self.ctl_des_letter_case_comboBox)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.verticalLayout_3.addWidget(self.groupBox_8)
        self.groupBox_9 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_9.sizePolicy().hasHeightForWidth())
        self.groupBox_9.setSizePolicy(sizePolicy)
        self.groupBox_9.setObjectName("groupBox_9")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_9)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.joint_name_rule_lineEdit = QtWidgets.QLineEdit(self.groupBox_9)
        self.joint_name_rule_lineEdit.setObjectName("joint_name_rule_lineEdit")
        self.horizontalLayout_2.addWidget(self.joint_name_rule_lineEdit)
        self.reset_joint_name_rule_pushButton = QtWidgets.QPushButton(
            self.groupBox_9)
        self.reset_joint_name_rule_pushButton.setMaximumSize(
            QtCore.QSize(40, 16777215))
        self.reset_joint_name_rule_pushButton.setObjectName(
            "reset_joint_name_rule_pushButton")
        self.horizontalLayout_2.addWidget(
            self.reset_joint_name_rule_pushButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_3 = QtWidgets.QLabel(self.groupBox_9)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_5.addWidget(self.label_3)
        self.joint_des_letter_case_comboBox = QtWidgets.QComboBox(
            self.groupBox_9)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.joint_des_letter_case_comboBox.
                                     sizePolicy().hasHeightForWidth())
        self.joint_des_letter_case_comboBox.setSizePolicy(sizePolicy)
        self.joint_des_letter_case_comboBox.setObjectName(
            "joint_des_letter_case_comboBox")
        self.joint_des_letter_case_comboBox.addItem("")
        self.joint_des_letter_case_comboBox.addItem("")
        self.joint_des_letter_case_comboBox.addItem("")
        self.joint_des_letter_case_comboBox.addItem("")
        self.horizontalLayout_5.addWidget(self.joint_des_letter_case_comboBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout_3.addWidget(self.groupBox_9)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox_10 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_10.sizePolicy().hasHeightForWidth())
        self.groupBox_10.setSizePolicy(sizePolicy)
        self.groupBox_10.setObjectName("groupBox_10")
        self.formLayout_2 = QtWidgets.QFormLayout(self.groupBox_10)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_4 = QtWidgets.QLabel(self.groupBox_10)
        self.label_4.setObjectName("label_4")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.label_4)
        self.side_left_name_lineEdit = QtWidgets.QLineEdit(self.groupBox_10)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_left_name_lineEdit.sizePolicy().hasHeightForWidth())
        self.side_left_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_left_name_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.side_left_name_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.side_left_name_lineEdit.setObjectName("side_left_name_lineEdit")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.side_left_name_lineEdit)
        self.label_5 = QtWidgets.QLabel(self.groupBox_10)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                    self.label_5)
        self.side_right_name_lineEdit = QtWidgets.QLineEdit(self.groupBox_10)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_right_name_lineEdit.sizePolicy().hasHeightForWidth())
        self.side_right_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_right_name_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.side_right_name_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.side_right_name_lineEdit.setObjectName("side_right_name_lineEdit")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                    self.side_right_name_lineEdit)
        self.label_6 = QtWidgets.QLabel(self.groupBox_10)
        self.label_6.setObjectName("label_6")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                    self.label_6)
        self.side_center_name_lineEdit = QtWidgets.QLineEdit(self.groupBox_10)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_center_name_lineEdit.sizePolicy().hasHeightForWidth())
        self.side_center_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_center_name_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.side_center_name_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.side_center_name_lineEdit.setObjectName(
            "side_center_name_lineEdit")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                    self.side_center_name_lineEdit)
        self.reset_side_name_pushButton = QtWidgets.QPushButton(
            self.groupBox_10)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.reset_side_name_pushButton.sizePolicy().hasHeightForWidth())
        self.reset_side_name_pushButton.setSizePolicy(sizePolicy)
        self.reset_side_name_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.reset_side_name_pushButton.setObjectName(
            "reset_side_name_pushButton")
        self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                    self.reset_side_name_pushButton)
        self.gridLayout.addWidget(self.groupBox_10, 0, 0, 1, 1)
        self.groupBox_12 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_12.sizePolicy().hasHeightForWidth())
        self.groupBox_12.setSizePolicy(sizePolicy)
        self.groupBox_12.setObjectName("groupBox_12")
        self.formLayout_4 = QtWidgets.QFormLayout(self.groupBox_12)
        self.formLayout_4.setObjectName("formLayout_4")
        self.label_9 = QtWidgets.QLabel(self.groupBox_12)
        self.label_9.setObjectName("label_9")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.label_9)
        self.side_joint_left_name_lineEdit = QtWidgets.QLineEdit(
            self.groupBox_12)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.side_joint_left_name_lineEdit.
                                     sizePolicy().hasHeightForWidth())
        self.side_joint_left_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_joint_left_name_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.side_joint_left_name_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.side_joint_left_name_lineEdit.setObjectName(
            "side_joint_left_name_lineEdit")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.side_joint_left_name_lineEdit)
        self.label_10 = QtWidgets.QLabel(self.groupBox_12)
        self.label_10.setObjectName("label_10")
        self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                    self.label_10)
        self.side_joint_right_name_lineEdit = QtWidgets.QLineEdit(
            self.groupBox_12)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.side_joint_right_name_lineEdit.
                                     sizePolicy().hasHeightForWidth())
        self.side_joint_right_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_joint_right_name_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.side_joint_right_name_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.side_joint_right_name_lineEdit.setObjectName(
            "side_joint_right_name_lineEdit")
        self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                    self.side_joint_right_name_lineEdit)
        self.label_11 = QtWidgets.QLabel(self.groupBox_12)
        self.label_11.setObjectName("label_11")
        self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                    self.label_11)
        self.side_joint_center_name_lineEdit = QtWidgets.QLineEdit(
            self.groupBox_12)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.side_joint_center_name_lineEdit.
                                     sizePolicy().hasHeightForWidth())
        self.side_joint_center_name_lineEdit.setSizePolicy(sizePolicy)
        self.side_joint_center_name_lineEdit.setMinimumSize(QtCore.QSize(
            50, 0))
        self.side_joint_center_name_lineEdit.setAlignment(
            QtCore.Qt.AlignCenter)
        self.side_joint_center_name_lineEdit.setObjectName(
            "side_joint_center_name_lineEdit")
        self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                    self.side_joint_center_name_lineEdit)
        self.reset_joint_side_name_pushButton = QtWidgets.QPushButton(
            self.groupBox_12)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.reset_joint_side_name_pushButton.
                                     sizePolicy().hasHeightForWidth())
        self.reset_joint_side_name_pushButton.setSizePolicy(sizePolicy)
        self.reset_joint_side_name_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.reset_joint_side_name_pushButton.setObjectName(
            "reset_joint_side_name_pushButton")
        self.formLayout_4.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                    self.reset_joint_side_name_pushButton)
        self.gridLayout.addWidget(self.groupBox_12, 0, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.groupBox_13 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_13.sizePolicy().hasHeightForWidth())
        self.groupBox_13.setSizePolicy(sizePolicy)
        self.groupBox_13.setObjectName("groupBox_13")
        self.formLayout_5 = QtWidgets.QFormLayout(self.groupBox_13)
        self.formLayout_5.setObjectName("formLayout_5")
        self.label_12 = QtWidgets.QLabel(self.groupBox_13)
        self.label_12.setObjectName("label_12")
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.label_12)
        self.ctl_padding_spinBox = QtWidgets.QSpinBox(self.groupBox_13)
        self.ctl_padding_spinBox.setObjectName("ctl_padding_spinBox")
        self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.ctl_padding_spinBox)
        self.label_13 = QtWidgets.QLabel(self.groupBox_13)
        self.label_13.setObjectName("label_13")
        self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                    self.label_13)
        self.joint_padding_spinBox = QtWidgets.QSpinBox(self.groupBox_13)
        self.joint_padding_spinBox.setObjectName("joint_padding_spinBox")
        self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                    self.joint_padding_spinBox)
        self.horizontalLayout_4.addWidget(self.groupBox_13)
        self.groupBox_11 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_11.sizePolicy().hasHeightForWidth())
        self.groupBox_11.setSizePolicy(sizePolicy)
        self.groupBox_11.setObjectName("groupBox_11")
        self.formLayout_3 = QtWidgets.QFormLayout(self.groupBox_11)
        self.formLayout_3.setObjectName("formLayout_3")
        self.label_7 = QtWidgets.QLabel(self.groupBox_11)
        self.label_7.setObjectName("label_7")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.label_7)
        self.ctl_name_ext_lineEdit = QtWidgets.QLineEdit(self.groupBox_11)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ctl_name_ext_lineEdit.sizePolicy().hasHeightForWidth())
        self.ctl_name_ext_lineEdit.setSizePolicy(sizePolicy)
        self.ctl_name_ext_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.ctl_name_ext_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ctl_name_ext_lineEdit.setObjectName("ctl_name_ext_lineEdit")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.ctl_name_ext_lineEdit)
        self.label_8 = QtWidgets.QLabel(self.groupBox_11)
        self.label_8.setObjectName("label_8")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                    self.label_8)
        self.joint_name_ext_lineEdit = QtWidgets.QLineEdit(self.groupBox_11)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.joint_name_ext_lineEdit.sizePolicy().hasHeightForWidth())
        self.joint_name_ext_lineEdit.setSizePolicy(sizePolicy)
        self.joint_name_ext_lineEdit.setMinimumSize(QtCore.QSize(50, 0))
        self.joint_name_ext_lineEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.joint_name_ext_lineEdit.setObjectName("joint_name_ext_lineEdit")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                    self.joint_name_ext_lineEdit)
        self.reset_name_ext_pushButton = QtWidgets.QPushButton(
            self.groupBox_11)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.reset_name_ext_pushButton.sizePolicy().hasHeightForWidth())
        self.reset_name_ext_pushButton.setSizePolicy(sizePolicy)
        self.reset_name_ext_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.reset_name_ext_pushButton.setObjectName(
            "reset_name_ext_pushButton")
        self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                    self.reset_name_ext_pushButton)
        self.horizontalLayout_4.addWidget(self.groupBox_11)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        spacerItem = QtWidgets.QSpacerItem(20, 10000,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.load_naming_configuration_pushButton = QtWidgets.QPushButton(Form)
        self.load_naming_configuration_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.load_naming_configuration_pushButton.setObjectName(
            "load_naming_configuration_pushButton")
        self.horizontalLayout_12.addWidget(
            self.load_naming_configuration_pushButton)
        self.save_naming_configuration_pushButton = QtWidgets.QPushButton(Form)
        self.save_naming_configuration_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.save_naming_configuration_pushButton.setObjectName(
            "save_naming_configuration_pushButton")
        self.horizontalLayout_12.addWidget(
            self.save_naming_configuration_pushButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout_12)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #5
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(252, 396)
        self.gridLayout_4 = QtWidgets.QGridLayout(Form)
        self.gridLayout_4.setContentsMargins(5, 5, 5, 5)
        self.gridLayout_4.setSpacing(0)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setContentsMargins(6, 6, 6, 6)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.search_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.search_lineEdit.sizePolicy().hasHeightForWidth())
        self.search_lineEdit.setSizePolicy(sizePolicy)
        self.search_lineEdit.setObjectName("search_lineEdit")
        self.gridLayout_2.addWidget(self.search_lineEdit, 1, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.createLayer_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.createLayer_pushButton.setMinimumSize(QtCore.QSize(150, 0))
        self.createLayer_pushButton.setObjectName("createLayer_pushButton")
        self.horizontalLayout.addWidget(self.createLayer_pushButton)
        self.refresh_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.refresh_pushButton.setMinimumSize(QtCore.QSize(70, 0))
        self.refresh_pushButton.setObjectName("refresh_pushButton")
        self.horizontalLayout.addWidget(self.refresh_pushButton)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.layers_listView = QtWidgets.QListView(self.groupBox)
        self.layers_listView.setEditTriggers(
            QtWidgets.QAbstractItemView.NoEditTriggers)
        self.layers_listView.setProperty("showDropIndicator", False)
        self.layers_listView.setAlternatingRowColors(True)
        self.layers_listView.setSelectionMode(
            QtWidgets.QAbstractItemView.ExtendedSelection)
        self.layers_listView.setObjectName("layers_listView")
        self.gridLayout_2.addWidget(self.layers_listView, 2, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(Form)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setContentsMargins(6, 6, 6, 6)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtWidgets.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 2, 1, 1)
        self.postHold_spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        self.postHold_spinBox.setObjectName("postHold_spinBox")
        self.gridLayout.addWidget(self.postHold_spinBox, 2, 2, 1, 1)
        self.preHold_spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        self.preHold_spinBox.setObjectName("preHold_spinBox")
        self.gridLayout.addWidget(self.preHold_spinBox, 2, 1, 1, 1)
        self.easeOut_spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        self.easeOut_spinBox.setMinimum(0)
        self.easeOut_spinBox.setProperty("value", 1)
        self.easeOut_spinBox.setObjectName("easeOut_spinBox")
        self.gridLayout.addWidget(self.easeOut_spinBox, 2, 3, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.easeIn_spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        self.easeIn_spinBox.setMinimum(0)
        self.easeIn_spinBox.setProperty("value", 1)
        self.easeIn_spinBox.setObjectName("easeIn_spinBox")
        self.gridLayout.addWidget(self.easeIn_spinBox, 2, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 3, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.addFrame_pushButton = QtWidgets.QPushButton(self.groupBox_2)
        self.addFrame_pushButton.setMinimumSize(QtCore.QSize(0, 45))
        self.addFrame_pushButton.setObjectName("addFrame_pushButton")
        self.verticalLayout.addWidget(self.addFrame_pushButton)
        self.line_2 = QtWidgets.QFrame(self.groupBox_2)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.editFrame_pushButton = QtWidgets.QPushButton(self.groupBox_2)
        self.editFrame_pushButton.setObjectName("editFrame_pushButton")
        self.verticalLayout.addWidget(self.editFrame_pushButton)
        self.line = QtWidgets.QFrame(self.groupBox_2)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.gridLayout_3.addLayout(self.verticalLayout, 2, 0, 1, 1)
        self.keyframe_checkBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.keyframe_checkBox.setChecked(True)
        self.keyframe_checkBox.setObjectName("keyframe_checkBox")
        self.gridLayout_3.addWidget(self.keyframe_checkBox, 1, 0, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox_2, 1, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #6
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(286, 518)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.host_label = QtWidgets.QLabel(self.groupBox)
        self.host_label.setObjectName("host_label")
        self.horizontalLayout_2.addWidget(self.host_label)
        self.host_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.host_lineEdit.setObjectName("host_lineEdit")
        self.horizontalLayout_2.addWidget(self.host_lineEdit)
        self.host_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.host_pushButton.setObjectName("host_pushButton")
        self.horizontalLayout_2.addWidget(self.host_pushButton)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 1)
        self.groupBox_4 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.gridLayout_7 = QtWidgets.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.gridLayout_9 = QtWidgets.QGridLayout()
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.color_fk_label = QtWidgets.QLabel(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.color_fk_label.sizePolicy().hasHeightForWidth())
        self.color_fk_label.setSizePolicy(sizePolicy)
        self.color_fk_label.setMinimumSize(QtCore.QSize(0, 0))
        self.color_fk_label.setText("")
        self.color_fk_label.setObjectName("color_fk_label")
        self.gridLayout_9.addWidget(self.color_fk_label, 0, 1, 1, 1)
        self.color_fk_spinBox = QtWidgets.QSpinBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.color_fk_spinBox.sizePolicy().hasHeightForWidth())
        self.color_fk_spinBox.setSizePolicy(sizePolicy)
        self.color_fk_spinBox.setMaximum(31)
        self.color_fk_spinBox.setObjectName("color_fk_spinBox")
        self.gridLayout_9.addWidget(self.color_fk_spinBox, 0, 2, 1, 1)
        self.RGB_fk_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.RGB_fk_pushButton.sizePolicy().hasHeightForWidth())
        self.RGB_fk_pushButton.setSizePolicy(sizePolicy)
        self.RGB_fk_pushButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.RGB_fk_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.RGB_fk_pushButton.setStyleSheet("")
        self.RGB_fk_pushButton.setText("")
        self.RGB_fk_pushButton.setObjectName("RGB_fk_pushButton")
        self.gridLayout_9.addWidget(self.RGB_fk_pushButton, 0, 3, 1, 1)
        self.RGB_fk_slider = QtWidgets.QSlider(self.groupBox_4)
        self.RGB_fk_slider.setMaximum(255)
        self.RGB_fk_slider.setOrientation(QtCore.Qt.Horizontal)
        self.RGB_fk_slider.setObjectName("RGB_fk_slider")
        self.gridLayout_9.addWidget(self.RGB_fk_slider, 0, 4, 1, 1)
        self.fk_label_2 = QtWidgets.QLabel(self.groupBox_4)
        self.fk_label_2.setObjectName("fk_label_2")
        self.gridLayout_9.addWidget(self.fk_label_2, 0, 0, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_9, 1, 0, 1, 1)
        self.gridLayout_10 = QtWidgets.QGridLayout()
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.color_ik_spinBox = QtWidgets.QSpinBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.color_ik_spinBox.sizePolicy().hasHeightForWidth())
        self.color_ik_spinBox.setSizePolicy(sizePolicy)
        self.color_ik_spinBox.setMaximum(31)
        self.color_ik_spinBox.setObjectName("color_ik_spinBox")
        self.gridLayout_10.addWidget(self.color_ik_spinBox, 0, 2, 1, 1)
        self.color_ik_label = QtWidgets.QLabel(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.color_ik_label.sizePolicy().hasHeightForWidth())
        self.color_ik_label.setSizePolicy(sizePolicy)
        self.color_ik_label.setMinimumSize(QtCore.QSize(0, 0))
        self.color_ik_label.setText("")
        self.color_ik_label.setObjectName("color_ik_label")
        self.gridLayout_10.addWidget(self.color_ik_label, 0, 1, 1, 1)
        self.RGB_ik_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.RGB_ik_pushButton.sizePolicy().hasHeightForWidth())
        self.RGB_ik_pushButton.setSizePolicy(sizePolicy)
        self.RGB_ik_pushButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.RGB_ik_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.RGB_ik_pushButton.setStyleSheet("")
        self.RGB_ik_pushButton.setText("")
        self.RGB_ik_pushButton.setObjectName("RGB_ik_pushButton")
        self.gridLayout_10.addWidget(self.RGB_ik_pushButton, 0, 3, 1, 1)
        self.RGB_ik_slider = QtWidgets.QSlider(self.groupBox_4)
        self.RGB_ik_slider.setMaximum(255)
        self.RGB_ik_slider.setOrientation(QtCore.Qt.Horizontal)
        self.RGB_ik_slider.setObjectName("RGB_ik_slider")
        self.gridLayout_10.addWidget(self.RGB_ik_slider, 0, 4, 1, 1)
        self.ik_label = QtWidgets.QLabel(self.groupBox_4)
        self.ik_label.setObjectName("ik_label")
        self.gridLayout_10.addWidget(self.ik_label, 0, 0, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_10, 1, 1, 1, 1)
        self.overrideColors_checkBox = QtWidgets.QCheckBox(self.groupBox_4)
        self.overrideColors_checkBox.setObjectName("overrideColors_checkBox")
        self.gridLayout_7.addWidget(self.overrideColors_checkBox, 0, 0, 1, 1)
        self.useRGB_checkBox = QtWidgets.QCheckBox(self.groupBox_4)
        self.useRGB_checkBox.setObjectName("useRGB_checkBox")
        self.gridLayout_7.addWidget(self.useRGB_checkBox, 0, 1, 1, 1)
        self.gridLayout_8.addLayout(self.gridLayout_7, 2, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_4, 4, 0, 1, 1)
        self.mainSettings_groupBox = QtWidgets.QGroupBox(Form)
        self.mainSettings_groupBox.setTitle("")
        self.mainSettings_groupBox.setObjectName("mainSettings_groupBox")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.mainSettings_groupBox)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.name_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.name_label.setObjectName("name_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                  self.name_label)
        self.name_lineEdit = QtWidgets.QLineEdit(self.mainSettings_groupBox)
        self.name_lineEdit.setObjectName("name_lineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                  self.name_lineEdit)
        self.side_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.side_label.setObjectName("side_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                  self.side_label)
        self.side_comboBox = QtWidgets.QComboBox(self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_comboBox.sizePolicy().hasHeightForWidth())
        self.side_comboBox.setSizePolicy(sizePolicy)
        self.side_comboBox.setObjectName("side_comboBox")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                  self.side_comboBox)
        self.componentIndex_label = QtWidgets.QLabel(
            self.mainSettings_groupBox)
        self.componentIndex_label.setObjectName("componentIndex_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                  self.componentIndex_label)
        self.componentIndex_spinBox = QtWidgets.QSpinBox(
            self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.componentIndex_spinBox.sizePolicy().hasHeightForWidth())
        self.componentIndex_spinBox.setSizePolicy(sizePolicy)
        self.componentIndex_spinBox.setObjectName("componentIndex_spinBox")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                  self.componentIndex_spinBox)
        self.conector_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.conector_label.setObjectName("conector_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole,
                                  self.conector_label)
        self.connector_comboBox = QtWidgets.QComboBox(
            self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.connector_comboBox.sizePolicy().hasHeightForWidth())
        self.connector_comboBox.setSizePolicy(sizePolicy)
        self.connector_comboBox.setObjectName("connector_comboBox")
        self.connector_comboBox.addItem("")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                  self.connector_comboBox)
        self.gridLayout_4.addLayout(self.formLayout, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.mainSettings_groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.subGroup_lineEdit = QtWidgets.QLineEdit(self.groupBox_2)
        self.subGroup_lineEdit.setObjectName("subGroup_lineEdit")
        self.horizontalLayout_3.addWidget(self.subGroup_lineEdit)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 3, 0, 1, 1)
        self.jointSettings_groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointSettings_groupBox.sizePolicy().hasHeightForWidth())
        self.jointSettings_groupBox.setSizePolicy(sizePolicy)
        self.jointSettings_groupBox.setObjectName("jointSettings_groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.jointSettings_groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(-1, -1, -1, 0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.useJointIndex_checkBox = QtWidgets.QCheckBox(
            self.jointSettings_groupBox)
        self.useJointIndex_checkBox.setObjectName("useJointIndex_checkBox")
        self.horizontalLayout_5.addWidget(self.useJointIndex_checkBox)
        self.parentJointIndex_spinBox = QtWidgets.QSpinBox(
            self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.parentJointIndex_spinBox.sizePolicy().hasHeightForWidth())
        self.parentJointIndex_spinBox.setSizePolicy(sizePolicy)
        self.parentJointIndex_spinBox.setMinimum(-1)
        self.parentJointIndex_spinBox.setMaximum(999999)
        self.parentJointIndex_spinBox.setProperty("value", -1)
        self.parentJointIndex_spinBox.setObjectName("parentJointIndex_spinBox")
        self.horizontalLayout_5.addWidget(self.parentJointIndex_spinBox)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.jointNames_label = QtWidgets.QLabel(self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointNames_label.sizePolicy().hasHeightForWidth())
        self.jointNames_label.setSizePolicy(sizePolicy)
        self.jointNames_label.setMinimumSize(QtCore.QSize(0, 0))
        self.jointNames_label.setObjectName("jointNames_label")
        self.horizontalLayout.addWidget(self.jointNames_label)
        self.jointNames_pushButton = QtWidgets.QPushButton(
            self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointNames_pushButton.sizePolicy().hasHeightForWidth())
        self.jointNames_pushButton.setSizePolicy(sizePolicy)
        self.jointNames_pushButton.setObjectName("jointNames_pushButton")
        self.horizontalLayout.addWidget(self.jointNames_pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.groupBox_3 = QtWidgets.QGroupBox(self.jointSettings_groupBox)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.joint_offset_x_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_x_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_x_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_x_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_x_doubleSpinBox.setObjectName(
            "joint_offset_x_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_x_doubleSpinBox)
        self.joint_offset_y_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_y_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_y_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_y_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_y_doubleSpinBox.setObjectName(
            "joint_offset_y_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_y_doubleSpinBox)
        self.joint_offset_z_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_z_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_z_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_z_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_z_doubleSpinBox.setObjectName(
            "joint_offset_z_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_z_doubleSpinBox)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.jointSettings_groupBox, 1, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #7
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(286, 518)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.mainSettings_groupBox = QtWidgets.QGroupBox(Form)
        self.mainSettings_groupBox.setTitle("")
        self.mainSettings_groupBox.setObjectName("mainSettings_groupBox")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.mainSettings_groupBox)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.name_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.name_label.setObjectName("name_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                  self.name_label)
        self.name_lineEdit = QtWidgets.QLineEdit(self.mainSettings_groupBox)
        self.name_lineEdit.setObjectName("name_lineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                  self.name_lineEdit)
        self.side_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.side_label.setObjectName("side_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                  self.side_label)
        self.side_comboBox = QtWidgets.QComboBox(self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_comboBox.sizePolicy().hasHeightForWidth())
        self.side_comboBox.setSizePolicy(sizePolicy)
        self.side_comboBox.setObjectName("side_comboBox")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                  self.side_comboBox)
        self.componentIndex_label = QtWidgets.QLabel(
            self.mainSettings_groupBox)
        self.componentIndex_label.setObjectName("componentIndex_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                  self.componentIndex_label)
        self.componentIndex_spinBox = QtWidgets.QSpinBox(
            self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.componentIndex_spinBox.sizePolicy().hasHeightForWidth())
        self.componentIndex_spinBox.setSizePolicy(sizePolicy)
        self.componentIndex_spinBox.setObjectName("componentIndex_spinBox")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                  self.componentIndex_spinBox)
        self.conector_label = QtWidgets.QLabel(self.mainSettings_groupBox)
        self.conector_label.setObjectName("conector_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole,
                                  self.conector_label)
        self.connector_comboBox = QtWidgets.QComboBox(
            self.mainSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.connector_comboBox.sizePolicy().hasHeightForWidth())
        self.connector_comboBox.setSizePolicy(sizePolicy)
        self.connector_comboBox.setObjectName("connector_comboBox")
        self.connector_comboBox.addItem("")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                  self.connector_comboBox)
        self.gridLayout_4.addLayout(self.formLayout, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.mainSettings_groupBox, 0, 0, 1, 1)
        self.jointSettings_groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointSettings_groupBox.sizePolicy().hasHeightForWidth())
        self.jointSettings_groupBox.setSizePolicy(sizePolicy)
        self.jointSettings_groupBox.setObjectName("jointSettings_groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.jointSettings_groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(-1, -1, -1, 0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.useJointIndex_checkBox = QtWidgets.QCheckBox(
            self.jointSettings_groupBox)
        self.useJointIndex_checkBox.setObjectName("useJointIndex_checkBox")
        self.horizontalLayout_5.addWidget(self.useJointIndex_checkBox)
        self.parentJointIndex_spinBox = QtWidgets.QSpinBox(
            self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.parentJointIndex_spinBox.sizePolicy().hasHeightForWidth())
        self.parentJointIndex_spinBox.setSizePolicy(sizePolicy)
        self.parentJointIndex_spinBox.setMinimum(-1)
        self.parentJointIndex_spinBox.setMaximum(999999)
        self.parentJointIndex_spinBox.setProperty("value", -1)
        self.parentJointIndex_spinBox.setObjectName("parentJointIndex_spinBox")
        self.horizontalLayout_5.addWidget(self.parentJointIndex_spinBox)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.jointNames_label = QtWidgets.QLabel(self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointNames_label.sizePolicy().hasHeightForWidth())
        self.jointNames_label.setSizePolicy(sizePolicy)
        self.jointNames_label.setMinimumSize(QtCore.QSize(0, 0))
        self.jointNames_label.setObjectName("jointNames_label")
        self.horizontalLayout.addWidget(self.jointNames_label)
        self.jointNames_pushButton = QtWidgets.QPushButton(
            self.jointSettings_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.jointNames_pushButton.sizePolicy().hasHeightForWidth())
        self.jointNames_pushButton.setSizePolicy(sizePolicy)
        self.jointNames_pushButton.setObjectName("jointNames_pushButton")
        self.horizontalLayout.addWidget(self.jointNames_pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.groupBox_3 = QtWidgets.QGroupBox(self.jointSettings_groupBox)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.joint_offset_x_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_x_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_x_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_x_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_x_doubleSpinBox.setObjectName(
            "joint_offset_x_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_x_doubleSpinBox)
        self.joint_offset_y_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_y_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_y_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_y_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_y_doubleSpinBox.setObjectName(
            "joint_offset_y_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_y_doubleSpinBox)
        self.joint_offset_z_doubleSpinBox = QtWidgets.QDoubleSpinBox(
            self.groupBox_3)
        self.joint_offset_z_doubleSpinBox.setMinimum(-360.0)
        self.joint_offset_z_doubleSpinBox.setMaximum(360.0)
        self.joint_offset_z_doubleSpinBox.setSingleStep(90.0)
        self.joint_offset_z_doubleSpinBox.setObjectName(
            "joint_offset_z_doubleSpinBox")
        self.horizontalLayout_4.addWidget(self.joint_offset_z_doubleSpinBox)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.jointSettings_groupBox, 1, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.host_label = QtWidgets.QLabel(self.groupBox)
        self.host_label.setObjectName("host_label")
        self.horizontalLayout_2.addWidget(self.host_label)
        self.host_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.host_lineEdit.setObjectName("host_lineEdit")
        self.horizontalLayout_2.addWidget(self.host_lineEdit)
        self.host_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.host_pushButton.setObjectName("host_pushButton")
        self.horizontalLayout_2.addWidget(self.host_pushButton)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.subGroup_lineEdit = QtWidgets.QLineEdit(self.groupBox_2)
        self.subGroup_lineEdit.setObjectName("subGroup_lineEdit")
        self.horizontalLayout_3.addWidget(self.subGroup_lineEdit)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 3, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #8
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(359, 526)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.rig_tab = QtWidgets.QWidget()
        self.rig_tab.setObjectName("rig_tab")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.rig_tab)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.createRoot_pushButton = QtWidgets.QPushButton(self.rig_tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.createRoot_pushButton.sizePolicy().hasHeightForWidth())
        self.createRoot_pushButton.setSizePolicy(sizePolicy)
        self.createRoot_pushButton.setObjectName("createRoot_pushButton")
        self.gridLayout_6.addWidget(self.createRoot_pushButton, 0, 0, 1, 1)
        self.groupBox_3 = QtWidgets.QGroupBox(self.rig_tab)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.createCtl_lineEdit = QtWidgets.QLineEdit(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.createCtl_lineEdit.sizePolicy().hasHeightForWidth())
        self.createCtl_lineEdit.setSizePolicy(sizePolicy)
        self.createCtl_lineEdit.setMinimumSize(QtCore.QSize(150, 0))
        self.createCtl_lineEdit.setObjectName("createCtl_lineEdit")
        self.gridLayout_2.addWidget(self.createCtl_lineEdit, 1, 0, 1, 1)
        self.createCtl_pushButton = QtWidgets.QPushButton(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.createCtl_pushButton.sizePolicy().hasHeightForWidth())
        self.createCtl_pushButton.setSizePolicy(sizePolicy)
        self.createCtl_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.createCtl_pushButton.setObjectName("createCtl_pushButton")
        self.gridLayout_2.addWidget(self.createCtl_pushButton, 3, 0, 1, 1)
        self.formLayout_2 = QtWidgets.QFormLayout()
        self.formLayout_2.setObjectName("formLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox_3)
        self.label.setObjectName("label")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.label)
        self.side_comboBox = QtWidgets.QComboBox(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.side_comboBox.sizePolicy().hasHeightForWidth())
        self.side_comboBox.setSizePolicy(sizePolicy)
        self.side_comboBox.setObjectName("side_comboBox")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.side_comboBox.addItem("")
        self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.side_comboBox)
        self.label_3 = QtWidgets.QLabel(self.groupBox_3)
        self.label_3.setObjectName("label_3")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                    self.label_3)
        self.position_comboBox = QtWidgets.QComboBox(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.position_comboBox.sizePolicy().hasHeightForWidth())
        self.position_comboBox.setSizePolicy(sizePolicy)
        self.position_comboBox.setObjectName("position_comboBox")
        self.position_comboBox.addItem("")
        self.position_comboBox.addItem("")
        self.position_comboBox.addItem("")
        self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                    self.position_comboBox)
        self.label_2 = QtWidgets.QLabel(self.groupBox_3)
        self.label_2.setObjectName("label_2")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                    self.label_2)
        self.shape_comboBox = QtWidgets.QComboBox(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.shape_comboBox.sizePolicy().hasHeightForWidth())
        self.shape_comboBox.setSizePolicy(sizePolicy)
        self.shape_comboBox.setObjectName("shape_comboBox")
        self.shape_comboBox.addItem("")
        self.shape_comboBox.addItem("")
        self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                    self.shape_comboBox)
        self.gridLayout_2.addLayout(self.formLayout_2, 2, 0, 1, 1)
        self.gridLayout_6.addWidget(self.groupBox_3, 1, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(self.rig_tab)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(self.groupBox_2)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.remove_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.remove_pushButton.setMinimumSize(QtCore.QSize(45, 50))
        self.remove_pushButton.setObjectName("remove_pushButton")
        self.horizontalLayout.addWidget(self.remove_pushButton)
        self.add_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.add_pushButton.setMinimumSize(QtCore.QSize(45, 50))
        self.add_pushButton.setObjectName("add_pushButton")
        self.horizontalLayout.addWidget(self.add_pushButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.selectAffected_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.selectAffected_pushButton.setObjectName(
            "selectAffected_pushButton")
        self.verticalLayout_2.addWidget(self.selectAffected_pushButton)
        self.gridLayout_4.addLayout(self.verticalLayout_2, 0, 1, 1, 1)
        self.gridLayout.addWidget(self.groupBox_4, 1, 1, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(self.groupBox_2)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.editPivot_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.editPivot_pushButton.setObjectName("editPivot_pushButton")
        self.verticalLayout.addWidget(self.editPivot_pushButton)
        self.setPivot_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.setPivot_pushButton.setObjectName("setPivot_pushButton")
        self.verticalLayout.addWidget(self.setPivot_pushButton)
        self.reParentPivot_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.reParentPivot_pushButton.setObjectName("reParentPivot_pushButton")
        self.verticalLayout.addWidget(self.reParentPivot_pushButton)
        self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)
        self.gridLayout_6.addWidget(self.groupBox_2, 2, 0, 1, 1)
        self.groupBox_5 = QtWidgets.QGroupBox(self.rig_tab)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.suffix_label = QtWidgets.QLabel(self.groupBox_5)
        self.suffix_label.setObjectName("suffix_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                  self.suffix_label)
        self.autoBuild_lineEdit = QtWidgets.QLineEdit(self.groupBox_5)
        self.autoBuild_lineEdit.setObjectName("autoBuild_lineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                  self.autoBuild_lineEdit)
        self.gridLayout_5.addLayout(self.formLayout, 0, 0, 1, 1)
        self.autoRig_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        self.autoRig_pushButton.setObjectName("autoRig_pushButton")
        self.gridLayout_5.addWidget(self.autoRig_pushButton, 1, 0, 1, 1)
        self.gridLayout_6.addWidget(self.groupBox_5, 3, 0, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(17, 31,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem, 4, 0, 1, 1)
        self.tabWidget.addTab(self.rig_tab, "")
        self.extraConfig_tab = QtWidgets.QWidget()
        self.extraConfig_tab.setObjectName("extraConfig_tab")
        self.gridLayout_9 = QtWidgets.QGridLayout(self.extraConfig_tab)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.groupBox_6 = QtWidgets.QGroupBox(self.extraConfig_tab)
        self.groupBox_6.setObjectName("groupBox_6")
        self.formLayout_3 = QtWidgets.QFormLayout(self.groupBox_6)
        self.formLayout_3.setObjectName("formLayout_3")
        self.rootName_label = QtWidgets.QLabel(self.groupBox_6)
        self.rootName_label.setObjectName("rootName_label")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.rootName_label)
        self.rootName_lineEdit = QtWidgets.QLineEdit(self.groupBox_6)
        self.rootName_lineEdit.setObjectName("rootName_lineEdit")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.rootName_lineEdit)
        self.gridLayout_9.addWidget(self.groupBox_6, 0, 0, 1, 1)
        self.groupBox_8 = QtWidgets.QGroupBox(self.extraConfig_tab)
        self.groupBox_8.setObjectName("groupBox_8")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_8)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.fixSize_checkBox = QtWidgets.QCheckBox(self.groupBox_8)
        self.fixSize_checkBox.setObjectName("fixSize_checkBox")
        self.gridLayout_8.addWidget(self.fixSize_checkBox, 1, 0, 1, 1)
        self.worldCenter_checkBox = QtWidgets.QCheckBox(self.groupBox_8)
        self.worldCenter_checkBox.setChecked(True)
        self.worldCenter_checkBox.setTristate(False)
        self.worldCenter_checkBox.setObjectName("worldCenter_checkBox")
        self.gridLayout_8.addWidget(self.worldCenter_checkBox, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_5 = QtWidgets.QLabel(self.groupBox_8)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        self.mainCtlShape_comboBox = QtWidgets.QComboBox(self.groupBox_8)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.mainCtlShape_comboBox.sizePolicy().hasHeightForWidth())
        self.mainCtlShape_comboBox.setSizePolicy(sizePolicy)
        self.mainCtlShape_comboBox.setObjectName("mainCtlShape_comboBox")
        self.mainCtlShape_comboBox.addItem("")
        self.mainCtlShape_comboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.mainCtlShape_comboBox)
        self.gridLayout_8.addLayout(self.horizontalLayout_2, 3, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_4 = QtWidgets.QLabel(self.groupBox_8)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_3.addWidget(self.label_4)
        self.fixSize_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox_8)
        self.fixSize_doubleSpinBox.setMaximum(9999.99)
        self.fixSize_doubleSpinBox.setSingleStep(10.0)
        self.fixSize_doubleSpinBox.setProperty("value", 100.0)
        self.fixSize_doubleSpinBox.setObjectName("fixSize_doubleSpinBox")
        self.horizontalLayout_3.addWidget(self.fixSize_doubleSpinBox)
        self.gridLayout_8.addLayout(self.horizontalLayout_3, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_6 = QtWidgets.QLabel(self.groupBox_8)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_4.addWidget(self.label_6)
        self.worldCtlShape_comboBox = QtWidgets.QComboBox(self.groupBox_8)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.worldCtlShape_comboBox.sizePolicy().hasHeightForWidth())
        self.worldCtlShape_comboBox.setSizePolicy(sizePolicy)
        self.worldCtlShape_comboBox.setObjectName("worldCtlShape_comboBox")
        self.worldCtlShape_comboBox.addItem("")
        self.worldCtlShape_comboBox.addItem("")
        self.horizontalLayout_4.addWidget(self.worldCtlShape_comboBox)
        self.gridLayout_8.addLayout(self.horizontalLayout_4, 6, 0, 1, 1)
        self.worldCtl_checkBox = QtWidgets.QCheckBox(self.groupBox_8)
        self.worldCtl_checkBox.setChecked(True)
        self.worldCtl_checkBox.setObjectName("worldCtl_checkBox")
        self.gridLayout_8.addWidget(self.worldCtl_checkBox, 5, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.groupBox_8)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_8.addWidget(self.line, 4, 0, 1, 1)
        self.gridLayout_9.addWidget(self.groupBox_8, 1, 0, 1, 1)
        self.groupBox_7 = QtWidgets.QGroupBox(self.extraConfig_tab)
        self.groupBox_7.setObjectName("groupBox_7")
        self.formLayout_4 = QtWidgets.QFormLayout(self.groupBox_7)
        self.formLayout_4.setObjectName("formLayout_4")
        self.extraSets_label = QtWidgets.QLabel(self.groupBox_7)
        self.extraSets_label.setObjectName("extraSets_label")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                    self.extraSets_label)
        self.extraSets_lineEdit = QtWidgets.QLineEdit(self.groupBox_7)
        self.extraSets_lineEdit.setObjectName("extraSets_lineEdit")
        self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                    self.extraSets_lineEdit)
        self.gridLayout_9.addWidget(self.groupBox_7, 2, 0, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem1, 3, 0, 1, 1)
        self.tabWidget.addTab(self.extraConfig_tab, "")
        self.gridLayout_7.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 359, 21))
        self.menubar.setObjectName("menubar")
        self.menuIO = QtWidgets.QMenu(self.menubar)
        self.menuIO.setObjectName("menuIO")
        self.menuConvert = QtWidgets.QMenu(self.menubar)
        self.menuConvert.setObjectName("menuConvert")
        self.menuDelete = QtWidgets.QMenu(self.menubar)
        self.menuDelete.setObjectName("menuDelete")
        self.menuAuto = QtWidgets.QMenu(self.menubar)
        self.menuAuto.setObjectName("menuAuto")
        MainWindow.setMenuBar(self.menubar)
        self.export_action = QtWidgets.QAction(MainWindow)
        self.export_action.setObjectName("export_action")
        self.import_action = QtWidgets.QAction(MainWindow)
        self.import_action.setObjectName("import_action")
        self.convertToShifterRig_action = QtWidgets.QAction(MainWindow)
        self.convertToShifterRig_action.setObjectName(
            "convertToShifterRig_action")
        self.createShifterGuide_action = QtWidgets.QAction(MainWindow)
        self.createShifterGuide_action.setObjectName(
            "createShifterGuide_action")
        self.deleteRig_action = QtWidgets.QAction(MainWindow)
        self.deleteRig_action.setObjectName("deleteRig_action")
        self.deletePivot_action = QtWidgets.QAction(MainWindow)
        self.deletePivot_action.setObjectName("deletePivot_action")
        self.autoBuild_action = QtWidgets.QAction(MainWindow)
        self.autoBuild_action.setObjectName("autoBuild_action")
        self.menuIO.addAction(self.export_action)
        self.menuIO.addAction(self.import_action)
        self.menuIO.addSeparator()
        self.menuConvert.addAction(self.convertToShifterRig_action)
        self.menuConvert.addAction(self.createShifterGuide_action)
        self.menuDelete.addAction(self.deletePivot_action)
        self.menuDelete.addSeparator()
        self.menuDelete.addAction(self.deleteRig_action)
        self.menuAuto.addAction(self.autoBuild_action)
        self.menubar.addAction(self.menuIO.menuAction())
        self.menubar.addAction(self.menuConvert.menuAction())
        self.menubar.addAction(self.menuDelete.menuAction())
        self.menubar.addAction(self.menuAuto.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Пример #9
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(459, 809)
        self.gridLayout_2 = QtWidgets.QGridLayout(Form)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.groupBox_3 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.jointRig_checkBox = QtWidgets.QCheckBox(self.groupBox_3)
        self.jointRig_checkBox.setObjectName("jointRig_checkBox")
        self.gridLayout_5.addWidget(self.jointRig_checkBox, 0, 0, 1, 1)
        self.force_uniScale_checkBox = QtWidgets.QCheckBox(self.groupBox_3)
        self.force_uniScale_checkBox.setObjectName("force_uniScale_checkBox")
        self.gridLayout_5.addWidget(self.force_uniScale_checkBox, 1, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_3, 4, 0, 1, 1)
        self.groupBox_6 = QtWidgets.QGroupBox(Form)
        self.groupBox_6.setObjectName("groupBox_6")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox_6)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.proxyChannels_checkBox = QtWidgets.QCheckBox(self.groupBox_6)
        self.proxyChannels_checkBox.setObjectName("proxyChannels_checkBox")
        self.gridLayout_8.addWidget(self.proxyChannels_checkBox, 0, 0, 1, 1)
        self.classicChannelNames_checkBox = QtWidgets.QCheckBox(
            self.groupBox_6)
        self.classicChannelNames_checkBox.setObjectName(
            "classicChannelNames_checkBox")
        self.gridLayout_8.addWidget(self.classicChannelNames_checkBox, 1, 0, 1,
                                    1)
        self.attrPrefix_checkBox = QtWidgets.QCheckBox(self.groupBox_6)
        self.attrPrefix_checkBox.setObjectName("attrPrefix_checkBox")
        self.gridLayout_8.addWidget(self.attrPrefix_checkBox, 2, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_6, 1, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.rigName_label = QtWidgets.QLabel(self.groupBox)
        self.rigName_label.setObjectName("rigName_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                  self.rigName_label)
        self.rigName_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.rigName_lineEdit.setObjectName("rigName_lineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole,
                                  self.rigName_lineEdit)
        self.mode_label = QtWidgets.QLabel(self.groupBox)
        self.mode_label.setObjectName("mode_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                  self.mode_label)
        self.mode_comboBox = QtWidgets.QComboBox(self.groupBox)
        self.mode_comboBox.setObjectName("mode_comboBox")
        self.mode_comboBox.addItem("")
        self.mode_comboBox.addItem("")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                  self.mode_comboBox)
        self.step_label = QtWidgets.QLabel(self.groupBox)
        self.step_label.setObjectName("step_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                  self.step_label)
        self.step_comboBox = QtWidgets.QComboBox(self.groupBox)
        self.step_comboBox.setObjectName("step_comboBox")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.step_comboBox.addItem("")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                  self.step_comboBox)
        self.gridLayout_3.addLayout(self.formLayout, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(Form)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.importSkin_checkBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.importSkin_checkBox.setObjectName("importSkin_checkBox")
        self.verticalLayout.addWidget(self.importSkin_checkBox)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.skin_label = QtWidgets.QLabel(self.groupBox_2)
        self.skin_label.setObjectName("skin_label")
        self.horizontalLayout.addWidget(self.skin_label)
        self.skin_lineEdit = QtWidgets.QLineEdit(self.groupBox_2)
        self.skin_lineEdit.setObjectName("skin_lineEdit")
        self.horizontalLayout.addWidget(self.skin_lineEdit)
        self.loadSkinPath_pushButton = QtWidgets.QPushButton(self.groupBox_2)
        self.loadSkinPath_pushButton.setObjectName("loadSkinPath_pushButton")
        self.horizontalLayout.addWidget(self.loadSkinPath_pushButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.gridLayout_4.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 3, 0, 1, 1)
        self.groupBox_7 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_7.sizePolicy().hasHeightForWidth())
        self.groupBox_7.setSizePolicy(sizePolicy)
        self.groupBox_7.setObjectName("groupBox_7")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_7)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.worldCtl_checkBox = QtWidgets.QCheckBox(self.groupBox_7)
        self.worldCtl_checkBox.setObjectName("worldCtl_checkBox")
        self.horizontalLayout_9.addWidget(self.worldCtl_checkBox)
        self.worldCtl_lineEdit = QtWidgets.QLineEdit(self.groupBox_7)
        self.worldCtl_lineEdit.setObjectName("worldCtl_lineEdit")
        self.horizontalLayout_9.addWidget(self.worldCtl_lineEdit)
        self.gridLayout_2.addWidget(self.groupBox_7, 2, 0, 1, 1)
        self.groupBox_4 = QtWidgets.QGroupBox(Form)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.rigTabs_label = QtWidgets.QLabel(self.groupBox_4)
        self.rigTabs_label.setObjectName("rigTabs_label")
        self.verticalLayout_3.addWidget(self.rigTabs_label)
        self.rigTabs_listWidget = QtWidgets.QListWidget(self.groupBox_4)
        self.rigTabs_listWidget.setDragDropOverwriteMode(True)
        self.rigTabs_listWidget.setDragDropMode(
            QtWidgets.QAbstractItemView.InternalMove)
        self.rigTabs_listWidget.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.rigTabs_listWidget.setAlternatingRowColors(True)
        self.rigTabs_listWidget.setSelectionMode(
            QtWidgets.QAbstractItemView.ExtendedSelection)
        self.rigTabs_listWidget.setSelectionRectVisible(False)
        self.rigTabs_listWidget.setObjectName("rigTabs_listWidget")
        self.verticalLayout_3.addWidget(self.rigTabs_listWidget)
        self.horizontalLayout_2.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setSizeConstraint(
            QtWidgets.QLayout.SetDefaultConstraint)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.addTab_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.addTab_pushButton.setObjectName("addTab_pushButton")
        self.verticalLayout_4.addWidget(self.addTab_pushButton)
        self.removeTab_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.removeTab_pushButton.sizePolicy().hasHeightForWidth())
        self.removeTab_pushButton.setSizePolicy(sizePolicy)
        self.removeTab_pushButton.setObjectName("removeTab_pushButton")
        self.verticalLayout_4.addWidget(self.removeTab_pushButton)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.horizontalLayout_2.addLayout(self.verticalLayout_4)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.available_label = QtWidgets.QLabel(self.groupBox_4)
        self.available_label.setObjectName("available_label")
        self.verticalLayout_2.addWidget(self.available_label)
        self.available_listWidget = QtWidgets.QListWidget(self.groupBox_4)
        self.available_listWidget.setDragDropOverwriteMode(True)
        self.available_listWidget.setDragDropMode(
            QtWidgets.QAbstractItemView.NoDragDrop)
        self.available_listWidget.setDefaultDropAction(QtCore.Qt.IgnoreAction)
        self.available_listWidget.setAlternatingRowColors(True)
        self.available_listWidget.setSelectionMode(
            QtWidgets.QAbstractItemView.ExtendedSelection)
        self.available_listWidget.setSelectionRectVisible(False)
        self.available_listWidget.setObjectName("available_listWidget")
        self.verticalLayout_2.addWidget(self.available_listWidget)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.gridLayout_6.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_4, 5, 0, 1, 1)
        self.groupBox_5 = QtWidgets.QGroupBox(Form)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.useRGB_checkBox = QtWidgets.QCheckBox(self.groupBox_5)
        self.useRGB_checkBox.setObjectName("useRGB_checkBox")
        self.gridLayout_7.addWidget(self.useRGB_checkBox, 1, 0, 1, 1)
        self.gridLayout_9 = QtWidgets.QGridLayout()
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.label_3 = QtWidgets.QLabel(self.groupBox_5)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout_9.addWidget(self.label_3, 0, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox_5)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.gridLayout_9.addWidget(self.label_2, 0, 1, 1, 1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.fk_label_2 = QtWidgets.QLabel(self.groupBox_5)
        self.fk_label_2.setObjectName("fk_label_2")
        self.gridLayout.addWidget(self.fk_label_2, 0, 0, 1, 1)
        self.C_color_fk_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_color_fk_label.sizePolicy().hasHeightForWidth())
        self.C_color_fk_label.setSizePolicy(sizePolicy)
        self.C_color_fk_label.setMinimumSize(QtCore.QSize(0, 0))
        self.C_color_fk_label.setText("")
        self.C_color_fk_label.setObjectName("C_color_fk_label")
        self.gridLayout.addWidget(self.C_color_fk_label, 0, 1, 1, 1)
        self.C_color_fk_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_color_fk_spinBox.sizePolicy().hasHeightForWidth())
        self.C_color_fk_spinBox.setSizePolicy(sizePolicy)
        self.C_color_fk_spinBox.setMaximum(31)
        self.C_color_fk_spinBox.setObjectName("C_color_fk_spinBox")
        self.gridLayout.addWidget(self.C_color_fk_spinBox, 0, 2, 1, 1)
        self.C_RGB_fk_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_RGB_fk_pushButton.sizePolicy().hasHeightForWidth())
        self.C_RGB_fk_pushButton.setSizePolicy(sizePolicy)
        self.C_RGB_fk_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.C_RGB_fk_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.C_RGB_fk_pushButton.setStyleSheet("")
        self.C_RGB_fk_pushButton.setText("")
        self.C_RGB_fk_pushButton.setObjectName("C_RGB_fk_pushButton")
        self.gridLayout.addWidget(self.C_RGB_fk_pushButton, 0, 3, 1, 1)
        self.C_RGB_fk_slider = QtWidgets.QSlider(self.groupBox_5)
        self.C_RGB_fk_slider.setMaximum(255)
        self.C_RGB_fk_slider.setOrientation(QtCore.Qt.Horizontal)
        self.C_RGB_fk_slider.setObjectName("C_RGB_fk_slider")
        self.gridLayout.addWidget(self.C_RGB_fk_slider, 0, 4, 1, 1)
        self.ik_label_2 = QtWidgets.QLabel(self.groupBox_5)
        self.ik_label_2.setObjectName("ik_label_2")
        self.gridLayout.addWidget(self.ik_label_2, 1, 0, 1, 1)
        self.C_color_ik_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_color_ik_label.sizePolicy().hasHeightForWidth())
        self.C_color_ik_label.setSizePolicy(sizePolicy)
        self.C_color_ik_label.setMinimumSize(QtCore.QSize(0, 0))
        self.C_color_ik_label.setText("")
        self.C_color_ik_label.setObjectName("C_color_ik_label")
        self.gridLayout.addWidget(self.C_color_ik_label, 1, 1, 1, 1)
        self.C_color_ik_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_color_ik_spinBox.sizePolicy().hasHeightForWidth())
        self.C_color_ik_spinBox.setSizePolicy(sizePolicy)
        self.C_color_ik_spinBox.setMaximum(31)
        self.C_color_ik_spinBox.setObjectName("C_color_ik_spinBox")
        self.gridLayout.addWidget(self.C_color_ik_spinBox, 1, 2, 1, 1)
        self.C_RGB_ik_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.C_RGB_ik_pushButton.sizePolicy().hasHeightForWidth())
        self.C_RGB_ik_pushButton.setSizePolicy(sizePolicy)
        self.C_RGB_ik_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.C_RGB_ik_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.C_RGB_ik_pushButton.setStyleSheet("")
        self.C_RGB_ik_pushButton.setText("")
        self.C_RGB_ik_pushButton.setObjectName("C_RGB_ik_pushButton")
        self.gridLayout.addWidget(self.C_RGB_ik_pushButton, 1, 3, 1, 1)
        self.C_RGB_ik_slider = QtWidgets.QSlider(self.groupBox_5)
        self.C_RGB_ik_slider.setMaximum(255)
        self.C_RGB_ik_slider.setOrientation(QtCore.Qt.Horizontal)
        self.C_RGB_ik_slider.setObjectName("C_RGB_ik_slider")
        self.gridLayout.addWidget(self.C_RGB_ik_slider, 1, 4, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout, 1, 1, 1, 1)
        self.gridLayout_10 = QtWidgets.QGridLayout()
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.fk_label_3 = QtWidgets.QLabel(self.groupBox_5)
        self.fk_label_3.setObjectName("fk_label_3")
        self.gridLayout_10.addWidget(self.fk_label_3, 0, 0, 1, 1)
        self.R_color_fk_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_color_fk_label.sizePolicy().hasHeightForWidth())
        self.R_color_fk_label.setSizePolicy(sizePolicy)
        self.R_color_fk_label.setMinimumSize(QtCore.QSize(0, 0))
        self.R_color_fk_label.setText("")
        self.R_color_fk_label.setObjectName("R_color_fk_label")
        self.gridLayout_10.addWidget(self.R_color_fk_label, 0, 1, 1, 1)
        self.R_color_fk_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_color_fk_spinBox.sizePolicy().hasHeightForWidth())
        self.R_color_fk_spinBox.setSizePolicy(sizePolicy)
        self.R_color_fk_spinBox.setMaximum(31)
        self.R_color_fk_spinBox.setObjectName("R_color_fk_spinBox")
        self.gridLayout_10.addWidget(self.R_color_fk_spinBox, 0, 2, 1, 1)
        self.R_RGB_fk_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_RGB_fk_pushButton.sizePolicy().hasHeightForWidth())
        self.R_RGB_fk_pushButton.setSizePolicy(sizePolicy)
        self.R_RGB_fk_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.R_RGB_fk_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.R_RGB_fk_pushButton.setStyleSheet("")
        self.R_RGB_fk_pushButton.setText("")
        self.R_RGB_fk_pushButton.setObjectName("R_RGB_fk_pushButton")
        self.gridLayout_10.addWidget(self.R_RGB_fk_pushButton, 0, 3, 1, 1)
        self.R_RGB_fk_slider = QtWidgets.QSlider(self.groupBox_5)
        self.R_RGB_fk_slider.setMaximum(255)
        self.R_RGB_fk_slider.setOrientation(QtCore.Qt.Horizontal)
        self.R_RGB_fk_slider.setObjectName("R_RGB_fk_slider")
        self.gridLayout_10.addWidget(self.R_RGB_fk_slider, 0, 4, 1, 1)
        self.ik_label_3 = QtWidgets.QLabel(self.groupBox_5)
        self.ik_label_3.setObjectName("ik_label_3")
        self.gridLayout_10.addWidget(self.ik_label_3, 1, 0, 1, 1)
        self.R_color_ik_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_color_ik_label.sizePolicy().hasHeightForWidth())
        self.R_color_ik_label.setSizePolicy(sizePolicy)
        self.R_color_ik_label.setMinimumSize(QtCore.QSize(0, 0))
        self.R_color_ik_label.setText("")
        self.R_color_ik_label.setObjectName("R_color_ik_label")
        self.gridLayout_10.addWidget(self.R_color_ik_label, 1, 1, 1, 1)
        self.R_color_ik_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_color_ik_spinBox.sizePolicy().hasHeightForWidth())
        self.R_color_ik_spinBox.setSizePolicy(sizePolicy)
        self.R_color_ik_spinBox.setMaximum(31)
        self.R_color_ik_spinBox.setObjectName("R_color_ik_spinBox")
        self.gridLayout_10.addWidget(self.R_color_ik_spinBox, 1, 2, 1, 1)
        self.R_RGB_ik_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        self.R_RGB_ik_pushButton.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.R_RGB_ik_pushButton.sizePolicy().hasHeightForWidth())
        self.R_RGB_ik_pushButton.setSizePolicy(sizePolicy)
        self.R_RGB_ik_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.R_RGB_ik_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.R_RGB_ik_pushButton.setStyleSheet("")
        self.R_RGB_ik_pushButton.setText("")
        self.R_RGB_ik_pushButton.setObjectName("R_RGB_ik_pushButton")
        self.gridLayout_10.addWidget(self.R_RGB_ik_pushButton, 1, 3, 1, 1)
        self.R_RGB_ik_slider = QtWidgets.QSlider(self.groupBox_5)
        self.R_RGB_ik_slider.setMaximum(255)
        self.R_RGB_ik_slider.setOrientation(QtCore.Qt.Horizontal)
        self.R_RGB_ik_slider.setObjectName("R_RGB_ik_slider")
        self.gridLayout_10.addWidget(self.R_RGB_ik_slider, 1, 4, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_10, 1, 2, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox_5)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.gridLayout_9.addWidget(self.label, 0, 0, 1, 1)
        self.gridLayout_11 = QtWidgets.QGridLayout()
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.fk_label = QtWidgets.QLabel(self.groupBox_5)
        self.fk_label.setObjectName("fk_label")
        self.gridLayout_11.addWidget(self.fk_label, 0, 0, 1, 1)
        self.L_color_fk_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_color_fk_label.sizePolicy().hasHeightForWidth())
        self.L_color_fk_label.setSizePolicy(sizePolicy)
        self.L_color_fk_label.setMinimumSize(QtCore.QSize(0, 0))
        self.L_color_fk_label.setText("")
        self.L_color_fk_label.setObjectName("L_color_fk_label")
        self.gridLayout_11.addWidget(self.L_color_fk_label, 0, 1, 1, 1)
        self.L_color_fk_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_color_fk_spinBox.sizePolicy().hasHeightForWidth())
        self.L_color_fk_spinBox.setSizePolicy(sizePolicy)
        self.L_color_fk_spinBox.setMaximum(31)
        self.L_color_fk_spinBox.setObjectName("L_color_fk_spinBox")
        self.gridLayout_11.addWidget(self.L_color_fk_spinBox, 0, 2, 1, 1)
        self.L_RGB_fk_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_RGB_fk_pushButton.sizePolicy().hasHeightForWidth())
        self.L_RGB_fk_pushButton.setSizePolicy(sizePolicy)
        self.L_RGB_fk_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.L_RGB_fk_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.L_RGB_fk_pushButton.setStyleSheet("")
        self.L_RGB_fk_pushButton.setText("")
        self.L_RGB_fk_pushButton.setObjectName("L_RGB_fk_pushButton")
        self.gridLayout_11.addWidget(self.L_RGB_fk_pushButton, 0, 3, 1, 1)
        self.L_RGB_fk_slider = QtWidgets.QSlider(self.groupBox_5)
        self.L_RGB_fk_slider.setMaximum(255)
        self.L_RGB_fk_slider.setOrientation(QtCore.Qt.Horizontal)
        self.L_RGB_fk_slider.setObjectName("L_RGB_fk_slider")
        self.gridLayout_11.addWidget(self.L_RGB_fk_slider, 0, 4, 1, 1)
        self.ik_label = QtWidgets.QLabel(self.groupBox_5)
        self.ik_label.setObjectName("ik_label")
        self.gridLayout_11.addWidget(self.ik_label, 1, 0, 1, 1)
        self.L_color_ik_label = QtWidgets.QLabel(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_color_ik_label.sizePolicy().hasHeightForWidth())
        self.L_color_ik_label.setSizePolicy(sizePolicy)
        self.L_color_ik_label.setMinimumSize(QtCore.QSize(0, 0))
        self.L_color_ik_label.setText("")
        self.L_color_ik_label.setObjectName("L_color_ik_label")
        self.gridLayout_11.addWidget(self.L_color_ik_label, 1, 1, 1, 1)
        self.L_color_ik_spinBox = QtWidgets.QSpinBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_color_ik_spinBox.sizePolicy().hasHeightForWidth())
        self.L_color_ik_spinBox.setSizePolicy(sizePolicy)
        self.L_color_ik_spinBox.setMaximum(31)
        self.L_color_ik_spinBox.setObjectName("L_color_ik_spinBox")
        self.gridLayout_11.addWidget(self.L_color_ik_spinBox, 1, 2, 1, 1)
        self.L_RGB_ik_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.L_RGB_ik_pushButton.sizePolicy().hasHeightForWidth())
        self.L_RGB_ik_pushButton.setSizePolicy(sizePolicy)
        self.L_RGB_ik_pushButton.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.L_RGB_ik_pushButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.L_RGB_ik_pushButton.setStyleSheet("")
        self.L_RGB_ik_pushButton.setText("")
        self.L_RGB_ik_pushButton.setObjectName("L_RGB_ik_pushButton")
        self.gridLayout_11.addWidget(self.L_RGB_ik_pushButton, 1, 3, 1, 1)
        self.L_RGB_ik_slider = QtWidgets.QSlider(self.groupBox_5)
        self.L_RGB_ik_slider.setMaximum(255)
        self.L_RGB_ik_slider.setOrientation(QtCore.Qt.Horizontal)
        self.L_RGB_ik_slider.setObjectName("L_RGB_ik_slider")
        self.gridLayout_11.addWidget(self.L_RGB_ik_slider, 1, 4, 1, 1)
        self.gridLayout_9.addLayout(self.gridLayout_11, 1, 0, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_9, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_5, 6, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #10
0
    def setupUi(self):
        # Widgets
        self.setObjectName(SYNOPTIC_WIDGET_NAME)
        self.resize(560, 775)

        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.sizePolicy().hasHeightForWidth())
        self.setSizePolicy(sizePolicy)
        self.setMinimumSize(QtCore.QSize(0, 0))

        self.gridLayout_2 = QtWidgets.QGridLayout(self)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")

        self.mainContainer = QtWidgets.QGroupBox(self)

        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)

        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)

        sizePolicy.setHeightForWidth(
            self.mainContainer.sizePolicy().hasHeightForWidth())

        self.mainContainer.setSizePolicy(sizePolicy)
        self.mainContainer.setMinimumSize(QtCore.QSize(0, 0))
        self.mainContainer.setObjectName("mainContainer")

        self.gridLayout_3 = QtWidgets.QGridLayout(self.mainContainer)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setObjectName("gridLayout_3")

        # header boxies
        self.hbox = QtWidgets.QHBoxLayout()
        self.hbox.setContentsMargins(5, 5, 5, 5)
        self.hbox.setObjectName("hbox")

        self.model_list = QtWidgets.QComboBox(self.mainContainer)
        self.model_list.setObjectName("model_list")
        self.model_list.setMinimumSize(QtCore.QSize(0, 23))

        self.refresh_button = QtWidgets.QPushButton(self.mainContainer)
        self.refresh_button.setObjectName("refresh_button")
        self.refresh_button.setText("Refresh")

        self.hbox.addWidget(self.model_list)
        self.hbox.addWidget(self.refresh_button)
        self.gridLayout_3.addLayout(self.hbox, 0, 0, 1, 1)

        # synoptic main area
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.scrollArea = QtWidgets.QScrollArea(self.mainContainer)

        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)

        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.scrollArea.sizePolicy().hasHeightForWidth())

        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)

        self.scrollArea.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAsNeeded)

        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setAlignment(QtCore.Qt.AlignCenter)
        self.scrollArea.setObjectName("scrollArea")

        self.tabs = QtWidgets.QTabWidget()
        self.tabs.setSizePolicy(sizePolicy)
        self.tabs.setObjectName("tabs")

        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.tabs.sizePolicy().hasHeightForWidth())

        self.tabs.setSizePolicy(sizePolicy)
        self.tabs.setObjectName("synoptic_tab")
        self.scrollArea.setWidget(self.tabs)

        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout, 2, 0, 1, 1)
        self.gridLayout_2.addWidget(self.mainContainer, 0, 0, 1, 1)
Пример #11
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setEnabled(True)
        MainWindow.resize(503, 765)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.search_lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.search_lineEdit.sizePolicy().hasHeightForWidth())
        self.search_lineEdit.setSizePolicy(sizePolicy)
        self.search_lineEdit.setObjectName("search_lineEdit")
        self.verticalLayout.addWidget(self.search_lineEdit)
        self.softTweak_listView = QtWidgets.QListView(self.centralwidget)
        self.softTweak_listView.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.softTweak_listView.sizePolicy().hasHeightForWidth())
        self.softTweak_listView.setSizePolicy(sizePolicy)
        self.softTweak_listView.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.softTweak_listView.setAlternatingRowColors(True)
        self.softTweak_listView.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.softTweak_listView.setObjectName("softTweak_listView")
        self.verticalLayout.addWidget(self.softTweak_listView)
        self.refresh_pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.refresh_pushButton.setObjectName("refresh_pushButton")
        self.verticalLayout.addWidget(self.refresh_pushButton)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox_5 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.auto_pushButton = QtWidgets.QPushButton(self.groupBox_5)
        self.auto_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.auto_pushButton.setObjectName("auto_pushButton")
        self.gridLayout_5.addWidget(self.auto_pushButton, 0, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_5)
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.name_label = QtWidgets.QLabel(self.groupBox)
        self.name_label.setObjectName("name_label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.name_label)
        self.name_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.name_lineEdit.setObjectName("name_lineEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.name_lineEdit)
        self.ctlGrp_label = QtWidgets.QLabel(self.groupBox)
        self.ctlGrp_label.setObjectName("ctlGrp_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.ctlGrp_label)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.ctlGrp_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.ctlGrp_lineEdit.setObjectName("ctlGrp_lineEdit")
        self.horizontalLayout_2.addWidget(self.ctlGrp_lineEdit)
        self.setCtrlGrp_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.setCtrlGrp_pushButton.setEnabled(True)
        self.setCtrlGrp_pushButton.setObjectName("setCtrlGrp_pushButton")
        self.horizontalLayout_2.addWidget(self.setCtrlGrp_pushButton)
        self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.parent_label = QtWidgets.QLabel(self.groupBox)
        self.parent_label.setObjectName("parent_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.parent_label)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.parent_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        self.parent_lineEdit.setObjectName("parent_lineEdit")
        self.horizontalLayout_3.addWidget(self.parent_lineEdit)
        self.setParent_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.setParent_pushButton.setObjectName("setParent_pushButton")
        self.horizontalLayout_3.addWidget(self.setParent_pushButton)
        self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.size_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.size_doubleSpinBox.setDecimals(3)
        self.size_doubleSpinBox.setMaximum(999.99)
        self.size_doubleSpinBox.setSingleStep(0.1)
        self.size_doubleSpinBox.setProperty("value", 1.0)
        self.size_doubleSpinBox.setObjectName("size_doubleSpinBox")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.size_doubleSpinBox)
        self.size_label = QtWidgets.QLabel(self.groupBox)
        self.size_label.setObjectName("size_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.size_label)
        self.verticalLayout_3.addLayout(self.formLayout)
        self.newTweak_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.newTweak_pushButton.setObjectName("newTweak_pushButton")
        self.verticalLayout_3.addWidget(self.newTweak_pushButton)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.delete_pushButton = QtWidgets.QPushButton(self.groupBox_2)
        self.delete_pushButton.setObjectName("delete_pushButton")
        self.gridLayout_2.addWidget(self.delete_pushButton, 0, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.addObjectToTweak_pushButton = QtWidgets.QPushButton(self.groupBox_3)
        self.addObjectToTweak_pushButton.setObjectName("addObjectToTweak_pushButton")
        self.gridLayout_3.addWidget(self.addObjectToTweak_pushButton, 1, 0, 1, 1)
        self.removeObjFromTweak_pushButton = QtWidgets.QPushButton(self.groupBox_3)
        self.removeObjFromTweak_pushButton.setObjectName("removeObjFromTweak_pushButton")
        self.gridLayout_3.addWidget(self.removeObjFromTweak_pushButton, 2, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.selectCtlBase_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.selectCtlBase_pushButton.setObjectName("selectCtlBase_pushButton")
        self.gridLayout_4.addWidget(self.selectCtlBase_pushButton, 1, 0, 1, 1)
        self.selectCtl_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.selectCtl_pushButton.setObjectName("selectCtl_pushButton")
        self.gridLayout_4.addWidget(self.selectCtl_pushButton, 0, 0, 1, 1)
        self.selectObjectsFromTweak_pushButton = QtWidgets.QPushButton(self.groupBox_4)
        self.selectObjectsFromTweak_pushButton.setObjectName("selectObjectsFromTweak_pushButton")
        self.gridLayout_4.addWidget(self.selectObjectsFromTweak_pushButton, 2, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_4)
        self.groupBox_6 = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox_6.setObjectName("groupBox_6")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.isAsset_checkBox = QtWidgets.QCheckBox(self.groupBox_6)
        self.isAsset_checkBox.setStatusTip("")
        self.isAsset_checkBox.setObjectName("isAsset_checkBox")
        self.verticalLayout_5.addWidget(self.isAsset_checkBox)
        self.customExt_checkBox = QtWidgets.QCheckBox(self.groupBox_6)
        self.customExt_checkBox.setObjectName("customExt_checkBox")
        self.verticalLayout_5.addWidget(self.customExt_checkBox)
        self.customExt_lineEdit = QtWidgets.QLineEdit(self.groupBox_6)
        self.customExt_lineEdit.setEnabled(False)
        self.customExt_lineEdit.setObjectName("customExt_lineEdit")
        self.verticalLayout_5.addWidget(self.customExt_lineEdit)
        self.verticalLayout_2.addWidget(self.groupBox_6)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 503, 21))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setTearOffEnabled(True)
        self.menuFile.setObjectName("menuFile")
        MainWindow.setMenuBar(self.menubar)
        self.exportSelected_action = QtWidgets.QAction(MainWindow)
        self.exportSelected_action.setObjectName("exportSelected_action")
        self.actionExport_Selected = QtWidgets.QAction(MainWindow)
        self.actionExport_Selected.setObjectName("actionExport_Selected")
        self.import_action = QtWidgets.QAction(MainWindow)
        self.import_action.setObjectName("import_action")
        self.actionAbout = QtWidgets.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.exportAll_action = QtWidgets.QAction(MainWindow)
        self.exportAll_action.setObjectName("exportAll_action")
        self.menuFile.addAction(self.exportSelected_action)
        self.menuFile.addAction(self.exportAll_action)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.import_action)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(344, 635)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.tools_groupBox = QtWidgets.QGroupBox(Form)
        self.tools_groupBox.setObjectName("tools_groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tools_groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.settings_pushButton = QtWidgets.QPushButton(self.tools_groupBox)
        self.settings_pushButton.setObjectName("settings_pushButton")
        self.verticalLayout_2.addWidget(self.settings_pushButton)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.duplicate_pushButton = QtWidgets.QPushButton(self.tools_groupBox)
        self.duplicate_pushButton.setObjectName("duplicate_pushButton")
        self.horizontalLayout.addWidget(self.duplicate_pushButton)
        self.dupSym_pushButton = QtWidgets.QPushButton(self.tools_groupBox)
        self.dupSym_pushButton.setObjectName("dupSym_pushButton")
        self.horizontalLayout.addWidget(self.dupSym_pushButton)
        self.extrCtl_pushButton = QtWidgets.QPushButton(self.tools_groupBox)
        self.extrCtl_pushButton.setObjectName("extrCtl_pushButton")
        self.horizontalLayout.addWidget(self.extrCtl_pushButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.build_pushButton = QtWidgets.QPushButton(self.tools_groupBox)
        self.build_pushButton.setObjectName("build_pushButton")
        self.verticalLayout_2.addWidget(self.build_pushButton)
        self.verticalLayout_3.addWidget(self.tools_groupBox)
        self.list_groupBox = QtWidgets.QGroupBox(Form)
        self.list_groupBox.setObjectName("list_groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.list_groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.search_lineEdit = QtWidgets.QLineEdit(self.list_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.search_lineEdit.sizePolicy().hasHeightForWidth())
        self.search_lineEdit.setSizePolicy(sizePolicy)
        self.search_lineEdit.setObjectName("search_lineEdit")
        self.verticalLayout.addWidget(self.search_lineEdit)
        self.splitter = QtWidgets.QSplitter(self.list_groupBox)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName("splitter")
        self.component_listView = DragQListView(self.splitter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.component_listView.sizePolicy().hasHeightForWidth())
        self.component_listView.setSizePolicy(sizePolicy)
        self.component_listView.setMinimumSize(QtCore.QSize(0, 0))
        self.component_listView.setEditTriggers(
            QtWidgets.QAbstractItemView.NoEditTriggers)
        self.component_listView.setProperty("showDropIndicator", False)
        self.component_listView.setDragDropMode(
            QtWidgets.QAbstractItemView.NoDragDrop)
        self.component_listView.setDefaultDropAction(QtCore.Qt.CopyAction)
        self.component_listView.setAlternatingRowColors(True)
        self.component_listView.setSelectionMode(
            QtWidgets.QAbstractItemView.SingleSelection)
        self.component_listView.setObjectName("component_listView")
        self.info_plainTextEdit = QtWidgets.QPlainTextEdit(self.splitter)
        self.info_plainTextEdit.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.info_plainTextEdit.sizePolicy().hasHeightForWidth())
        self.info_plainTextEdit.setSizePolicy(sizePolicy)
        self.info_plainTextEdit.setMinimumSize(QtCore.QSize(0, 50))
        self.info_plainTextEdit.setMaximumSize(QtCore.QSize(16777215, 100))
        self.info_plainTextEdit.setBaseSize(QtCore.QSize(0, 50))
        self.info_plainTextEdit.setUndoRedoEnabled(False)
        self.info_plainTextEdit.setReadOnly(True)
        self.info_plainTextEdit.setPlainText("")
        self.info_plainTextEdit.setObjectName("info_plainTextEdit")
        self.verticalLayout.addWidget(self.splitter)
        self.draw_pushButton = QtWidgets.QPushButton(self.list_groupBox)
        self.draw_pushButton.setObjectName("draw_pushButton")
        self.verticalLayout.addWidget(self.draw_pushButton)
        self.showUI_checkBox = QtWidgets.QCheckBox(self.list_groupBox)
        self.showUI_checkBox.setChecked(True)
        self.showUI_checkBox.setObjectName("showUI_checkBox")
        self.verticalLayout.addWidget(self.showUI_checkBox)
        self.verticalLayout_3.addWidget(self.list_groupBox)

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