def METHOD_NAME(self, FilterDialog):
    FilterDialog.setObjectName("FilterDialog")
    FilterDialog.resize(528, 485)
    icon = QtGui.QIcon.fromTheme("view-filter")
    FilterDialog.setWindowIcon(icon)
    self.gridLayout = QtWidgets.QGridLayout(FilterDialog)
    self.gridLayout.setObjectName("gridLayout")
    self.radioButtonCustomTaps = QtWidgets.QRadioButton(FilterDialog)
    font = QtGui.QFont()
    font.setBold(True)
    font.setWeight(75)
    self.radioButtonCustomTaps.setFont(font)
    self.radioButtonCustomTaps.setObjectName("radioButtonCustomTaps")
    self.gridLayout.addWidget(self.radioButtonCustomTaps, 9, 0, 1, 1)
    self.buttonBox = QtWidgets.QDialogButtonBox(FilterDialog)
    self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
    self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
    self.buttonBox.setCenterButtons(True)
    self.buttonBox.setObjectName("buttonBox")
    self.gridLayout.addWidget(self.buttonBox, 15, 0, 1, 2)
    spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
    self.gridLayout.addItem(spacerItem, 16, 0, 1, 1)
    self.line = QtWidgets.QFrame(FilterDialog)
    self.line.setFrameShape(QtWidgets.QFrame.HLine)
    self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
    self.line.setObjectName("line")
    self.gridLayout.addWidget(self.line, 7, 0, 1, 2)
    self.radioButtonMovingAverage = QtWidgets.QRadioButton(FilterDialog)
    font = QtGui.QFont()
    font.setBold(True)
    font.setWeight(75)
    self.radioButtonMovingAverage.setFont(font)
    self.radioButtonMovingAverage.setChecked(True)
    self.radioButtonMovingAverage.setObjectName("radioButtonMovingAverage")
    self.gridLayout.addWidget(self.radioButtonMovingAverage, 8, 0, 1, 2)
    self.spinBoxNumTaps = QtWidgets.QSpinBox(FilterDialog)
    self.spinBoxNumTaps.setMinimum(1)
    self.spinBoxNumTaps.setMaximum(999999999)
    self.spinBoxNumTaps.setProperty("value", 10)
    self.spinBoxNumTaps.setObjectName("spinBoxNumTaps")
    self.gridLayout.addWidget(self.spinBoxNumTaps, 10, 1, 1, 1)
    self.label_4 = QtWidgets.QLabel(FilterDialog)
    font = QtGui.QFont()
    font.setItalic(True)
    self.label_4.setFont(font)
    self.label_4.setWordWrap(True)
    self.label_4.setObjectName("label_4")
    self.gridLayout.addWidget(self.label_4, 6, 0, 1, 2)
    self.lineEditCustomTaps = QtWidgets.QLineEdit(FilterDialog)
    self.lineEditCustomTaps.setObjectName("lineEditCustomTaps")
    self.gridLayout.addWidget(self.lineEditCustomTaps, 9, 1, 1, 1)
    self.label = QtWidgets.QLabel(FilterDialog)
    self.label.setObjectName("label")
    self.gridLayout.addWidget(self.label, 10, 0, 1, 1)
    self.label_3 = QtWidgets.QLabel(FilterDialog)
    font = QtGui.QFont()
    font.setItalic(True)
    self.label_3.setFont(font)
    self.label_3.setWordWrap(True)
    self.label_3.setObjectName("label_3")
    self.gridLayout.addWidget(self.label_3, 13, 0, 1, 2)
    self.label_2 = QtWidgets.QLabel(FilterDialog)
    font = QtGui.QFont()
    font.setItalic(True)
    self.label_2.setFont(font)
    self.label_2.setWordWrap(True)
    self.label_2.setObjectName("label_2")
    self.gridLayout.addWidget(self.label_2, 14, 0, 1, 2)
    self.radioButtonDCcorrection = QtWidgets.QRadioButton(FilterDialog)
    font = QtGui.QFont()
    font.setBold(True)
    font.setWeight(75)
    self.radioButtonDCcorrection.setFont(font)
    self.radioButtonDCcorrection.setObjectName("radioButtonDCcorrection")
    self.gridLayout.addWidget(self.radioButtonDCcorrection, 0, 0, 1, 2)
    self.retranslateUi(FilterDialog)