code: def formattedLimits(self):
      # Title-cased words without the ending substring for brevity
      substringEnd = None
      mapping = self.enumMap
      shortestName = min(len(name) for name in mapping)
      names = list(mapping)
      cmpName, *names = names
      for ii in range(-1, -shortestName - 1, -1):
          if any(cmpName[ii] != curName[ii] for curName in names):
              substringEnd = ii + 1
              break
      # Special case of 0: Set to none to avoid null string
      if substringEnd == 0:
          substringEnd = None
      limits = {}
      for kk, vv in self.enumMap.items():
          limits[kk[:substringEnd]] = vv
      return limits
  
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 3 for calling the QtEnumParameter obj's underlying member method code with example usage: obj.formattedLimits() and returns: limits