NorMIT-nav  22.09
An IGT application
cx::TreeNode Class Referenceabstract

#include <cxTreeNode.h>

Inheritance diagram for cx::TreeNode:
cx::CachedTreeNode cx::TreeNodeImpl cx::DataTreeNode cx::GroupTreeNode cx::ShowDataTreeNodeBase cx::SpaceTreeNode cx::ToolTreeNode cx::TopTreeNode cx::ViewGroupTreeNode cx::ViewServiceTreeNode cx::ShowSlice2DDataTreeNode cx::ShowSlice3DDataTreeNode cx::ShowVolumeDataTreeNode

Signals

void parentChanged (TreeNodePtr prev, TreeNodePtr next)
 
void changed ()
 

Public Member Functions

virtual ~TreeNode ()
 
virtual std::vector< TreeNodePtrgetChildren () const =0
 
virtual QString getUid () const =0
 
virtual QString getName () const =0
 
virtual QString getType () const =0
 
virtual TreeNodePtr getParent () const =0
 
virtual bool isVisibleNode () const =0
 
virtual void activate ()=0
 
virtual QIcon getIcon () const =0
 
virtual QVariant getViewGroupVisibility (int index) const =0
 
virtual void setViewGroupVisibility (int index, bool value)=0
 
virtual boost::shared_ptr< QWidget > createPropertiesWidget () const =0
 
virtual QVariant getColor () const =0
 
virtual bool useColoredName () const =0
 
virtual QVariant getFont () const =0
 
virtual bool isDefaultExpanded () const =0
 
virtual bool isRemovable () const =0
 
virtual void remove ()=0
 
virtual std::vector< TreeNodePtrgetVisibleChildren () const =0
 
virtual TreeNodePtr getVisibleParent () const =0
 

Detailed Description

Definition at line 34 of file cxTreeNode.h.

Constructor & Destructor Documentation

◆ ~TreeNode()

virtual cx::TreeNode::~TreeNode ( )
inlinevirtual

Definition at line 38 of file cxTreeNode.h.

Member Function Documentation

◆ activate()

virtual void cx::TreeNode::activate ( )
pure virtual

◆ changed

void cx::TreeNode::changed ( )
signal

◆ createPropertiesWidget()

virtual boost::shared_ptr<QWidget> cx::TreeNode::createPropertiesWidget ( ) const
pure virtual

◆ getChildren()

virtual std::vector<TreeNodePtr> cx::TreeNode::getChildren ( ) const
pure virtual

Implemented in cx::CachedTreeNode, and cx::TreeNodeImpl.

◆ getColor()

virtual QVariant cx::TreeNode::getColor ( ) const
pure virtual

◆ getFont()

virtual QVariant cx::TreeNode::getFont ( ) const
pure virtual

◆ getIcon()

◆ getName()

◆ getParent()

◆ getType()

◆ getUid()

◆ getViewGroupVisibility()

virtual QVariant cx::TreeNode::getViewGroupVisibility ( int  index) const
pure virtual

◆ getVisibleChildren()

virtual std::vector<TreeNodePtr> cx::TreeNode::getVisibleChildren ( ) const
pure virtual

Implemented in cx::CachedTreeNode, and cx::TreeNodeImpl.

◆ getVisibleParent()

virtual TreeNodePtr cx::TreeNode::getVisibleParent ( ) const
pure virtual

Implemented in cx::CachedTreeNode, and cx::TreeNodeImpl.

◆ isDefaultExpanded()

virtual bool cx::TreeNode::isDefaultExpanded ( ) const
pure virtual

◆ isRemovable()

virtual bool cx::TreeNode::isRemovable ( ) const
pure virtual

◆ isVisibleNode()

virtual bool cx::TreeNode::isVisibleNode ( ) const
pure virtual

◆ parentChanged

void cx::TreeNode::parentChanged ( TreeNodePtr  prev,
TreeNodePtr  next 
)
signal

◆ remove()

virtual void cx::TreeNode::remove ( )
pure virtual

◆ setViewGroupVisibility()

virtual void cx::TreeNode::setViewGroupVisibility ( int  index,
bool  value 
)
pure virtual

◆ useColoredName()

virtual bool cx::TreeNode::useColoredName ( ) const
pure virtual

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