code: def retranslateUi(self, QSpectrumAnalyzerSmoothing):
      _translate = QtCore.QCoreApplication.translate
      QSpectrumAnalyzerSmoothing.setWindowTitle(
          _translate(
              "QSpectrumAnalyzerSmoothing",
              "Smoothing - QSpectrumAnalyzer",
          )
      )
      self.label.setText(
          _translate("QSpectrumAnalyzerSmoothing", "&Window function:")
      )
      self.windowFunctionComboBox.setItemText(
          0, _translate("QSpectrumAnalyzerSmoothing", "rectangular")
      )
      self.windowFunctionComboBox.setItemText(
          1, _translate("QSpectrumAnalyzerSmoothing", "hanning")
      )
      self.windowFunctionComboBox.setItemText(
          2, _translate("QSpectrumAnalyzerSmoothing", "hamming")
      )
      self.windowFunctionComboBox.setItemText(
          3, _translate("QSpectrumAnalyzerSmoothing", "bartlett")
      )
      self.windowFunctionComboBox.setItemText(
          4, _translate("QSpectrumAnalyzerSmoothing", "blackman")
      )
      self.label_2.setText(
          _translate("QSpectrumAnalyzerSmoothing", "Window len&gth:")
      )
  
imports: from Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the Ui_QSpectrumAnalyzerSmoothing obj's underlying member method code with example usage: obj.retranslateUi(QSpectrumAnalyzerSmoothing) without return types