def __init__(self, parent=None, step=''): super(ExtendPubWidget, self).__init__(parent) ui_file = os.path.join(os.path.dirname(__file__), 'extend_pub_widget.ui') _loadUi(ui_file, self) # RenderAwesomeUI(ui_file, self) self.step = step self.extend_layout()
def __init__(self, parent=None, step=''): super(ExtendPubWidget, self).__init__(parent) ui_file = os.path.join(os.path.dirname(__file__), 'extend_pub_widget.ui') _loadUi(ui_file, self) self.step = step self.init_connections() self.reload_camera()
def __init__(self): super(MyWindow, self).__init__() _loadUi('retargeter.ui', self) self.linkFunc() self.skeletonPath = '' self.mocapPath = ''
def __init__(self, parent=None, step=''): super(PreflightWidget, self).__init__(parent) ui_file = os.path.join(os.path.dirname(__file__), 'preflight_widget.ui') _loadUi(ui_file, self) self.step = step self.init_ui() self.init_layout()
def __init__(self, parent=None, step=''): super(PreviewWidget, self).__init__(parent) self.step = step ui_file = os.path.join(os.path.dirname(__file__), 'pub_win.ui') _loadUi(ui_file, self) self.preflight_widget = PreflightWidget(step=self.step) # self.pub_widget = PubWidget(step=self.step) step_module = importlib.import_module( 'check.{}.gui.extend_pub_widget'.format(self.step)) self.extend_pub_widget = step_module.ExtendPubWidget() self.setWindowTitle('{} Publish Tool'.format(self.step.lower())) self.init_layout() self.init_connectiond()
def __init__(self, parent=None): super(PreviewWidget, self).__init__(parent) self.setWindowTitle('Lighting import tool') self.current_file_path = core.get_current_scene_file() try: NamingAPI.parser(self.current_file_path) except RuntimeError: om.MGlobal.displayWarning( 'Please open a lgt file that give a legal path.') return ui_file = os.path.join(os.path.dirname(__file__), 'win.ui') _loadUi(ui_file, self) self.init_ui() self.init_layout() self.init_connectiond() self.get_abc_from_version() self.get_lay_abc_from_version()
def __init__(self): super(MyWindow, self).__init__() _loadUi('vc.ui', self) #self.setCentralWidget(self.widget) self.uniqueTopN = [] self.oriColorTop = [] self.compColorTop = [] self.diffColorTop = [] self.master = [] self.filterList = [] self.oriFilter = True # a flag determine get filter list from original dictionary self.linkFunc() self.show() self.stackedWidget.setCurrentIndex(3) self.dropBtn.setCurrentIndex(3)
def __init__(self, parent=None, step=''): super(PubWidget, self).__init__(parent) ui_file = os.path.join(os.path.dirname(__file__), 'pub_widget.ui') _loadUi(ui_file, self) self.step = step