code: def _drawContents(self, currentRti=None):
          
          table = self.table
          table.setUpdatesEnabled(False)
          try:
              table.clearContents()
              verticalHeader = table.verticalHeader()
              verticalHeader.setSectionResizeMode(QtWidgets.QHeaderView.Fixed)
  
              if currentRti is None:
                  return
  
              # Each column in the repo tree corresponds to a row in this detail pane.
              repoModel = self._repoTreeView.model()
              propNames = RepoTreeModel.HEADERS
              table.setRowCount(len(propNames))
  
              for row, propName in enumerate(propNames):
                  nameItem = QtWidgets.QTableWidgetItem(propName)
                  nameItem.setToolTip(propName)
                  table.setItem(row, self.COL_PROP_NAME, nameItem)
                  propValue = repoModel.itemData(currentRti, row)
                  propItem = QtWidgets.QTableWidgetItem(propValue)
                  propItem.setToolTip(propValue)
                  table.setItem(row, self.COL_VALUE, propItem)
                  table.resizeRowToContents(row)
  
              verticalHeader.setSectionResizeMode(QtWidgets.QHeaderView.ResizeToContents)
  
          finally:
              table.setUpdatesEnabled(True)
docs: Draws the attributes of the currentRTI