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

canDropMimeData on drag enter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.1
    • Widgets: Itemviews
    • None

    Description

      There is no way to determine inside of QAbstractItemModel::canDropMimeData does it called from QAbstractItemView::dragEnterEvent or from QAbstractItemView::dragMoveEvent.
      So returning 'false' from canDropMimeData to dragEnterEvent prevents QAbstractItemView from entering into DraggingState.
      So there is no way to use canDropMimeData to determine is drop possible for specific index.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              uaf Igor Yampolskiy
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes