def METHOD_NAME(self, height):
    self.ui.spinBox_height_pixels.blockSignals(True)
    self.ui.spinBox_height_pixels.setValue(
        height * self.ui.spinBox_dpi.value()
    )
    self.ui.spinBox_height_pixels.blockSignals(False)