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

This tree item represents a group of module items. More...

#include <WQtModuleHeaderTreeItem.h>

+ Inheritance diagram for WQtModuleHeaderTreeItem:
+ Collaboration diagram for WQtModuleHeaderTreeItem:

Public Member Functions

 WQtModuleHeaderTreeItem (QTreeWidget *parent)
 Constructor. More...
 
virtual ~WQtModuleHeaderTreeItem ()
 Destructor. More...
 
WQtModuleTreeItemaddModuleItem (std::shared_ptr< WModule > module)
 Add an module to the tree view. More...
 

Detailed Description

This tree item represents a group of module items.

Definition at line 38 of file WQtModuleHeaderTreeItem.h.

Constructor & Destructor Documentation

◆ WQtModuleHeaderTreeItem()

WQtModuleHeaderTreeItem::WQtModuleHeaderTreeItem ( QTreeWidget parent)
explicit

Constructor.

Creates module header.

Parameters
parentThe widget managing this widget.

Definition at line 31 of file WQtModuleHeaderTreeItem.cpp.

◆ ~WQtModuleHeaderTreeItem()

WQtModuleHeaderTreeItem::~WQtModuleHeaderTreeItem ( )
virtual

Destructor.

Definition at line 36 of file WQtModuleHeaderTreeItem.cpp.

Member Function Documentation

◆ addModuleItem()

WQtModuleTreeItem * WQtModuleHeaderTreeItem::addModuleItem ( std::shared_ptr< WModule module)

Add an module to the tree view.

Parameters
moduleThe new module.
Returns
the treeitem of the added module

Definition at line 40 of file WQtModuleHeaderTreeItem.cpp.

Referenced by WQtControlPanel::addModule().

+ Here is the caller graph for this function:

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