code: def updateScale():
      global ui, levelSpins
      if ui.rgbLevelsCheck.isChecked():
          for s in levelSpins[2:]:
              s.setEnabled(True)
      else:
          for s in levelSpins[2:]:
              s.setEnabled(False)
  
file_path: pyqtgraph/pyqtgraph/examples/VideoSpeedTest.py
imports: import argparse
  import itertools
  import sys
  import numpy
  from utils import FrameCounter
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
  import VideoTemplate_generic
label_desc: Use image node_id 2 for calling a global function with example usage: updateScale() without return types