Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34733

Document that dragMoveEvent() always needs to be re-implemented for custom drop handling in QGraphicsView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.1.1, 5.2.0
    • None
    • Win 7 64bit, MSVC 2012 Express, Qt 5.1.1
      Win 7 64bit, MSVC 2013 Express, Qt 5.2.0

    Description

      I'm doing dropping to the QGraphicsView some data.

      I successfully receive dragEnterEvent( QDragEnterEvent * event ) and here accept action with event->acceptProposedAction().

      But I don't receive dropEvent on dropping and cursor shows that my view doesn't accept drop.

      This works well with QWidget but doesn't with QGraphicsView.

      In the attached sample try to drag and drop something to the view...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docteam Qt Documentation Team
            igor.mironchik Igor Mironchik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes