def METHOD_NAME(self, changeColormapDialog):
    changeColormapDialog.setObjectName("changeColormapDialog")
    changeColormapDialog.resize(351, 199)
    sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
    sizePolicy.setHorizontalStretch(0)
    sizePolicy.setVerticalStretch(0)
    sizePolicy.setHeightForWidth(changeColormapDialog.sizePolicy().hasHeightForWidth())
    changeColormapDialog.setSizePolicy(sizePolicy)
    self.buttons = QtWidgets.QDialogButtonBox(changeColormapDialog)
    self.buttons.setGeometry(QtCore.QRect(20, 160, 321, 32))
    self.buttons.setOrientation(QtCore.Qt.Horizontal)
    self.buttons.setStandardButtons(QtWidgets.QDialogButtonBox.Close | QtWidgets.QDialogButtonBox.Reset)
    self.buttons.setCenterButtons(False)
    self.buttons.setObjectName("buttons")
    self.cmap_combobox = QtWidgets.QComboBox(changeColormapDialog)
    self.cmap_combobox.setGeometry(QtCore.QRect(10, 10, 331, 26))
    self.cmap_combobox.setObjectName("cmap_combobox")
    self.vmin_edit = QtWidgets.QLineEdit(changeColormapDialog)
    self.vmin_edit.setGeometry(QtCore.QRect(260, 50, 71, 21))
    self.vmin_edit.setObjectName("vmin_edit")
    self.vmin_slider = QtWidgets.QSlider(changeColormapDialog)
    self.vmin_slider.setGeometry(QtCore.QRect(10, 50, 241, 21))
    self.vmin_slider.setOrientation(QtCore.Qt.Horizontal)
    self.vmin_slider.setObjectName("vmin_slider")
    self.vmax_slider = QtWidgets.QSlider(changeColormapDialog)
    self.vmax_slider.setGeometry(QtCore.QRect(10, 90, 241, 21))
    self.vmax_slider.setOrientation(QtCore.Qt.Horizontal)
    self.vmax_slider.setObjectName("vmax_slider")
    self.vmax_edit = QtWidgets.QLineEdit(changeColormapDialog)
    self.vmax_edit.setGeometry(QtCore.QRect(260, 90, 71, 21))
    self.vmax_edit.setObjectName("vmax_edit")
    self.gammaSpinBox = QNoScrollDoubleSpinBox(changeColormapDialog)
    self.gammaSpinBox.setEnabled(True)
    self.gammaSpinBox.setGeometry(QtCore.QRect(260, 120, 71, 24))
    self.gammaSpinBox.setDecimals(1)
    self.gammaSpinBox.setMaximum(5.0)
    self.gammaSpinBox.setSingleStep(0.1)
    self.gammaSpinBox.setProperty("value", 1.0)
    self.gammaSpinBox.setObjectName("gammaSpinBox")
    self.gammaLabel = QtWidgets.QLabel(changeColormapDialog)
    self.gammaLabel.setGeometry(QtCore.QRect(200, 120, 56, 24))
    self.gammaLabel.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter)
    self.gammaLabel.setObjectName("gammaLabel")
    self.retranslateUi(changeColormapDialog)
    self.buttons.accepted.connect(changeColormapDialog.accept)  # type: ignore
    self.buttons.rejected.connect(changeColormapDialog.reject)  # type: ignore
    QtCore.QMetaObject.connectSlotsByName(changeColormapDialog)