コード例 #1
0
ファイル: AxoPatch200.py プロジェクト: travis-open/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     self.modeCombo.setCurrentIndex(self.modeCombo.findText(state['mode']))
     #self.ctrl.holdingCheck.setChecked(state['holdingEnabled'])
     #if state['holdingEnabled']:
     #    self.ctrl.holdingSpin.setValue(state['holding'])
     return DAQGenericTaskGui.restoreState(self, state['daqState'])
コード例 #2
0
ファイル: AxoPatch200.py プロジェクト: hiuwo/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     self.modeCombo.setCurrentIndex(self.modeCombo.findText(state["mode"]))
     # self.ctrl.holdingCheck.setChecked(state['holdingEnabled'])
     # if state['holdingEnabled']:
     #    self.ctrl.holdingSpin.setValue(state['holding'])
     return DAQGenericTaskGui.restoreState(self, state["daqState"])
コード例 #3
0
ファイル: MockClamp.py プロジェクト: neurodebian/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     #print 'state: ', state
     #print 'DaqGeneric : ', dir(DAQGenericTaskGui)
     if 'mode' in state:
         self.modeCombo.setCurrentIndex(self.modeCombo.findText(state['mode']))
     #self.ctrl.holdingCheck.setChecked(state['holdingEnabled'])
     #if state['holdingEnabled']:
     #    self.ctrl.holdingSpin.setValue(state['holding'])
     if 'daqState' in state:
         return DAQGenericTaskGui.restoreState(self, state['daqState'])
     else:
         return None
コード例 #4
0
ファイル: MockClamp.py プロジェクト: outofculture/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     #print 'state: ', state
     #print 'DaqGeneric : ', dir(DAQGenericTaskGui)
     if 'mode' in state:
         self.modeCombo.setCurrentIndex(
             self.modeCombo.findText(state['mode']))
     #self.ctrl.holdingCheck.setChecked(state['holdingEnabled'])
     #if state['holdingEnabled']:
     #    self.ctrl.holdingSpin.setValue(state['holding'])
     if 'daqState' in state:
         return DAQGenericTaskGui.restoreState(self, state['daqState'])
     else:
         return None
コード例 #5
0
ファイル: LaserTaskGui.py プロジェクト: neurodebian/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     return DAQGenericTaskGui.restoreState(self, state['daqState'])
コード例 #6
0
ファイル: LaserTaskGui.py プロジェクト: travis-open/acq4
 def restoreState(self, state):
     """Restore the state of the widget from a dictionary previously generated using saveState"""
     return DAQGenericTaskGui.restoreState(self, state['daqState'])