code: def updateDisplayLabel(self, value=None):
      lbl = self.displayLabel
      if value is None:
          value = self.param.value()
      value = str(value)
      font = lbl.font()
      metrics = QtGui.QFontMetricsF(font)
      value = metrics.elidedText(
          value, QtCore.Qt.TextElideMode.ElideLeft, lbl.width() - 5
      )
      return super().updateDisplayLabel(value)
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/file.py
imports: import os
  import re
  from ...Qt import QtCore, QtGui, QtWidgets
  from ..Parameter import Parameter
  from .str import StrParameterItem
label_desc: Use image node_id 8 for calling the FileParameterItem obj's underlying member method code with example usage: obj.updateDisplayLabel(value) and returns: super