code: def retranslateUi(self, MainWindow):
      _translate = QtCore.QCoreApplication.translate
      MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
      self.cudaCheck.setText(
          _translate("MainWindow", "Use CUDA (GPU) if available")
      )
      self.numbaCheck.setText(
          _translate("MainWindow", "Use Numba if available")
      )
      self.downsampleCheck.setText(
          _translate("MainWindow", "Auto downsample")
      )
      self.scaleCheck.setText(_translate("MainWindow", "Scale Data"))
      self.rawRadio.setText(_translate("MainWindow", "RawImageWidget"))
      self.gfxRadio.setText(
          _translate("MainWindow", "GraphicsView + ImageItem")
      )
      self.rawGLRadio.setText(
          _translate("MainWindow", "RawGLImageWidget")
      )
      self.dtypeCombo.setItemText(0, _translate("MainWindow", "uint8"))
      self.dtypeCombo.setItemText(1, _translate("MainWindow", "uint16"))
      self.dtypeCombo.setItemText(2, _translate("MainWindow", "float"))
      self.label.setText(_translate("MainWindow", "Data type"))
      self.rgbLevelsCheck.setText(_translate("MainWindow", "RGB"))
      self.label_3.setText(_translate("MainWindow", "<--->"))
      self.label_2.setText(_translate("MainWindow", "<--->"))
      self.label_4.setText(_translate("MainWindow", "<--->"))
      self.lutCheck.setText(
          _translate("MainWindow", "Use Lookup  Table")
      )
      self.alphaCheck.setText(_translate("MainWindow", "alpha"))
      self.fpsLabel.setText(_translate("MainWindow", "FPS"))
      self.rgbCheck.setText(_translate("MainWindow", "RGB"))
      self.label_5.setText(_translate("MainWindow", "Image size"))
  
imports: from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
  from pyqtgraph import GradientWidget, GraphicsView, SpinBox
  from pyqtgraph.widgets.RawImageWidget import RawImageWidget
label_desc: Use image node_id 2 for calling the Ui_MainWindow obj's underlying member method code with example usage: obj.retranslateUi(MainWindow) without return types