class_docstr: QSpectrumAnalyzer main window
class_docstr_tok: ["QSpectrumAnalyzer","main","window"]
docstr: Update buttons state and status bar when power thread is stopped
docstr_tok: ["Update","buttons","state","and","status","bar","when","power","thread","is","stopped"]
code: def on_power_thread_stopped(self):
      """Update buttons state and status bar when power thread is stopped"""
      self.update_buttons()
      self.update_status_timer.stop()
      self.update_status()
      self.progressbar.setVisible(False)
  
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 13 for calling the QSpectrumAnalyzerMainWindow obj's underlying member method code with example usage: obj.on_power_thread_stopped() without return types