code: def set_index(self, index):
          
          item = index.internalPointer()
          self.actionunit = item.internal_data()
          self.setEnabled(bool(self.actionunit.status.traceback))
docs: Display the data of the given index
  
          :param index: the index to paint
          :type index: QtCore.QModelIndex
          :returns: None
          :rtype: None
          :raises: None