Exemple #1
0
    def __init__(self, parent=None):
        super(PulseEditorWindow, self).__init__(parent=parent)

        self.setWindowTitle('Pulse')

        pulse.loadBuiltinActions()

        self.setupUi(self)
Exemple #2
0
    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)
Exemple #3
0
    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)
Exemple #4
0
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)