code: def addRecordsFromThread(self, records):
          
          label_mapper    = self.labelMapper()
          icon_mapper     = self.iconMapper()
          
          tree = None
          if self.showTreePopup():
              tree = self.treePopupWidget()
          
          # add the items to the list
          start = self.count()
          
          # update the item information
          blocked = self.signalsBlocked()
          self.blockSignals(True)
          for i, record in enumerate(records):
              index = start + i
              self.addItem(label_mapper(record))
              self.setItemData(index, wrapVariant(record), Qt.UserRole)
              
              if icon_mapper:
                  self.setItemIcon(index, icon_mapper(record))
              
              if record == self._currentRecord:
                  self.setCurrentIndex(self.count() - 1)
              
              if tree:
                  XOrbRecordItem(tree, record)
          self.blockSignals(blocked)
docs: Adds the given record to the system.
          
          :param      records | [<orb.Table>, ..]