예제 #1
0
파일: ui_rig.py 프로젝트: jonntd/Public
@date:    Oct 9, 2014
@mail:    [email protected]
@brief:   This module creates and setups the rig settings ui
'''


import os
from goe_ui.pandoras_box.contents import utils

from PySide import QtGui, QtCore


path = os.path.join(os.path.dirname(__file__),'ui', 'rigSettings.ui')
assert os.path.exists(path), 'Path does not exist!'

form_class, base_class = utils.load_ui_type(path)


class RigSettingsUI(base_class, form_class):
    """
    @DONE: setup ik disabled
    @DONE: setup float slider for size
    @DONE: check side and mirror checkbox
    @DONE: fix menubar
    @DONE: setup the data handling for the UI
    """
    def __init__(self, button='Create', lock=False, mirror=False):
        super(RigSettingsUI, self).__init__()
        self.setupUi(self)
        self.setGeometry(600,300,100,100)
        self.setWindowModality(QtCore.Qt.NonModal)
예제 #2
0
@date:    Oct 9, 2014
@mail:    [email protected]
@brief:   This module creates and setups the rig settings ui
'''


import os
from goe_ui.pandoras_box.contents import utils

from PySide import QtGui, QtCore


path = os.path.join(os.path.dirname(__file__),'ui', 'rigDialog.ui')
assert os.path.exists(path), 'Path does not exist!'

form_class, base_class = utils.load_ui_type(path)


class RigSettingsUI(base_class, form_class):
    """
    @DONE: setup ik disabled
    @DONE: setup float slider for size
    @DONE: check side and mirror checkbox
    @DONE: fix menubar
    @DONE: setup the data handling for the UI
    @todo: write constraint, lock and hide, limit transforms and hook setup 
    """
    def __init__(self, lock=False):
        super(RigSettingsUI, self).__init__()
        self.setupUi(self)
        self.setGeometry(600,300,100,100)