|
| | DragDropModelImplementation ()=default |
| | A class providing a sample implementation for a QAbstractItemModel redirecting drag-and-drop support to a handler.
|
| virtual Qt::ItemFlags | dragDropFlags (const QModelIndex &index) const |
| | Call from your flags() method, adding the relevant drag drop flags.
|
| Qt::ItemFlags | dragDropFlagsV2 (const QModelIndex &index) const |
| | This is an alternative approach to dragDropFlags().
|
|
AbstractItemDragDropHandler * | dragDropHandler () const |
|
bool | dropMimeData (const QMimeData *, Qt::DropAction, int, int, const QModelIndex &) |
|
virtual bool | isDragEnabled (const QModelIndex &index) const |
|
virtual bool | isDropEnabled (const QModelIndex &index) const |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const |
|
QStringList | mimeTypes () const |
|
void | setDragDropHandler (AbstractItemDragDropHandler *handler) |
| | Set a drag drop handler.
|
| Qt::DropActions | supportedDropActions () const |
| | Implements the relevant QAbstractItemModel methods for drag and drop.
|