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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important 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

      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...

        1. main.cpp
          1 kB
          Igor Mironchik
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes