CustusX  18.04-rc1
An IGT application
cx::CachedTreeNode Class Reference

#include <cxTreeNode.h>

Inheritance diagram for cx::CachedTreeNode:
cx::TreeNode

Public Member Functions

 CachedTreeNode (TreeNodePtr base)
 
virtual ~CachedTreeNode ()
 
virtual std::vector< TreeNodePtrgetChildren () const
 
virtual QString getUid () const
 
virtual QString getName () const
 
virtual QString getType () const
 
virtual TreeNodePtr getParent () const
 
virtual bool isVisibleNode () const
 
virtual void activate ()
 
virtual QIcon getIcon () const
 
virtual QVariant getViewGroupVisibility (int index) const
 
virtual void setViewGroupVisibility (int index, bool value)
 
virtual boost::shared_ptr< QWidget > createPropertiesWidget () const
 
virtual QVariant getColor () const
 
virtual bool useColoredName () const
 
virtual QVariant getFont () const
 
virtual bool isDefaultExpanded () const
 
virtual bool isRemovable () const
 
virtual void remove ()
 
virtual std::vector< TreeNodePtrgetVisibleChildren () const
 
virtual TreeNodePtr getVisibleParent () const
 
- Public Member Functions inherited from cx::TreeNode
virtual ~TreeNode ()
 

Additional Inherited Members

- Signals inherited from cx::TreeNode
void parentChanged (TreeNodePtr prev, TreeNodePtr next)
 
void changed ()
 

Detailed Description

Cache for some often-used parts of TreeNode, that is unchanged between each reset.

Definition at line 70 of file cxTreeNode.h.

Constructor & Destructor Documentation

cx::CachedTreeNode::CachedTreeNode ( TreeNodePtr  base)
explicit

Definition at line 17 of file cxTreeNode.cpp.

virtual cx::CachedTreeNode::~CachedTreeNode ( )
inlinevirtual

Definition at line 75 of file cxTreeNode.h.

Member Function Documentation

virtual void cx::CachedTreeNode::activate ( )
inlinevirtual

Implements cx::TreeNode.

Definition at line 82 of file cxTreeNode.h.

virtual boost::shared_ptr<QWidget> cx::CachedTreeNode::createPropertiesWidget ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 86 of file cxTreeNode.h.

virtual std::vector<TreeNodePtr> cx::CachedTreeNode::getChildren ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 76 of file cxTreeNode.h.

virtual QVariant cx::CachedTreeNode::getColor ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 87 of file cxTreeNode.h.

virtual QVariant cx::CachedTreeNode::getFont ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 89 of file cxTreeNode.h.

virtual QIcon cx::CachedTreeNode::getIcon ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 83 of file cxTreeNode.h.

virtual QString cx::CachedTreeNode::getName ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 78 of file cxTreeNode.h.

virtual TreeNodePtr cx::CachedTreeNode::getParent ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 80 of file cxTreeNode.h.

QString cx::CachedTreeNode::getType ( ) const
virtual

Implements cx::TreeNode.

Definition at line 40 of file cxTreeNode.cpp.

QString cx::CachedTreeNode::getUid ( ) const
virtual

Implements cx::TreeNode.

Definition at line 33 of file cxTreeNode.cpp.

virtual QVariant cx::CachedTreeNode::getViewGroupVisibility ( int  index) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 84 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 47 of file cxTreeNode.cpp.

TreeNodePtr cx::CachedTreeNode::getVisibleParent ( ) const
virtual

Implements cx::TreeNode.

Definition at line 64 of file cxTreeNode.cpp.

virtual bool cx::CachedTreeNode::isDefaultExpanded ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 90 of file cxTreeNode.h.

virtual bool cx::CachedTreeNode::isRemovable ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 92 of file cxTreeNode.h.

virtual bool cx::CachedTreeNode::isVisibleNode ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 81 of file cxTreeNode.h.

virtual void cx::CachedTreeNode::remove ( )
inlinevirtual

Implements cx::TreeNode.

Definition at line 93 of file cxTreeNode.h.

virtual void cx::CachedTreeNode::setViewGroupVisibility ( int  index,
bool  value 
)
inlinevirtual

Implements cx::TreeNode.

Definition at line 85 of file cxTreeNode.h.

virtual bool cx::CachedTreeNode::useColoredName ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 88 of file cxTreeNode.h.


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