def onDoorChanged(self, doorName): MacroExecutionWindow.onDoorChanged(self, doorName) if self._qDoor: self._qDoor.macroStatusUpdated.disconnect( self.taurusSequencerWidget.onMacroStatusUpdated) self._qDoor = None if doorName == "": return self._qDoor = Device(doorName) self._qDoor.macroStatusUpdated.connect( self.taurusSequencerWidget.onMacroStatusUpdated) self.taurusSequencerWidget.onDoorChanged(doorName)
def onDoorChanged(self, doorName): MacroExecutionWindow.onDoorChanged(self, doorName) if self._qDoor: self._qDoor.macroStatusUpdated.disconnect( self.taurusSequencerWidget.onMacroStatusUpdated) self._qDoor = None if doorName == "": return self._qDoor = Device(doorName) self._qDoor.macroStatusUpdated.connect( self.taurusSequencerWidget.onMacroStatusUpdated) self.taurusSequencerWidget.onDoorChanged(doorName)
def setCustomMacroEditorPaths(self, customMacroEditorPaths): MacroExecutionWindow.setCustomMacroEditorPaths(self, customMacroEditorPaths) ParamEditorManager().parsePaths(customMacroEditorPaths) ParamEditorManager().browsePaths()
def __init__(self, parent=None, designMode=False): MacroExecutionWindow.__init__(self)
def setCustomMacroEditorPaths(self, customMacroEditorPaths): MacroExecutionWindow.setCustomMacroEditorPaths( self, customMacroEditorPaths) ParamEditorManager().parsePaths(customMacroEditorPaths) ParamEditorManager().browsePaths()
def __init__(self, parent=None, designMode=False): MacroExecutionWindow.__init__(self)
def setModel(self, model): MacroExecutionWindow.setModel(self, model) self.taurusSequencerWidget.setModel(model)