def update_tensor_list(self, list_type, list, pos, reset_pos):
    items_str = [t.disp_name for t in list]
    self.list_model.clear()
    for text in items_str:
        item = QtGui.QStandardItem(text)
        self.list_model.appendRow(item)
def update_tensor_list(self, list_type, list, pos, reset_pos):
    items_str = [t.disp_name for t in list]
    self.list_model.clear()
    for text in items_str:
        item = QtGui.QStandardItem(text)
        self.list_model.appendRow(item)