code: def get_view_nodes_from_indexes(self, *indexes):
          
  
          nodes = {}
          model = self.model()
          if not model:
              return nodes
  
          if not hasattr(model, "get_node"):
              raise NotImplementedError(
                  "{0} | '{1}' Model doesn't implement a 'get_node' method!".format(__name__, model))
  
          if not hasattr(model, "get_attribute"):
              raise NotImplementedError(
                  "{0} | '{1}' Model doesn't implement a 'get_attribute' method!".format(__name__, model))
  
          for index in indexes:
              node = model.get_node(index)
              if not node in nodes:
                  nodes[node] = []
              attribute = model.get_attribute(node, index.column())
              attribute and nodes[node].append(attribute)
          return nodes
docs: Returns the View Nodes from given indexes.
  
          :param view: View.
          :type view: QWidget
          :param \*indexes: Indexes.
          :type \*indexes: list
          :return: View nodes.
          :rtype: dict