CustusX  22.04-rc5
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

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

Definition at line 38 of file cxTreeNode.h.

Member Function Documentation

virtual void cx::TreeNode::activate ( )
pure virtual
void cx::TreeNode::changed ( )
signal
virtual boost::shared_ptr<QWidget> cx::TreeNode::createPropertiesWidget ( ) const
pure virtual
virtual std::vector<TreeNodePtr> cx::TreeNode::getChildren ( ) const
pure virtual

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

virtual QVariant cx::TreeNode::getColor ( ) const
pure virtual
virtual QVariant cx::TreeNode::getFont ( ) const
pure virtual
virtual QVariant cx::TreeNode::getViewGroupVisibility ( int  index) const
pure virtual
virtual std::vector<TreeNodePtr> cx::TreeNode::getVisibleChildren ( ) const
pure virtual

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

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

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

virtual bool cx::TreeNode::isDefaultExpanded ( ) const
pure virtual
virtual bool cx::TreeNode::isRemovable ( ) const
pure virtual
virtual bool cx::TreeNode::isVisibleNode ( ) const
pure virtual
void cx::TreeNode::parentChanged ( TreeNodePtr  prev,
TreeNodePtr  next 
)
signal
virtual void cx::TreeNode::remove ( )
pure virtual
virtual void cx::TreeNode::setViewGroupVisibility ( int  index,
bool  value 
)
pure virtual
virtual bool cx::TreeNode::useColoredName ( ) const
pure virtual

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