|
AbstractItemDragDropHandler * | dragDropHandler () const override |
| You need to implement these three methods Returns the drag drop handler.
|
|
bool | eventFilter (QObject *watched, QEvent *event) override |
|
bool | hasHiddenGroupedImages (const ItemInfo &info) const override |
| must be implemented by parent view
|
|
QModelIndex | mapIndexForDragDrop (const QModelIndex &index) const override |
| Maps the given index of the view's model to an index of the handler's model, which can be a source model of the view's model.
|
|
QPixmap | pixmapForDrag (const QList< QModelIndex > &indexes) const override |
| Creates a pixmap for dragging the given indexes.
|
|
void | wheelEvent (QWheelEvent *event) override |
|
virtual QAbstractItemView * | asView ()=0 |
| This one is implemented by DECLARE_VIEW_DRAG_DROP_METHODS.
|
|
bool | decodeIsCutSelection (const QMimeData *mimeData) |
|
void | dragEnterEvent (QDragEnterEvent *event) |
| Implements the relevant QAbstractItemView methods for drag and drop.
|
|
void | dragMoveEvent (QDragMoveEvent *e) |
|
void | dropEvent (QDropEvent *e) |
|
void | encodeIsCutSelection (QMimeData *mime, bool isCutSelection) |
|
void | startDrag (Qt::DropActions supportedActions) |
|