Exemple #1
0
def show(*args):
    gqt.showDialog(ui)
Exemple #2
0
def openXgenBoost(*args):

    pyqt.showDialog(XgenBoost, dockable=False)
def open(*args):
    # open the synoptic dialog, without clean old instances
    pyqt.showDialog(Synoptic, False)
Exemple #4
0
def openChannelWrangler(*args):
    pyqt.showDialog(channelWrangler, dockable=True)
Exemple #5
0
        self.gtUIInst.assetName_lineEdit.editingFinished.connect(
            partial(gameTools._validCharacters,
                    self.gtUIInst.assetName_lineEdit))
        self.gtUIInst.rigNode_pushButton.clicked.connect(
            self.populateRigTopNode)
        self.gtUIInst.meshNode_pushButton.clicked.connect(
            self.populateMeshTopNode)
        self.gtUIInst.path_pushButton.clicked.connect(
            self.populateOutputFolder)
        self.gtUIInst.script_pushButton.clicked.connect(self.populateScript)
        self.gtUIInst.disconnectExport_pushButton.clicked.connect(
            self.disconnectExport)
        self.gtUIInst.importConnect_pushButton.clicked.connect(
            self.importAssembly)
        self.gtUIInst.referenceConnect_pushButton.clicked.connect(
            self.referenceAssembly)


def openGameTools(*args):
    """Open game tools window

    Args:
        *args: Dummy for Maya
    """
    pyqt.showDialog(gameTools)


if __name__ == "__main__":

    pyqt.showDialog(gameTools)
Exemple #6
0
def show_guide_component_manager(*args):
    pyqt.showDialog(GuideManagerComponent, dockable=True)
Exemple #7
0
        """
        index_list = self._getSelectedRowsIndex()
        if index_list:
            for index in index_list:
                oCombo = self.table.cellWidget(index.row(), 4)
                oCombo.setCurrentIndex(operator)
        else:
            for i in reversed(range(self.table.rowCount())):
                oCombo = self.table.cellWidget(i, 4)
                oCombo.setCurrentIndex(operator)

    def setMoveOperator(self):
        """set the channel wrangler operator to Move
        """
        self._setOperator(0)

    def setProxyOperator(self):
        """set the channel wrangler operator to Proxy
        """
        self._setOperator(1)


def openChannelWrangler(*args):
    pyqt.showDialog(channelWrangler, dockable=True)


####################################

if __name__ == "__main__":
    pyqt.showDialog(channelWrangler)
Exemple #8
0
def showEyeRigUI(*args):
    gqt.showDialog(eyeRigUI)
Exemple #9
0
def open_guide_template_explorer(*args):

    pyqt.showDialog(GuideTemplateExplorer, dockable=True)
Exemple #10
0
        miss = self.gdUIInst.missingGuide_checkBox.isChecked()
        extra = self.gdUIInst.extraGuide_checkBox.isChecked()
        guide_tra = self.gdUIInst.transform_checkBox.isChecked()
        root_sett = self.gdUIInst.rootSettings_checkBox.isChecked()
        comp_sett = self.gdUIInst.compSettings_checkBox.isChecked()
        custom_step = self.gdUIInst.customStep_checkBox.isChecked()
        guide_diff = guide_template.guide_diff(
            self.guide,
            master_guide,
            check_missing_guide_component_diff=miss,
            check_extra_guide_component_diff=extra,
            check_guide_transform_diff=guide_tra,
            check_guide_root_settings_diff=root_sett,
            check_component_settings_diff=comp_sett,
            check_guide_custom_step_diff=custom_step)
        guide_template.print_guide_diff(guide_diff)


def open_guide_template_diff(guide=None, *args):

    if guide:
        windw = pyqt.showDialog(GuideDiffTool, dockable=True)
        windw.guide = guide
    else:
        pm.displayWarning("Initial guide not provided.")


if __name__ == "__main__":

    pyqt.showDialog(GuideTemplateExplorer, dockable=True)
def showLipRigUI(*args):
    gqt.showDialog(lipRigUI)
Exemple #12
0
def show_guide_manager(*args):
    pyqt.showDialog(GuideManager, dockable=True)