class_docstr: QSpectrumAnalyzer main window
class_docstr_tok: ["QSpectrumAnalyzer","main","window"]
code: def on_colorsButton_clicked(self):
      dialog = QSpectrumAnalyzerColors(self)
      if dialog.exec_():
          settings = QtCore.QSettings()
          self.spectrumPlotWidget.main_color = str_to_color(
              settings.value("main_color", "255, 255, 0, 255")
          )
          self.spectrumPlotWidget.peak_hold_max_color = str_to_color(
              settings.value("peak_hold_max_color", "255, 0, 0, 255")
          )
          self.spectrumPlotWidget.peak_hold_min_color = str_to_color(
              settings.value("peak_hold_min_color", "0, 0, 255, 255")
          )
          self.spectrumPlotWidget.average_color = str_to_color(
              settings.value("average_color", "0, 255, 255, 255")
          )
          self.spectrumPlotWidget.persistence_color = str_to_color(
              settings.value("persistence_color", "0, 255, 0, 255")
          )
          self.spectrumPlotWidget.baseline_color = str_to_color(
              settings.value("baseline_color", "255, 0, 255, 255")
          )
          self.spectrumPlotWidget.set_colors()
  
imports: import sys, os, signal, time, argparse
  from Qt import QtCore, QtGui, QtWidgets
  from qspectrumanalyzer import backends
  from qspectrumanalyzer.version import __version__
  from qspectrumanalyzer.data import DataStorage
  from qspectrumanalyzer.plot import SpectrumPlotWidget, WaterfallPlotWidget
  from qspectrumanalyzer.utils import str_to_color, human_time
  from qspectrumanalyzer.settings import QSpectrumAnalyzerSettings
  from qspectrumanalyzer.smoothing import QSpectrumAnalyzerSmoothing
  from qspectrumanalyzer.persistence import QSpectrumAnalyzerPersistence
  from qspectrumanalyzer.colors import QSpectrumAnalyzerColors
  from qspectrumanalyzer.baseline import QSpectrumAnalyzerBaseline
  from qspectrumanalyzer.ui_qspectrumanalyzer import Ui_QSpectrumAnalyzerMainWindow
label_desc: Use image node_id 30 for calling the QSpectrumAnalyzerMainWindow obj's underlying member method code with example usage: obj.on_colorsButton_clicked() without return types