Loading...
Searching...
No Matches
ItemViewDrag.hpp
1#pragma once
2#include <QModelIndexList>
3
4#include <score_lib_base_export.h>
5
6class QAbstractItemView;
7class QDrag;
8class QStyleOptionViewItem;
9
10namespace score
11{
20SCORE_LIB_BASE_EXPORT
22 QDrag& drag, QAbstractItemView& view, const QStyleOptionViewItem& option,
23 const QModelIndexList& indexes);
24
31SCORE_LIB_BASE_EXPORT
33}
Base toolkit upon which the software is built.
Definition Application.cpp:113
void setItemViewDragPixmap(QDrag &drag, QAbstractItemView &view, const QStyleOptionViewItem &option, const QModelIndexList &indexes)
Give a QDrag the drag image QAbstractItemView::startDrag would have made.
Definition ItemViewDrag.cpp:65
void installDragImageWorkaround()
Keep Qt's temporary drag-image element out of sight.
Definition ItemViewDrag.cpp:18