code: def dropEvent(self, event):
          
          # overload the current filtering options
          data = event.mimeData()
          if data.hasFormat('application/x-orb-table') and \
             data.hasFormat('application/x-orb-query'):
              tableName = self.tableTypeName()
              if nstr(data.data('application/x-orb-table')) == tableName:
                  data = nstr(data.data('application/x-orb-query'))
                  query = Q.fromXmlString(data)
                  self.setQuery(query)
                  return
          
          elif self.tableType() and data.hasFormat('application/x-orb-records'):
              from projexui.widgets.xorbtreewidget import XOrbTreeWidget
              records = XOrbTreeWidget.dataRestoreRecords(data)
              
              for record in records:
                  if isinstance(record, self.tableType()):
                      self.setCurrentRecord(record)
                      return
          
          super(XOrbRecordBox, self).dropEvent(event)
docs: Listens for query's being dragged and dropped onto this tree.
          
          :param      event | <QDropEvent>