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

tree widget item to represent a subject in the dataset brwoser tree widget More...

#include <WQtSubjectTreeItem.h>

+ Inheritance diagram for WQtSubjectTreeItem:
+ Collaboration diagram for WQtSubjectTreeItem:

Public Member Functions

 WQtSubjectTreeItem (QTreeWidget *parent)
 default constructor More...
 
virtual ~WQtSubjectTreeItem ()
 destructor More...
 
WQtDatasetTreeItemaddDatasetItem (std::shared_ptr< WModule > module)
 add a dataset item below this subject in the tree More...
 

Detailed Description

tree widget item to represent a subject in the dataset brwoser tree widget

Definition at line 38 of file WQtSubjectTreeItem.h.

Constructor & Destructor Documentation

◆ WQtSubjectTreeItem()

WQtSubjectTreeItem::WQtSubjectTreeItem ( QTreeWidget parent)
explicit

default constructor

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

Definition at line 31 of file WQtSubjectTreeItem.cpp.

◆ ~WQtSubjectTreeItem()

WQtSubjectTreeItem::~WQtSubjectTreeItem ( )
virtual

destructor

Definition at line 37 of file WQtSubjectTreeItem.cpp.

Member Function Documentation

◆ addDatasetItem()

WQtDatasetTreeItem * WQtSubjectTreeItem::addDatasetItem ( std::shared_ptr< WModule module)

add a dataset item below this subject in the tree

Parameters
modulethe module that has the dataset as output
Returns
the tree item representing the module

Definition at line 42 of file WQtSubjectTreeItem.cpp.

Referenced by WQtControlPanel::addDataset().

+ Here is the caller graph for this function:

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