Beispiel #1
0
    def eyeCreate(self, side=''):

        topLid = utils.sliderB_south(side + 'topLid')
        botLid = utils.sliderB_north(side + 'botLid')

        cmds.move(0, 1.125, 0, topLid)
        cmds.move(0, -1.125, 0, botLid)

        grp = cmds.group(topLid, botLid, name=(side + 'eye_ui_grp'))

        return grp
Beispiel #2
0
 def eyeCreate(self,side=''):
     
     topLid=utils.sliderB_south(side+'topLid')
     botLid=utils.sliderB_north(side+'botLid')
     
     cmds.move( 0, 1.125, 0, topLid)
     cmds.move( 0, -1.125, 0, botLid)
     
     grp=cmds.group(topLid,botLid,name=(side+'eye_ui_grp'))
     
     return grp
Beispiel #3
0
    def createConnections(self):
        self.connect(self.sliderA, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderA(str(self.prefix.text())))

        self.connect(self.sliderB_east, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderB_east(str(self.prefix.text())))
        self.connect(self.sliderB_north, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderB_north(str(self.prefix.text())))
        self.connect(self.sliderB_south, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderB_south(str(self.prefix.text())))
        self.connect(self.sliderB_west, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderB_west(str(self.prefix.text())))

        self.connect(self.sliderC_east, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_east(str(self.prefix.text())))
        self.connect(self.sliderC_horizontal, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_horizontal(str(self.prefix.text())))
        self.connect(self.sliderC_north, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_north(str(self.prefix.text())))
        self.connect(self.sliderC_south, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_south(str(self.prefix.text())))
        self.connect(self.sliderC_vertical, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_vertical(str(self.prefix.text())))
        self.connect(self.sliderC_west, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderC_west(str(self.prefix.text())))

        self.connect(self.sliderD_northeast, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderD_northeast(str(self.prefix.text())))
        self.connect(self.sliderD_northwest, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderD_northwest(str(self.prefix.text())))
        self.connect(self.sliderD_southeast, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderD_southeast(str(self.prefix.text())))
        self.connect(self.sliderD_southwest, QtCore.SIGNAL('clicked()'),
                     lambda: utils.sliderD_southwest(str(self.prefix.text())))

        self.connect(self.eyeSetup, QtCore.SIGNAL('clicked()'), self.eyeCreate)
        self.connect(self.eyesSetup, QtCore.SIGNAL('clicked()'),
                     self.eyesCreate)
        self.connect(self.jawSkullSetup, QtCore.SIGNAL('clicked()'),
                     self.jawSkullCreate)
        self.connect(self.mouthSetup, QtCore.SIGNAL('clicked()'),
                     self.mouthCornerCreate)
Beispiel #4
0
 def createConnections(self):
     self.connect(self.sliderA, QtCore.SIGNAL('clicked()'),lambda: utils.sliderA(str(self.prefix.text())))
     
     self.connect(self.sliderB_east, QtCore.SIGNAL('clicked()'),lambda: utils.sliderB_east(str(self.prefix.text())))
     self.connect(self.sliderB_north, QtCore.SIGNAL('clicked()'),lambda: utils.sliderB_north(str(self.prefix.text())))
     self.connect(self.sliderB_south, QtCore.SIGNAL('clicked()'),lambda: utils.sliderB_south(str(self.prefix.text())))
     self.connect(self.sliderB_west, QtCore.SIGNAL('clicked()'),lambda: utils.sliderB_west(str(self.prefix.text())))
     
     self.connect(self.sliderC_east, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_east(str(self.prefix.text())))
     self.connect(self.sliderC_horizontal, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_horizontal(str(self.prefix.text())))
     self.connect(self.sliderC_north, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_north(str(self.prefix.text())))
     self.connect(self.sliderC_south, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_south(str(self.prefix.text())))
     self.connect(self.sliderC_vertical, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_vertical(str(self.prefix.text())))
     self.connect(self.sliderC_west, QtCore.SIGNAL('clicked()'),lambda: utils.sliderC_west(str(self.prefix.text())))
     
     self.connect(self.sliderD_northeast, QtCore.SIGNAL('clicked()'),lambda: utils.sliderD_northeast(str(self.prefix.text())))
     self.connect(self.sliderD_northwest, QtCore.SIGNAL('clicked()'),lambda: utils.sliderD_northwest(str(self.prefix.text())))
     self.connect(self.sliderD_southeast, QtCore.SIGNAL('clicked()'),lambda: utils.sliderD_southeast(str(self.prefix.text())))
     self.connect(self.sliderD_southwest, QtCore.SIGNAL('clicked()'),lambda: utils.sliderD_southwest(str(self.prefix.text())))
     
     self.connect(self.eyeSetup, QtCore.SIGNAL('clicked()'),self.eyeCreate)
     self.connect(self.eyesSetup, QtCore.SIGNAL('clicked()'),self.eyesCreate)
     self.connect(self.jawSkullSetup, QtCore.SIGNAL('clicked()'),self.jawSkullCreate)
     self.connect(self.mouthSetup, QtCore.SIGNAL('clicked()'),self.mouthCornerCreate)