code: def __init__(self, settings: SettingsStore, parent=None):
      super().__init__(parent)
  
      self.settings = settings
      self.tree = base_widgets.QTreeWidget()
      self.tree.setHeaderLabels(["Name", "Value"])
      self.tree.setRootIsDecorated(False)
  
      finish_button = QtWidgets.QPushButton("Finish")
      finish_button.clicked.connect(self.finish)
  
      reset_button = QtWidgets.QPushButton("Reset To Defaults")
      reset_button.clicked.connect(self.reset_to_defaults)
  
      layout = QtWidgets.QVBoxLayout()
      layout.addWidget(self.tree)
      layout.addWidget(finish_button)
      layout.addWidget(reset_button)
  
      self.init_tree()
  
      self.setLayout(layout)
  
file_path: PandasGUI/pandasgui/widgets/settings_editor.py
imports: import ast
  import pprint
  import typing
  from PyQt5 import QtWidgets
  from PyQt5.QtCore import Qt
  import sys
  from pandasgui.store import SETTINGS_STORE, SettingsStore
  from pandasgui.widgets import base_widgets
  from typing_extensions import Literal, get_origin
label_desc: Use image node_id 1 to create a new SettingsEditor object from inherited base classes: QtWidgets with example: obj = SettingsEditor(settings, parent)