code: def _default_view(self):
          
          parent = self.parent()
          if isinstance(parent, QtTreeView):
              return parent
          return parent.view
docs: If this is the root item, return the parent
              which must be a TreeView, otherwise return the
              parent Item's view.