25 #ifndef WQTBRANCHTREEITEM_H
26 #define WQTBRANCHTREEITEM_H
30 #include <QProgressBar>
31 #include <QTreeWidgetItem>
32 #include <QtCore/QTimer>
34 #include "WQtTreeItem.h"
35 #include "core/graphicsEngine/WROI.h"
36 #include "core/kernel/WRMBranch.h"
This class represents a ROI branch in the tree widget.
WQtBranchTreeItem(QTreeWidgetItem *parent, std::shared_ptr< WRMBranch > branch)
default constructor
WQtRoiTreeItem * addRoiItem(osg::ref_ptr< WROI >)
Add a ROI to the tree view.
std::shared_ptr< WRMBranch > m_branch
ROI.
std::shared_ptr< WRMBranch > getBranch()
getter
QWidget * getWidget() const
Create a representation widget for this item.
virtual ~WQtBranchTreeItem()
destructor
void updateRoiManagerSorting()
Update internal Roi Manager sorting using the sorting of the children of this tree item.
QWidget * m_itemWidget
Widget representing the item.
A tree widget item to represent a ROI in the control panel.