docstr: Updates transform numbers in the ctrl widget.
docstr_tok: ["Updates","transform","numbers","in","the","ctrl","widget","."]
code: def displayTransform(self, transform):
      """Updates transform numbers in the ctrl widget."""
      tr = transform.saveState()
  
      self.transformGui.translateLabel.setText(
          "Translate: (%f, %f)" % (tr["pos"][0], tr["pos"][1])
      )
      self.transformGui.rotateLabel.setText(
          "Rotate: %f degrees" % tr["angle"]
      )
      self.transformGui.scaleLabel.setText(
          "Scale: (%f, %f)" % (tr["scale"][0], tr["scale"][1])
      )
  
imports: import importlib
  from ..None import ItemGroup, SRTTransform, debug
  from ..None import functions
  from ..graphicsItems.ROI import ROI
  from ..Qt import QT_LIB, QtCore, QtWidgets
  from .None import TransformGuiTemplate_generic
label_desc: Use image node_id 29 for calling the CanvasItem obj's underlying member method code with example usage: obj.displayTransform(transform) without return types