def saveState(self): """Return a dictionary representing the current state of the widget.""" state = {} state['daqState'] = DAQGenericTaskGui.saveState(self) state['mode'] = self.getMode() #state['holdingEnabled'] = self.ctrl.holdingCheck.isChecked() #state['holding'] = self.ctrl.holdingSpin.value() return state
def saveState(self): """Return a dictionary representing the current state of the widget.""" state = {} state['daqState'] = DAQGenericTaskGui.saveState(self) return state