docstr: Move/scale the selection box so it fits the item's bounding rect. (assumes item is not rotated)
docstr_tok: ["Move\/scale","the","selection","box","so","it","fits","the","item","'s","bounding","rect",".","(","assumes","item","is","not","rotated",")"]
code: def selectBoxToItem(self):
      """Move/scale the selection box so it fits the item's bounding rect. (assumes item is not rotated)"""
      self.itemRect = self._graphicsItem.boundingRect()
      rect = self._graphicsItem.mapRectToParent(self.itemRect)
      self.selectBox.blockSignals(True)
      self.selectBox.setPos([rect.x(), rect.y()])
      self.selectBox.setSize(rect.size())
      self.selectBox.setAngle(0)
      self.selectBoxBase = self.selectBox.getState().copy()
      self.selectBox.blockSignals(False)
  
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 35 for calling the CanvasItem obj's underlying member method code with example usage: obj.selectBoxToItem() without return types