code: def setupUi(self, QSpectrumAnalyzerBaseline):
      QSpectrumAnalyzerBaseline.setObjectName(
          "QSpectrumAnalyzerBaseline"
      )
      QSpectrumAnalyzerBaseline.resize(500, 100)
      self.verticalLayout = QtWidgets.QVBoxLayout(
          QSpectrumAnalyzerBaseline
      )
      self.verticalLayout.setObjectName("verticalLayout")
      self.formLayout = QtWidgets.QFormLayout()
      self.formLayout.setObjectName("formLayout")
      self.label = QtWidgets.QLabel(QSpectrumAnalyzerBaseline)
      self.label.setObjectName("label")
      self.formLayout.setWidget(
          0, QtWidgets.QFormLayout.LabelRole, self.label
      )
      self.horizontalLayout = QtWidgets.QHBoxLayout()
      self.horizontalLayout.setObjectName("horizontalLayout")
      self.baselineFileEdit = QtWidgets.QLineEdit(
          QSpectrumAnalyzerBaseline
      )
      self.baselineFileEdit.setObjectName("baselineFileEdit")
      self.horizontalLayout.addWidget(self.baselineFileEdit)
      self.baselineFileButton = QtWidgets.QToolButton(
          QSpectrumAnalyzerBaseline
      )
      self.baselineFileButton.setMinimumSize(QtCore.QSize(50, 0))
      self.baselineFileButton.setObjectName("baselineFileButton")
      self.horizontalLayout.addWidget(self.baselineFileButton)
      self.formLayout.setLayout(
          0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout
      )
      self.verticalLayout.addLayout(self.formLayout)
      spacerItem = QtWidgets.QSpacerItem(
          20,
          1,
          QtWidgets.QSizePolicy.Minimum,
          QtWidgets.QSizePolicy.Expanding,
      )
      self.verticalLayout.addItem(spacerItem)
      self.buttonBox = QtWidgets.QDialogButtonBox(
          QSpectrumAnalyzerBaseline
      )
      self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
      self.buttonBox.setStandardButtons(
          QtWidgets.QDialogButtonBox.Cancel
          | QtWidgets.QDialogButtonBox.Ok
      )
      self.buttonBox.setObjectName("buttonBox")
      self.verticalLayout.addWidget(self.buttonBox)
      self.label.setBuddy(self.baselineFileEdit)
  
      self.retranslateUi(QSpectrumAnalyzerBaseline)
      self.buttonBox.accepted.connect(QSpectrumAnalyzerBaseline.accept)
      self.buttonBox.rejected.connect(QSpectrumAnalyzerBaseline.reject)
      QtCore.QMetaObject.connectSlotsByName(QSpectrumAnalyzerBaseline)
      QSpectrumAnalyzerBaseline.setTabOrder(
          self.baselineFileEdit, self.baselineFileButton
      )
  
imports: from Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 1 for calling the Ui_QSpectrumAnalyzerBaseline obj's underlying member method code with example usage: obj.setupUi(QSpectrumAnalyzerBaseline) without return types