OpenWalnut  1.5.0dev
Signals | Public Member Functions | List of all members
WQtTreeWidget Class Reference

tree widget for the control panel More...

#include <WQtTreeWidget.h>

+ Inheritance diagram for WQtTreeWidget:
+ Collaboration diagram for WQtTreeWidget:

Signals

void dragDrop (QDropEvent *event)
 Item was dropped. More...
 

Public Member Functions

 WQtTreeWidget (QWidget *parent=0)
 default constructor More...
 
virtual ~WQtTreeWidget ()
 destructor More...
 
void deleteItem (QTreeWidgetItem *item)
 Deletes an entry from the tree. More...
 
virtual void dropEvent (QDropEvent *event)
 handles the drop event for a tree item More...
 

Detailed Description

tree widget for the control panel

Definition at line 33 of file WQtTreeWidget.h.

Constructor & Destructor Documentation

◆ WQtTreeWidget()

WQtTreeWidget::WQtTreeWidget ( QWidget *  parent = 0)
explicit

default constructor

Parameters
parentthe parent widget of this widget, i.e. the widget that manages this widget

Definition at line 31 of file WQtTreeWidget.cpp.

◆ ~WQtTreeWidget()

WQtTreeWidget::~WQtTreeWidget ( )
virtual

destructor

Definition at line 38 of file WQtTreeWidget.cpp.

Member Function Documentation

◆ deleteItem()

void WQtTreeWidget::deleteItem ( QTreeWidgetItem item)

Deletes an entry from the tree.

Parameters
itemThe given item will be removed from the tree

Definition at line 42 of file WQtTreeWidget.cpp.

Referenced by WQtControlPanel::event().

+ Here is the caller graph for this function:

◆ dragDrop

void WQtTreeWidget::dragDrop ( QDropEvent *  event)
signal

Item was dropped.

Parameters
eventthe event

Referenced by dropEvent().

+ Here is the caller graph for this function:

◆ dropEvent()

void WQtTreeWidget::dropEvent ( QDropEvent *  event)
virtual

handles the drop event for a tree item

Parameters
event

Definition at line 48 of file WQtTreeWidget.cpp.

References dragDrop().


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