CollectionsTreeView Class Reference

This class derived from QTreeView supports custom drag and drop behavior. More...

#include <MemoryX/gui-plugins/SceneEditor/gui/CollectionsTreeView.h>

+ Inheritance diagram for CollectionsTreeView:

Public Member Functions

 CollectionsTreeView (QWidget *parent=0)
 Constructor.
 
void startDrag (Qt::DropActions supportedActions) override
 Starts a drag with a dragable QPixmap using the given supportedActions.
 

Detailed Description

This class derived from QTreeView supports custom drag and drop behavior.

The QTreeView class provides a default model/view implementation of a tree view.

See also
Qt::QTreeView

Constructor & Destructor Documentation

◆ CollectionsTreeView()

CollectionsTreeView ( QWidget * parent = 0)
explicit

Constructor.

Constructs a tree view with a parent to represent a model's data.

Parameters
parentparent widget

Member Function Documentation

◆ startDrag()

void startDrag ( Qt::DropActions supportedActions)
override

Starts a drag with a dragable QPixmap using the given supportedActions.

Parameters
supportedActionssupported Qt::DropActions
See also
Qt::QAbstractItemView
Qt::QDrag

The documentation for this class was generated from the following files: