The ElementsTreeView class This class just reimplement startDrag from QTreeView, for set a custom pixmap. This class must be used when the tree view have an ElementsCollectionModel as model. The pixmap used is the pixmap of the dragged element or a directory pixmap.
More...
#include <elementstreeview.h>
Inherits QTreeView.
The ElementsTreeView class This class just reimplement startDrag from QTreeView, for set a custom pixmap. This class must be used when the tree view have an ElementsCollectionModel as model. The pixmap used is the pixmap of the dragged element or a directory pixmap.
◆ ElementsTreeView()
ElementsTreeView::ElementsTreeView |
( |
QWidget * |
parent = nullptr | ) |
|
◆ startDrag()
void ElementsTreeView::startDrag |
( |
Qt::DropActions |
supportedActions | ) |
|
|
overrideprotected |
◆ startElementDrag()
The documentation for this class was generated from the following files: