code: def dropped(self, item, event):
          
          location = self.rowAt(event.pos().y())
  
          if isinstance(item, StimFactory):
              factory = item
              # create new stimulus then!
              stim = factory.create()
              if stim is not None:
                  self.model().insertTest(stim, location)
          elif event.source() == self:
              self.model().insertTest(item, location)
docs: Adds the dropped test *item* into the protocol list.
  
          Re-implemented from :meth:`AbstractDragView<sparkle.gui.abstract_drag_view.AbstractDragView.dropped>`