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. More...
 
void startDrag (Qt::DropActions supportedActions) override
 Starts a drag with a dragable QPixmap using the given supportedActions. More...
 

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

Definition at line 38 of file CollectionsTreeView.h.

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

Definition at line 34 of file CollectionsTreeView.cpp.

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

Definition at line 39 of file CollectionsTreeView.cpp.

+ Here is the call graph for this function:

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