Exemple #1
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(412, 394)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.explorer_treeView = QtWidgets.QTreeView(self.centralwidget)
        self.explorer_treeView.setObjectName("explorer_treeView")
        self.gridLayout.addWidget(self.explorer_treeView, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 412, 21))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuGuide = QtWidgets.QMenu(self.menubar)
        self.menuGuide.setObjectName("menuGuide")
        MainWindow.setMenuBar(self.menubar)
        self.actionBuild = QtWidgets.QAction(MainWindow)
        self.actionBuild.setObjectName("actionBuild")
        self.actionImport = QtWidgets.QAction(MainWindow)
        self.actionImport.setObjectName("actionImport")
        self.actionImport_Partial = QtWidgets.QAction(MainWindow)
        self.actionImport_Partial.setObjectName("actionImport_Partial")
        self.actionOpen = QtWidgets.QAction(MainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.actionSave = QtWidgets.QAction(MainWindow)
        self.actionSave.setObjectName("actionSave")
        self.actionSave_As = QtWidgets.QAction(MainWindow)
        self.actionSave_As.setObjectName("actionSave_As")
        self.actionClear = QtWidgets.QAction(MainWindow)
        self.actionClear.setObjectName("actionClear")
        self.actionDiff_Tool = QtWidgets.QAction(MainWindow)
        self.actionDiff_Tool.setObjectName("actionDiff_Tool")
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSave_As)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionClear)
        self.menuGuide.addAction(self.actionBuild)
        self.menuGuide.addSeparator()
        self.menuGuide.addAction(self.actionImport)
        self.menuGuide.addAction(self.actionImport_Partial)
        self.menuGuide.addSeparator()
        self.menuGuide.addAction(self.actionDiff_Tool)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuGuide.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
    def config_table(self):

        def value_update(attr_config, *args):
            """Update the attribute from the  channel value

            Args:
                ch (QWidget): The channel widget
                atttr_config (dict): attribute configuration data
                *args: the current value
            """
            if self.trigger_value_update:
                try:
                    cmds.setAttr(self.namespace_sync(attr_config["fullName"]),
                                 args[0])

                    # refresh button color while value update
                    for i in xrange(self.rowCount()):
                        item = self.item(i, 0)
                        attr = item.data(QtCore.Qt.UserRole)
                        if (self.namespace_sync(attr["fullName"])
                                == self.namespace_sync(
                                    attr_config["fullName"])):
                            button = self.cellWidget(i, 1)
                            refresh_key_button_color(
                                button,
                                self.namespace_sync(attr_config["fullName"]))
                            break
                except RuntimeError:
                    fname = self.namespace_sync(attr_config["fullName"])
                    pm.displayWarning("Channel {} not Found.".format(fname)
                                      + " Maybe the channel master"
                                      + " contains not existing channels. "
                                      + "Review Channel Master configuration")

        def open_undo_chunk():
            cmds.undoInfo(openChunk=True)

        def close_undo_chunk():
            cmds.undoInfo(closeChunk=True)

        if not self.chan_config:
            return

        i = 0
        for ch in self.chan_config["channels"]:
            at = self.chan_config["channels_data"][ch]
            at_name = self.namespace_sync(at["fullName"])
            try:
                val = cmds.getAttr(at_name)
            except ValueError:
                pm.displayWarning(
                    "{} not found. Maybe wrong NameSpace?".format(at_name))
                continue
            if at["type"] in cmu.ATTR_SLIDER_TYPES:
                if at["type"] == "long":
                    Type = "int"
                else:
                    Type = "float"
                ch_ctl = pyflow_widgets.pyf_Slider(self,
                                                   Type=Type,
                                                   defaultValue=val,
                                                   sliderRange=(at["min"],
                                                                at["max"]))

                ch_ctl.valueChanged.connect(
                    partial(value_update, at))
                ch_ctl.sliderPressed.connect(open_undo_chunk)
                ch_ctl.sliderReleased.connect(close_undo_chunk)

            elif at["type"] == "bool":

                ch_ctl = QtWidgets.QWidget()
                layout = QtWidgets.QHBoxLayout(ch_ctl)
                cbox = QtWidgets.QCheckBox()
                cbox.setStyleSheet(CHECKBOX_STYLE)
                ch_ctl.setStyleSheet(CHECKBOX_STYLE)
                layout.addWidget(cbox)
                layout.setAlignment(QtCore.Qt.AlignCenter)
                layout.setContentsMargins(0, 0, 0, 0)
                ch_ctl.setLayout(layout)
                if val:
                    cbox.setChecked(True)

                cbox.toggled.connect(
                    partial(value_update, at))

            elif at["type"] == "enum":

                # we handle special naming for separators
                if at["niceName"] == "__________":
                    continue
                else:
                    ch_ctl = QtWidgets.QComboBox()
                    ch_ctl.addItems(at["items"])
                    ch_ctl.setCurrentIndex(val)

                    ch_ctl.currentIndexChanged.connect(
                        partial(value_update, at))

            label_item = QtWidgets.QTableWidgetItem(at["niceName"] + "  ")
            if at["color"]:
                color = QtGui.QColor()
                color.setRgbF(*at["color"])
                label_item.setBackground(color)
            label_item.setData(QtCore.Qt.UserRole, at)
            label_item.setTextAlignment(QtCore.Qt.AlignRight)
            label_item.setToolTip(self.namespace_sync(at["fullName"]))
            label_item.setFlags(label_item.flags() ^ QtCore.Qt.ItemIsEditable)

            key_button = self.create_key_button(at)

            self.insertRow(i)
            self.setRowHeight(i, 17)
            self.setItem(i, 0, label_item)
            self.setCellWidget(i, 1, key_button)
            self.setCellWidget(i, 2, ch_ctl)

            self.track_widgets.append([key_button, ch_ctl])

            i += 1
Exemple #3
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(501, 510)
        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 = 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.setSingleStep(0.1)
        self.size_doubleSpinBox.setProperty("value", 0.5)
        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)
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        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.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, 501, 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)
Exemple #4
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)