OpenWalnut  1.5.0dev
Public Member Functions | Private Attributes | List of all members
WQtRoiHeaderTreeItem Class Reference

Header item for ROIs. More...

#include <WQtRoiHeaderTreeItem.h>

+ Inheritance diagram for WQtRoiHeaderTreeItem:
+ Collaboration diagram for WQtRoiHeaderTreeItem:

Public Member Functions

 WQtRoiHeaderTreeItem (QTreeWidget *parent)
 constructor More...
 
virtual ~WQtRoiHeaderTreeItem ()
 destructor More...
 
WQtBranchTreeItemaddBranch (std::shared_ptr< WRMBranch > branch)
 Add new branch to the tree view. More...
 
QWidget * getWidget () const
 Create a representation widget for this item. More...
 

Private Attributes

QWidget * m_itemWidget
 Widget representing the item. More...
 

Detailed Description

Header item for ROIs.

Definition at line 39 of file WQtRoiHeaderTreeItem.h.

Constructor & Destructor Documentation

◆ WQtRoiHeaderTreeItem()

WQtRoiHeaderTreeItem::WQtRoiHeaderTreeItem ( QTreeWidget parent)
explicit

constructor

Parameters
parent

Definition at line 42 of file WQtRoiHeaderTreeItem.cpp.

References m_itemWidget.

◆ ~WQtRoiHeaderTreeItem()

WQtRoiHeaderTreeItem::~WQtRoiHeaderTreeItem ( )
virtual

destructor

Definition at line 89 of file WQtRoiHeaderTreeItem.cpp.

Member Function Documentation

◆ addBranch()

WQtBranchTreeItem * WQtRoiHeaderTreeItem::addBranch ( std::shared_ptr< WRMBranch branch)

Add new branch to the tree view.

Parameters
branch
Returns
Pointer to the new branch.

Definition at line 93 of file WQtRoiHeaderTreeItem.cpp.

Referenced by WQtControlPanel::addRoi().

+ Here is the caller graph for this function:

◆ getWidget()

QWidget * WQtRoiHeaderTreeItem::getWidget ( ) const

Create a representation widget for this item.

Returns
the widget.

Definition at line 99 of file WQtRoiHeaderTreeItem.cpp.

References m_itemWidget.

Referenced by WQtControlPanel::WQtControlPanel().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_itemWidget

QWidget* WQtRoiHeaderTreeItem::m_itemWidget
private

Widget representing the item.

Definition at line 74 of file WQtRoiHeaderTreeItem.h.

Referenced by getWidget(), and WQtRoiHeaderTreeItem().


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