QGraphicsScene drag enter event? you can grab direct from QGraphicsitem
on bool TextLayer::sceneEvent(QEvent *event)


Qt Code:
  1. /* TextLayer like QGraphicsTextItem */
  2. bool TextLayer::sceneEvent(QEvent *event)
  3. {
  4. /* drag here */
  5. if ( event->type() == QEvent::GraphicsSceneDrop) {
  6. mount->txtControl()->processevent(event);
  7. return true;
  8. } else if (event->type() == QEvent::GraphicsSceneDragMove ) {
  9. /* QGraphicsSceneDragDropEvent *e = static_cast<QGraphicsSceneDragDropEvent *>(event); */
  10.  
  11. } else if (event->type() == QEvent::DragEnter ) {
  12. /*
  13.  
  14.  
  15. */
  16. }
  17. return QGraphicsItem::sceneEvent(event);
  18. }
To copy to clipboard, switch view to plain text mode 

source on:
http://www.qt-apps.org/content/show....?content=80234