code: def retranslateUi(self, QSpectrumAnalyzerPersistence):
      _translate = QtCore.QCoreApplication.translate
      QSpectrumAnalyzerPersistence.setWindowTitle(
          _translate(
              "QSpectrumAnalyzerPersistence",
              "Persistence - QSpectrumAnalyzer",
          )
      )
      self.label_2.setText(
          _translate("QSpectrumAnalyzerPersistence", "Decay function:")
      )
      self.decayFunctionComboBox.setItemText(
          0, _translate("QSpectrumAnalyzerPersistence", "linear")
      )
      self.decayFunctionComboBox.setItemText(
          1, _translate("QSpectrumAnalyzerPersistence", "exponential")
      )
      self.label.setText(
          _translate(
              "QSpectrumAnalyzerPersistence", "Persistence length:"
          )
      )
  
imports: from Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 2 for calling the Ui_QSpectrumAnalyzerPersistence obj's underlying member method code with example usage: obj.retranslateUi(QSpectrumAnalyzerPersistence) without return types