def __init__(self, parent=None): super(PulseEditorWindow, self).__init__(parent=parent) self.setWindowTitle('Pulse') pulse.loadBuiltinActions() self.setupUi(self)
def __init__(self, parent=None): super(PulseEditorWindow, self).__init__(parent=parent) self.setWindowTitle('Pulse') pulse.loadBuiltinActions() self.setupUi(self) self.mainTabWidget.setCurrentIndex(self.mainTabIndex) self.actionsTabWidget.setCurrentIndex(self.actionsTabIndex) # connect signals self.mainTabWidget.currentChanged.connect(self.setMainTabIndex) self.actionsTabWidget.currentChanged.connect(self.setActionsTabIndex)
def __init__(self, parent=None): super(PulseEditorWindow, self).__init__(parent=parent) self.setWindowTitle('Pulse') self.tabDefinitions = TAB_DEFINITIONS pulse.loadBuiltinActions() self.blueprintModel = BlueprintUIModel.getDefaultModel() self.setupUi(self) self.setupMenuBar(self) self.mainTabWidget.setCurrentIndex(self.mainTabIndex) # connect signals self.mainTabWidget.currentChanged.connect(self.setMainTabIndex)
import unittest import maya.standalone maya.standalone.initialize() # pulse setup import pulse pulse.loadBuiltinActions() # run tests loader = unittest.TestLoader() start_dir = 'tests' suite = loader.discover(start_dir) runner = unittest.TextTestRunner(verbosity=2) runner.run(suite)