Пример #1
0
    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)
Пример #2
0
    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)
Пример #3
0
 def setCustomMacroEditorPaths(self, customMacroEditorPaths):
     MacroExecutionWindow.setCustomMacroEditorPaths(self,
                                                    customMacroEditorPaths)
     ParamEditorManager().parsePaths(customMacroEditorPaths)
     ParamEditorManager().browsePaths()
Пример #4
0
 def __init__(self, parent=None, designMode=False):
     MacroExecutionWindow.__init__(self)
Пример #5
0
 def setCustomMacroEditorPaths(self, customMacroEditorPaths):
     MacroExecutionWindow.setCustomMacroEditorPaths(
         self, customMacroEditorPaths)
     ParamEditorManager().parsePaths(customMacroEditorPaths)
     ParamEditorManager().browsePaths()
Пример #6
0
 def __init__(self, parent=None, designMode=False):
     MacroExecutionWindow.__init__(self)
Пример #7
0
 def setModel(self, model):
     MacroExecutionWindow.setModel(self, model)
     self.taurusSequencerWidget.setModel(model)