NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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 91 of file cxTreeNode.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file cxTreeNode.cpp.

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

Definition at line 96 of file cxTreeNode.h.

Member Function Documentation

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

Implements cx::TreeNode.

Definition at line 103 of file cxTreeNode.h.

virtual QWidget* cx::CachedTreeNode::createPropertiesWidget ( ) const
inlinevirtual

Implements cx::TreeNode.

Definition at line 107 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 97 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 108 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 110 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 104 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 99 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 101 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 58 of file cxTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 51 of file cxTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 105 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 65 of file cxTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 70 of file cxTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 111 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 113 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 102 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 114 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 106 of file cxTreeNode.h.

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

Implements cx::TreeNode.

Definition at line 109 of file cxTreeNode.h.


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