def METHOD_NAME(self, args: dict):
    self.ui.spinBoxFreq.setValue(args["frequency"])
    self.ui.spinBoxSampleRate.setValue(args["sample_rate"])
    self.ui.spinBoxBandwidth.setValue(args["bandwidth"])
    self.ui.spinBoxGain.setValue(args.get("gain", config.DEFAULT_GAIN))