code: def saveState(self, filter=None):
      state = super().saveState(filter)
      reverseMap = dict(zip(self.enumMap.values(), self.enumMap))
      state["value"] = reverseMap[state["value"]]
      return state
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/qtenum.py
imports: from enum import Enum
  from ...Qt import QT_LIB, QtCore
  from .list import ListParameter
label_desc: Use image node_id 4 for calling the QtEnumParameter obj's underlying member method code with example usage: obj.saveState(filter) and returns: state