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

canDropMimeData on drag enter

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes