code: def get_edited_color_scheme(self):
          
          color_scheme = {}
          scheme_name = self.last_used_scheme
  
          for key in self.widgets[scheme_name]:
              items = self.widgets[scheme_name][key]
  
              if len(items) == 1:
                  # ColorLayout
                  value = items[0].text()
              else:
                  # ColorLayout + checkboxes
                  value = (items[0].text(), items[1].isChecked(),
                           items[2].isChecked())
  
              color_scheme[key] = value
  
          return color_scheme
docs: Get the values of the last edited color scheme to be used in an instant
          preview in the preview editor, without using `apply`.