code: def mimeData(self, items):
          
          func = self.dataCollector()
          if func:
              return func(self, items)
          
          # extract the records from the items
          record_items = []
          for item in self.selectedItems():
              if isinstance(item, XOrbRecordItem):
                  record_items.append(item)
          
          # create the mime data
          data = QMimeData()
          self.dataStoreRecords(data, record_items)
          return data
docs: Returns the mime data for dragging for this instance.
          
          :param      items | [<QTreeWidgetItem>, ..]