class_docstr: Widget used to display or control data from a hierarchy of Parameters
class_docstr_tok: ["Widget","used","to","display","or","control","data","from","a","hierarchy","of","Parameters"]
docstr: called when application palette changes
  This should ensure that the color theme of the OS is applied to the GroupParameterItems
  should the theme chang while the application is running.
docstr_tok: ["called","when","application","palette","changes","This","should","ensure","that","the","color","theme","of","the","OS","is","applied","to","the","GroupParameterItems","should","the","theme","chang","while","the","application","is","running","."]
code: def updatePalette(self):
      """
      called when application palette changes
      This should ensure that the color theme of the OS is applied to the GroupParameterItems
      should the theme chang while the application is running.
      """
      for item in self.listAllItems():
          if isinstance(item, GroupParameterItem):
              item.updateDepth(item.depth)
  
file_path: pyqtgraph/pyqtgraph/parametertree/ParameterTree.py
imports: from .parameterTypes import GroupParameterItem
  from ..Qt import QtCore, QtWidgets, mkQApp
  from ..widgets.TreeWidget import TreeWidget
  from .ParameterItem import ParameterItem
label_desc: Use image node_id 9 for calling the ParameterTree obj's underlying member method code with example usage: obj.updatePalette() without return types