def bdMain():
    UI_FILE_PATH = os.path.join(TOOLS_PATH, 'UI/bdSwitchPropsParentUI.ui')
    UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class(UI_FILE_PATH)

    if pm.window(WINDOW_NAME, exists=True, q=True):
        pm.deleteUI(WINDOW_NAME)

    SwitchParentUi()
Esempio n. 2
0
def bdMain():
    UI_FILE_PATH = os.path.join(TOOLS_PATH, 'UI/bdLipAnimUtils.ui')
    UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class(UI_FILE_PATH)

    if pm.window(WINDOW_NAME, exists=True, q=True):
        pm.deleteUI(WINDOW_NAME)

    LipAnimUI()
Esempio n. 3
0
def bdMain():
    UI_FILE_PATH = os.path.join( TOOLS_PATH, 'UI/bdLipAnimUtils.ui' )
    UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class( UI_FILE_PATH )

    if pm.window( WINDOW_NAME, exists = True, q = True ):
        pm.deleteUI( WINDOW_NAME )

    LipAnimUI()
def bdMain():
    UI_FILE_PATH = os.path.join( TOOLS_PATH, 'UI/bdSwitchPropsParentUI.ui' )
    UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class( UI_FILE_PATH )

    if pm.window( WINDOW_NAME, exists = True, q = True ):
        pm.deleteUI( WINDOW_NAME )

    SwitchParentUi()
Esempio n. 5
0
def show_ui():
   UI_FILE_PATH = os.path.join( TOOLS_PATH, 'pyside_example.ui' )
   UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class( UI_FILE_PATH )

   if cmds.window( WINDOW_NAME, exists = True, q = True ):
      cmds.deleteUI( WINDOW_NAME )
      
   Environment_Tool()
Esempio n. 6
0
import sip, os, shiboken
import PySide.QtGui as QtGui
import PySide.QtCore as QtCore

import pyside_util
reload(pyside_util)

# #####################
TOOLS_PATH = os.path.dirname(__file__)
WINDOW_TITLE = 'Lip Anim Tools'
WINDOW_VERTION = 1.0
WINDOW_NAME = 'bdLipAnimUtilWin'
# ###################

UI_FILE_PATH = os.path.join(TOOLS_PATH, 'UI/bdLipAnimUtils.ui')
UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class(UI_FILE_PATH)

pysideLoggers = ['pysideuic.properties', 'pysideuic.uiparser']
for log in pysideLoggers:
    logger = logging.getLogger(log)
    logger.setLevel(logging.ERROR)


def widgetPath(windowName, widgetNames):
    """
    @param windowName: Window instance name to search
    @param widgetNames: list of names to search for
    taken from http://www.chris-g.net/2011/06/24/maya-qt-interfaces-in-a-class/
    """

    returnDict = {}
Esempio n. 7
0
import PySide.QtCore as QtCore

import pyside_util
reload(pyside_util)



# #####################
TOOLS_PATH = os.path.dirname( __file__ )
WINDOW_TITLE = 'Lip Anim Tools'
WINDOW_VERTION = 1.0
WINDOW_NAME = 'bdLipAnimUtilWin'
# ###################

UI_FILE_PATH = os.path.join( TOOLS_PATH, 'UI/bdLipAnimUtils.ui' )
UI_OBJECT, BASE_CLASS = pyside_util.get_pyside_class( UI_FILE_PATH )


pysideLoggers = ['pysideuic.properties','pysideuic.uiparser']
for log in pysideLoggers:
    logger = logging.getLogger(log)
    logger.setLevel(logging.ERROR)

def widgetPath(windowName, widgetNames):
    """
    @param windowName: Window instance name to search
    @param widgetNames: list of names to search for
    taken from http://www.chris-g.net/2011/06/24/maya-qt-interfaces-in-a-class/
    """

    returnDict = {}